thejwal pavithran wrote:now what i want is a simple tutorial that teaches me how to retrieve information form a back end database using the values input by the user into the interface. any suggestions?
Bringing the
thread back on topic... what you would use for retrieving information from a database is
JDBC. Here's a link to Oracle's JDBC tutorial:
Lesson: JDBC Basics.
and i was also wondering where i can learn how to display a new window on clicking a button and also how to display new contents in an already visible window i.e wiping off entire components being displayed on a window and replacing them with new components.
Usually you wouldn't do that. It's best to think of a GUI panel as something whose contents are fixed, more or less. So if you want to show a panel with completely different information,
you should create a new panel which contains that different information and display that panel instead of the old panel. There are several different ways of doing that and I don't want to recommend a particular one. At any rate you probably don't know enough about Swing to understand the pros and cons of those different ways anyway, so at this point you should really just start experimenting with Swing. Go through Oracle's Swing tutorial:
Trail: Creating a GUI With JFC/Swing for a start and work with the examples you'll find there.