• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

jframe form issue

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I display forms by the navigation tree. In the 1 form I save an indicator to db. And when I move to second form, the form will read the indicator from db and disable and enable the appropriate components.
Now the problem if the flow, I save an indicator at first form and go to next form, the 2 st form do what it expected. But, if go back and chance the fist form's indicator some other value, and go to page 2 again, the form remain as at the earlier stage and it not hide/show component as the new indicator value.


If I close the program and start again then it show the right components visible.

Please sugguest how can I overcome this issue.
 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post your SSCCE that demonstrates the problem.
 
Sheriff
Posts: 21760
102
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which means you will need to provide hard coded values, because none of us have your database
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!