This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes swing doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing doubt" Watch "swing doubt" New topic

swing doubt

Rahul Bharadwaj

Joined: Jun 07, 2006
Posts: 3
I have created a GUI for a tax invoice system in swing...the requirement states that this is not to be allowed to be resizeable. My problem is that when the GUI comes up i see a blank window, and only when i change the window size (by ignoring the requirement ) all the components show up.I call the repaint() method also...still doesn't work. Am i missing something??
Mathias Nilsson
Ranch Hand

Joined: Aug 21, 2004
Posts: 367
Have you tried


memati bas
Ranch Hand

Joined: Jan 29, 2006
Posts: 85
Write setVisible(true) after adding all the components(or containers) into your Top Level Container(JFrame).

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: swing doubt
It's not a secret anymore!