Solved

GUIs???

Posted on 2003-11-19
8
313 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
egit plugin on eclipse 8 95
spring jars download 1 52
ejb entity bean example 2 31
Java array 10 54
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

680 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