Posts

Showing posts from June, 2008

TN5250J KeyMap Macintosh OS X 10.5

If you are having performance issues with TN5250J and OS X 10.2, upgrade to OS X 10.4 or OS X 10.5. This will allow a new version of Java, Java 5.0 (1.5) to be available, and fixed performance issues while fullscreening. Run tn5250j If it won't launch, its because a "^M" error occurs on Macintosh OS X 10.5 when running the tn5250j script. Open a terminal type: " vi /Applications/tn5250j/bin/tn5250j " (enter) type: " :set ff=unix " (enter) Notice the "colon" type: " :wq " (enter) Exit the terminal Fix "Enter" on keyboard: Open a terminal type: " vi ~/.tn5250j/keymap " (enter) find: " [enter]=17,false,true,false,false,1 " change to:" [enter]=10,false,false,false,false,1 " (using "i" to insert) Exit insert mode: (esc) type: " :wq " (enter) Exit the terminal There are many more keybindings you'll have to configure to suit your needs. Perhaps people will add them here as t

Java 5.0 + OSX 10.5 + Netbeans 6.1

It seems OSX 10.5 has issues with JTextBox's created with NetBeans. And probably others. In short, I just bundled my application with " Quaqua " Look & Feel, and it fixed the NullPointerException's. See Quaqua's page for how to do this (there's some really easy to follow instructions on there). I'd like to rant that I've found multiple people complaining about the OSX implementation of swing causing NullPointerException's in the EVT (Event Dispatch Thread) of their applications, but mostly with Java 1.3 or Java 1.4, and commonly with the "Save As" dialog. Its a bit embarrassing that Macintosh's Look & Feel is buggier than the Open-Source community supported one, but this isn't the only case where the open-source alternative is much better in the Java world. ( http://jtds.sourceforge.net/benchTest.html ) Here's some similar posts: http://lists.apple.com/archives/java-dev/2003/Apr/msg00858.html http://bugs.sun.com/