[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 319
  • Last Modified:

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
0
boffer
Asked:
boffer
1 Solution
 
CEHJCommented:
0
 
TimYatesCommented:

Basic java tutorial (compiling, etc)

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


Swing tutorial (for GUIs)

http://java.sun.com/docs/books/tutorial/uiswing/
0
 
B000GTCommented:
even before that i would recommend learning Java...
check out java books from bookpool.com

hope it helps

- nc
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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

0
 
B000GTCommented:
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
0
 
JavatmCommented:
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
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now