GUI Libraries and LeJOS

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, 99jonathan, imaqine

GUI Libraries and LeJOS

Postby MaR1oC » Thu Mar 21, 2013 6:34 pm

Why there is no GUI API included in LeJOS NXJ API releases?

I am asking because I have not found any GUI Libraries and it's really blocking my work and I think I does so to many others.

Friendly :)
Robotic Platforms currently being used:
1. LEGO Mindstorms NXT v.2.0
2. Arduino Uno
Projects currently under development:
http://code.google.com/p/lego-mindstorms-3d-printing-machine/

OS: Linux (Ubuntu, Arch, Sabayon) | IDE: Eclipse (+LeJOS Plug-in)
Java: Amateur User :D :D
User avatar
MaR1oC
New User
 
Posts: 19
Joined: Thu Jul 05, 2012 8:14 am
Location: Athens, Greece

Re: GUI Libraries and LeJOS

Postby skoehler » Thu Mar 21, 2013 6:52 pm

You want to have a GUI on the NXT's screen? What kind of GUI classes are you expecting?
For programs that run on the PC (and communicate with the NXT via USB or bluetooth), you can use Swing GUI components.
skoehler
leJOS Team Member
 
Posts: 1114
Joined: Thu Oct 30, 2008 4:54 pm

Re: GUI Libraries and LeJOS

Postby MaR1oC » Sat Mar 23, 2013 12:34 pm

However, I am not able to distinguish where Swing Libraries are located http://lejos.sourceforge.net/p_technologies/nxt/nxj/api/index.html
Robotic Platforms currently being used:
1. LEGO Mindstorms NXT v.2.0
2. Arduino Uno
Projects currently under development:
http://code.google.com/p/lego-mindstorms-3d-printing-machine/

OS: Linux (Ubuntu, Arch, Sabayon) | IDE: Eclipse (+LeJOS Plug-in)
Java: Amateur User :D :D
User avatar
MaR1oC
New User
 
Posts: 19
Joined: Thu Jul 05, 2012 8:14 am
Location: Athens, Greece

Re: GUI Libraries and LeJOS

Postby skoehler » Sat Mar 23, 2013 3:35 pm

Well, first of all, your link points to the documentation of the classes on the NXT. Also note, that the link is outdated. The proper link would be:
http://lejos.sourceforge.net/nxt/nxj/api/index.html

If you want to learn about the classes available in the leJOS libraries for the PC, then you should take a look at
http://lejos.sourceforge.net/nxt/pc/api/index.html

But note, that this link only covers the documentation of the classes provided by leJOS. The JDK comes with many more, including Swing, and the documentation can be found here:
http://docs.oracle.com/javase/7/docs/api/
skoehler
leJOS Team Member
 
Posts: 1114
Joined: Thu Oct 30, 2008 4:54 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 3 guests

more stuff