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 Swing Application help 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 Application help" Watch "Swing Application help" New topic
Author

Swing Application help

Pranit Sonawane
Ranch Hand

Joined: Jul 29, 2011
Posts: 165

Hi am developing an application. I have set up an ADD button, which if clicked should open the add information form in the same window. I mean should not close and open another window. also after the last text box should show the save button to save the records in database. I need the code snippet only. Any can help?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4664
    
    5

Pranit Sonawane wrote:I need the code snippet only.


Sorry, we are NotACodeMill.

... open the add information form in the same window. I mean should not close and open another window.

Take a look at CardLayout.


luck, db
There are no new questions, but there may be new answers.
Stanley Mungai
Ranch Hand

Joined: Dec 09, 2011
Posts: 155

I think You would have Gotten help ages ago if we only knew where your code did not work. Wh ich Code are you using(if you got any that is)


Give a beggar a fish; feed him for a day. Teach him how to fish; Feed him for a lifetime.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Nimit Mohan,
Your post was moved to a new topic.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Swing Application help