?
Solved

GUIs???

Posted on 2003-11-19
8
Medium Priority
?
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 200 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

800 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