Update « Text Input « Java Swing Q&A





1. Workaround for JFormattedTextField delete bug in Java for Mac OS X 10.6 Update 2 (1.6.0_20)    stackoverflow.com

There is apparently a bug introduced in the latest Java update for Mac OS X, which causes deletes in JFormattedTextFields to be performed twice. See http://lists.apple.com/archives/java-dev/2010/May/msg00092.html The DefaultEditorKit.deletePrevCharAction is invoked twice ...

2. JLabel won't change after setText in Java    stackoverflow.com

I got a JLabel Scoresp1 which I want to change using Scoresp1.setText(mijnScore + "");. But the text on the JLabel stays the same. I got a class Dobbelsteen which looks like ...

3. auto-update of editor pane ...    coderanch.com

hi, I would like to develope something like the "tail -f" command on UNIX (which shows the lines of a file and if the file is changed, automatically picks up the new lines and display them) ina swing application with possibility to highlight the text on certain keywords. Has someone done something like this ? I started doing things like reading ...

5. setText not updating promptly    coderanch.com

Hi all thank you for your help I really appreciate it however from the reading of swing worker it seems it is for jre 1.6 is there a way I can get it to work with1.4? There is no flush or a method I can call that repaint the whole thing thank you again. And good idea to update the FAQ ...