File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Gui Implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Gui Implementation" Watch "Gui Implementation" New topic
Author

Gui Implementation

Tahir Abbas
Ranch Hand

Joined: May 05, 2007
Posts: 45
Hi to everyone,

I need your opinion to know whats the suitable approach to implement gui. How should we make graphics components so that their size dont effect with the change of resolution or monitor of different size.

i am thinking to get screen size then place the components with the help of setbounds method.

Best Regards
Gert-Jan den Besten
Ranch Hand

Joined: May 02, 2008
Posts: 56

Your best bet is to utilize the Swing LayoutManagers. It takes some getting used to, but once you get the hang of it, you'll end up with a nice cross-platform GUI. However I did set a preferred and a minimum size of my GUI.

The GUI chapter of Andrew's book was of great help to me.


SCJP 5; SCJD; SCWCD 5.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Gui Implementation