wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Is there automatic way to determine if there is unsaved data on form? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Is there automatic way to determine if there is unsaved data on form?" Watch "Is there automatic way to determine if there is unsaved data on form?" New topic
Author

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

Anton Kuzmin
Greenhorn

Joined: Feb 22, 2012
Posts: 19

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
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

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.
 
GeeCON Prague 2014
 
subject: Is there automatic way to determine if there is unsaved data on form?