Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

GUI Program

Thread view: 
Amdawi - 02 Feb 2006 05:59 GMT
Hello,
 I want to create a GUI Programs , What I need ? (Tools)
 Please any tutorial...

Thansk,
Dennis - 02 Feb 2006 06:19 GMT
Not really a tutorial, but basically you want to check out the
javax.swing package.

To get you started though, using that package, every GUI starts with
the JFrame container. Most likely, you'll want to create a subclass of
it for your own purpose.

For example:

public class MainWindow extends JFrame {

 public MainWindow() {
   super();
   ...
 }
}

That just instantiates the window. The actually get stuff in the
window, you need JPanels. They'll probably be private variables that
are part of MainWindow. You can have any number of them.

public class MainWindow extends JFrame {

 private JPanel somePanel;
 private JPanel someOtherPanel;

 public MainWindow() {
   super();
   somePanel = new JPanel();
   ...
   ... etc.
 }
}

It's probably a good idea to create you own subclasses of JPanel, just
like you would do with the JFrame.

There are many ways to position the JPanels, but there are too many to
explain here. Oh, you can put other JPanels in other JPanels so they
can be stacked on top of one another. That should be enough to get you
oriented. The Sun Java site has examples to help with more specific
stuff. Happy learning ;)

Dennis
Roedy Green - 02 Feb 2006 07:01 GMT
>  I want to create a GUI Programs , What I need ? (Tools)
>  Please any tutorial...
see http://mindprod.com/jgloss/gettingstarted.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Paulus de Boska - 02 Feb 2006 08:07 GMT
Assuming you have the required basic knowledge, you can lookup GUI
/Swing (if you want to create standalone programs or applets) from the
index you'll find here :
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?ses=ao789
If you want to create web applications, lookup Servlets/JSP.
---
Paul Hamaker, SEMM
http://javalessons.com
Thomas Weidenfeller - 02 Feb 2006 08:21 GMT
> Hello,
>   I want to create a GUI Programs , What I need ? (Tools)
>   Please any tutorial...

http://java.sun.com/docs/books/tutorial/uiswing/index.html

And maybe also this group's FAQ.

/Thomas

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

Thomas Weidenfeller - 02 Feb 2006 09:23 GMT
Ups,

> And maybe also this group's FAQ.

Not this, that group's FAQ -> comp.lang.java.gui

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

David Segall - 02 Feb 2006 16:18 GMT
>Hello,
>  I want to create a GUI Programs , What I need ? (Tools)
Download this
<http://www.netbeans.info/downloads/download.php?type=5.0>
>  Please any tutorial...
Watch this
<http://www.netbeans.org/files/documents/4/475/matisse.html>

You will be able to create a GUI program in a couple of hours.

It would be misleading if I did not tell you that to create the GUI
program that does exactly what you want you will have to absorb the
tutorials that others have posted and much more.
Amdawi - 03 Feb 2006 07:11 GMT
Thanks all :) ..


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.