Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Data Entry Screen

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have to write a program for data entry. In the main screen (say screen1),I need to display another screen (say screen2) which should stay on top of the main screen. User shouldn't allow to swich back to main screen until the user closes this screen (Screen2).In the screen2 I have to add JTextFields, JButtons etc.

I need your opinion to develop this application please. I think I can use Jframe for the main screen (Screen1) and JDialog for the Screen2. What is the recommended Layout for the data entry screen which includes number of JButtons (to navigate through ResultSet and Insert,Edit,Delete,Save records). I would appreciate if someone can provide an example data entry screen layout for me.

Thanks.
 
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see you haven't made much progress since your last post on this subject. Perhaps you should take a look at the Swing Tutorial. Once you have an idea as to what layout managers are available and how they work, you should be able to figure out what one (or combination) best fits your requirements. We love to help people along with their problems but since a lot of people come here with school work, we try to avoid giving away code. Try to lay out your GUI and we'll be here to help you if you have any questions.
 
Forget Steve. Look at this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic