• 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

Can not save state of static JElements (Checkbox and RadioButton)

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

I have created a small menu with a save and cancel button. The save button saves the state of the checkbox. But when I add static to the JElements, the save function won't work correctly. Why is this so?...
Thank you in advance ;-)



Unbenannt.PNG
[Thumbnail for Unbenannt.PNG]
 
Sheriff
Posts: 7108
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please TellTheDetails because ItDoesntWorkIsUseless. What should happen? What doesn't happen?
 
Marshal
Posts: 70233
282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are your fields static?
 
Tom Hat
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,

I have solved the problem by myself. Could you please delete this thread/post?

Nayway thank you for your help!
 
Campbell Ritchie
Marshal
Posts: 70233
282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And what was the solution? That would be useful if somebody else has the same problem next year.
 
Talk sense to a fool and he calls you foolish. -Euripides A foolish 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