This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 18541
    
    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
Warn user when have unsaved data
Hibernate Result Set Different then SQL Result Set
Simple Struts Question
javascript
The different between int and final int