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 / January 2005

Tip: Looking for answers? Try searching our database.

Difficulty with swings

Thread view: 
sarita r - 25 Jan 2005 07:22 GMT
we r beginners in java, creating an application similar to paintbrush.
(still working on the frontend)what r the different packages and classes that we could use to create a new window by selecting the "New" option from the MenuBar.What other sites could we visit for help?what r the recommended books that we could refer to ?
Thank you in advance.
Wiseguy - 27 Jan 2005 00:45 GMT
> we r beginners in java, creating an application similar to paintbrush.
> (still working on the frontend)what r the different packages and
> classes that we could use to create a new window by selecting the
> "New" option from the MenuBar.What other sites could we visit for
> help?what r the recommended books that we could refer to ? Thank you
> in advance.

JFrame and JPanel...
Aki \ - 27 Jan 2005 08:05 GMT
>>we r beginners in java, creating an application similar to paintbrush.
>>(still working on the frontend)what r the different packages and
[quoted text clipped - 4 lines]
>>
> JFrame and JPanel...

I'd suggest you take a look at the Sun site:

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

which explains at least the basics of Java's visual components.

Signature

-Aki "Sus" Laukkanen

Andrew Thompson - 29 Jan 2005 13:34 GMT
On Thu, 27 Jan 2005 10:05:35 +0200, Aki "Sus" Laukkanen wrote:

>>>we r beginners in java, creating an application similar to paintbrush.
>>>(still working on the frontend)what r the different packages and
>>>classes that we could use to create a new window by selecting the
>>>"New" option from the MenuBar.
..
>> JFrame and JPanel...

*
..
> http://java.sun.com/docs/books/tutorial/uiswing/components/components.html
..

Why you are both so quick to rush in with Swing based suggestions
when the only class the OP mentioned by name is AWT?

* In any case a JPanel is more than you need for a rendering surface..
<http://www.physci.org/guifaq.jsp#4.1>

I suspect the OP would be better served by reading the Graphics tutorials,
rather than Swing tutorials, since it seems graphics/painting is the crux
of the question.  

So, suggestions for further reading are..
<http://java.sun.com/docs/books/tutorial/2d/display/>
<http://java.sun.com/docs/books/tutorial/2d/overview/rendering.html>

[ But I might have completely misread the OP's question myself,
since it is not entirely clear what it means. ]

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane



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.