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