• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there automatic way to determine if there is unsaved data on form?  RSS feed

 
Anton Kuzmin
Greenhorn
Posts: 19
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "form" contains different types of JComponent-s that respond to different user events. I started writing my own custom code but was wondering if there is automatic way to determine if there is unsaved data on form? For starters, attached DocumentListener to support JTextField-s.
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anton Kuzmin wrote:I started writing my own custom code but was wondering if there is automatic way to determine if there is unsaved data on form?


No, there isn't.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!