Revision: 1323
Author: mathiasbr
Date: 2006-08-20 15:15:47 -0700 (Sun, 20 Aug 2006)
ViewCVS: http://svn.sourceforge.net/spring-rich-c/?rev=1323&view=rev
Log Message:
-----------
error feedback through L&F
Modified Paths:
--------------
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/list/ComboBoxAutoCompletion.java
Modified:
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/list/ComboBoxAutoCompletion.java
===================================================================
---
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/list/ComboBoxAutoCompletion.java
2006-08-20 21:25:51 UTC (rev 1322)
+++
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/list/ComboBoxAutoCompletion.java
2006-08-20 22:15:47 UTC (rev 1323)
@@ -24,6 +24,7 @@
import javax.swing.ComboBoxModel;
import javax.swing.JComboBox;
+import javax.swing.UIManager;
import javax.swing.event.ListDataEvent;
import javax.swing.event.ListDataListener;
import javax.swing.text.AttributeSet;
@@ -158,9 +159,9 @@
offs = offs - str.length();
// provide feedback to the user that his input has been received
but
// can not be accepted
- comboBox.getToolkit().beep();
+ // comboBox.getToolkit().beep();
// when available use:
- // UIManager.getLookAndFeel().provideErrorFeedback(comboBox);
+ UIManager.getLookAndFeel().provideErrorFeedback(comboBox);
}
// display the completed string
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs