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 / GUI / March 2008

Tip: Looking for answers? Try searching our database.

how to make GUI in java

Thread view: 
rajeshkankran@gmail.com - 11 Mar 2008 04:59 GMT
hi all

I m new to java swings.
i know about swings little....but want to know how to build gui in
java

Thanks
Andrew Thompson - 11 Mar 2008 05:21 GMT
On Mar 11, 2:59 pm, "rajeshkank...@gmail.com"
<rajeshkank...@gmail.com> wrote:
...
> I m new to java swings.

That is 'Java swing'.

> i know about swings little....but want to know how to build gui in
> java

By coding it.  What do you expect people to say?

The Swing trail of the Java Tutorial should
give you plenty to work with, though if you
get stuck, I suggest coming back with a more
specific question.

--
Andrew T.
PhySci.org
RedGrittyBrick - 11 Mar 2008 10:44 GMT
> hi all
>
[quoted text clipped - 3 lines]
>
> Thanks

By typing your phrase into a search-engine:
http://www.google.com/search?q=how+to+build+gui+in+java

you would have quickly found this
http://java.sun.com/docs/books/tutorial/uiswing/TOC.html
Thomas Kellerer - 11 Mar 2008 11:00 GMT
rajeshkankran@gmail.com, 11.03.2008 04:59:
> hi all
>
[quoted text clipped - 3 lines]
>
> Thanks

It's called Swing not swings (no s at the end!)

If you use the proper name, you should find the tutorials quite easily (as others have shown)

Thomas
David Segall - 11 Mar 2008 15:09 GMT
>hi all
>
>I m new to java swings.
>i know about swings little....but want to know how to build gui in
>java
1. Download NetBeans. Choose the Java SE download at
<http://download.netbeans.org/netbeans/6.0/final/>. If you don't have
a broadband Internet connection get the free DVD instead
<http://www.netbeans.org/about/media.html>.

2. Choose File->New Project from the menu then choose Java and Java
Desktop Application from the Choose Project screen of the wizard.
Leave the defaults in the New Desktop Application screen and select
Basic Application before you click Finish.

3 Choose Run->Run Main Project from the menu. Note that you have just
achieved your goal of a working GUI in Java and it took about ten
minutes. Try you program's Help->About menu. It works! The only other
thing your program will do is stop when you choose File->Exit.

I assume you really want your program to do something more and you
will need to drag and drop Swing components from the NetBeans palette
to your form and add Java code to instruct your program what to do.
Try it, a small step at a time. NetBeans is always available as a
tutor and can advise you about the errors in your program, the code
that might come next or the libraries you need and their
documentation.

You will end up reading a high proportion of the tutorials that other
posters have recommended but I find the "top down" approach is more
rewarding.
Roedy Green - 12 Mar 2008 02:13 GMT
On Mon, 10 Mar 2008 20:59:48 -0700 (PDT), "rajeshkankran@gmail.com"
<rajeshkankran@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>I m new to java swings.
>i know about swings little....but want to know how to build gui in
>java

I have written all kinds of them with free source you can look at.
Pick one that interests you from
http://mindprod.com/applet/applets.html

download the source, study it, then start playing with it, making
simple modifications, e.g. changing colours and fonts, text labels.
Then work up to more major changes, adding buttons, changing the
layout...
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


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



©2008 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.