• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

After selecting a Record

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After the user selects a record displayed using a JTable,
I would like to know what the next screen would be.
Do I display the selected record selected & also ask the user the number of seats to book ?
I am done till the JTable display & confused how do go about it next.
Please reply.
poornima.
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My panel with the JTable also has a listbox where the user can select the number of seats for the flight selected.
 
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is wat I did
I display a new dialog box that displayed all the information about the select record, in this dialog that user has a choice to enter the number of seats that he has to book. After here enters the number of seats that he has to book, he cicks on 'Ok'.

Vivek Viswanathan
SCJP, SCJD, SCEA Part I
 
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.
ScroogeXHTML 9.0 - RTF to HTML5 and XHTML converter
https://coderanch.com/t/731949/ScroogeXHTML-RTF-HTML-XHTML-converter
    Bookmark Topic Watch Topic
  • New Topic