Solved

GUIs???

Posted on 2003-11-19
8
310 Views
Last Modified: 2010-03-31
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
Comment
Question by:boffer
8 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 50 total points
ID: 9777820
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9777833

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
 
LVL 1

Expert Comment

by:B000GT
ID: 9779397
even before that i would recommend learning Java...
check out java books from bookpool.com

hope it helps

- nc
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Expert Comment

by:allelopath
ID: 9779873
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
 
LVL 1

Expert Comment

by:B000GT
ID: 9780113
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
 
LVL 15

Expert Comment

by:Javatm
ID: 9782795
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to implement Singleton Design Pattern in Java.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now