Link to home
Start Free TrialLog in
Avatar of boffer
boffer

asked on

GUIs???

Can someone please say how I compile and run java code which is of a GUI. Is it something to do with the MVC if so where is it and how do I use it? Because I havent a clue
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

Basic java tutorial (compiling, etc)

http://java.sun.com/docs/books/tutorial/


Swing tutorial (for GUIs)

http://java.sun.com/docs/books/tutorial/uiswing/
Avatar of B000GT
B000GT

even before that i would recommend learning Java...
check out java books from bookpool.com

hope it helps

- nc
while everybody's throwing out swing links, i'll include my favorite:
O'Reilly, Java Swing, 2nd Edition:
http://examples.oreilly.com/jswing2/code/

You may want to check out a book about JFC (Java Foundation Classes) to get a handle on how Swing works, not just how to use it
Just a reference guide to it because getting a book that teaches you about java should lead you to your understanding of the JFC of Swing...
intro to java:
http://www.bookpool.com/.x/pacnhph48n/ss/1?qs=beginning+java&Go.x=0&Go.y=0&Go=Go
http://www.bookpool.com/.x/pacnhph48n/ss/1?qs=learning+java&Go.x=0&Go.y=0&Go=Go
jfc swing:
http://www.bookpool.com/.x/pacnhprh6m/sm/1565924886
http://www.bookpool.com/.x/pacnhprh6m/sm/013090581X

the O'Reilly books that have ...in a nutshell usually mean, learn the thing first and then come here for a reference
the jfc
the second book is slightly outdated, covers J2SE 1.3 but the classes don't change much and if you have a discrepency you can check the API's on the java.sun.com site for reference help.

The basic thing is getting the reference and understanding how it works with respect to how YOU want it to work, then you can take that and put it into your program however you would like...with some manipulation...:)

hope it helps

- nc
Hello Friend;

>> please say how I compile and run java code

     In a command promt of dos promt you can type something like this :

    // for compiling
    c:\javac\bin\javac Your.java

   // for running
   c:\javac\bin\java Your

   Where " c:javac" is the jdk version.  If you plan to use an IDE you just need
   to invoke where is jdk located, some IDE's are auto detect.

   before you can compile or run a java file or before you can use a IDE
   you need 1st to install a jdk which you can find at :
   http://java.sun.com/j2se/1.4.2/download.html

   If your new to Java here is where you should start :
   http://developer.java.sun.com/developer/onlineTraining/new2java/

Hope it helps . . .
JAVATM