File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Components aren't seen in Frame/JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Components aren Watch "Components aren New topic
Author

Components aren't seen in Frame/JFrame

vijay gangoni
Greenhorn

Joined: Feb 16, 2004
Posts: 1
I am working on Frame/JFrame. I am facing a problem that the components (Buttons,JButton,Lable,JTextField...etc.,) which I add to the Frame/JFrame are not getting displayed, when I run the Application, utill I do the following:
- resize the frame.
- minimize or maximize the frame.
- or click on the title bar of the frame...
I am confused.. can any one help me out...plz


vijay G
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

I deleted your duplicate post.
It's probably because you are displaying the frame (setVisible(true)/show()) before are you adding components. But without seeing your code, it's hard to say.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Components aren't seen in Frame/JFrame