aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 18124
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there automatic way to determine if there is unsaved data on form?
 
Similar Threads
javascript
Warn user when have unsaved data
Hibernate Result Set Different then SQL Result Set
Simple Struts Question
The different between int and final int