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 Form calliing other form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Form calliing other form" Watch "Form calliing other form" New topic
Author

Form calliing other form

paulo cs
Ranch Hand

Joined: Dec 30, 2008
Posts: 34
I have this:


I need to put other event to call a form into my main form. How can I do? Is it necessary to make other class ButtonHandler or is possible to call into the same class?


Paulo Correa, Desenvolvimento de Software, (55 19)8126-8418
paulo cs
Ranch Hand

Joined: Dec 30, 2008
Posts: 34
I obtained to make. I did not only obtain to show. It shows but minimized. If I maxmize it, then buttons inside of it do not appear. I need heigth and width and I do not obtain to make. My full code is below and my variable call the form is clente_tela.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10382
    
    8

Just move these lines to your constructor and you will be fine.


Moving to more appropriate forum


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
paulo cs
Ranch Hand

Joined: Dec 30, 2008
Posts: 34
Mannesh, I made this way:

But the button inside of CadCli are not created or they not appear. Why?
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Paulo Correa Silva wrote:But the button inside of CadCli are not created or they not appear. Why?

I may have misread something, but have you posted the code for the CadCli class? If not, then most of us won't know why it doesn't display properly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Form calliing other form