my dog learned polymorphism
The moose likes Swing / AWT / SWT and the fly likes Why no any plotting? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Why no any plotting?" Watch "Why no any plotting?" New topic
Author

Why no any plotting?

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
Hi,

I am using a frame and database to create an interface.
My question is why no any frame display.
Thanks for your help.
Brian Cole
Author
Ranch Hand

Joined: Sep 20, 2005
Posts: 852
Originally posted by Hui Zhao:

My question is why no any frame display.


Perhaps add login.setVisible(true) ?
[ February 15, 2008: Message edited by: Brian Cole ]

bitguru blog
Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
I added it. The frame displays but no any panels.
why?

Thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32688
    
    4
Where is your constructor? You have a method. . . but no obvious constructor. Try removing the return type from that method and it will probably turn into a constructor. That might sort out your problem.

CR
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Why no any plotting?
 
Similar Threads
Implementing scanner into a simple login page
Problem with comparing results in jdbc?
button colors, etc.
This method must return a result of type int, at the first class
Problem with FOR loop..Need Help ASAP...