Garbage instead of Japanese characters

2001-11-19 Thread Panyam Krishna Murthy
I am localizing a Java application for Japanese NT, and I have some problems. The font is not mapped to any existing Japanese fonts. So I see garbage (boxes) instead of Japanese characterswhere I am setting the labe font as LabelObject.setFont(new Font("MS Sans Serif", Font.BOLD, 19)); I

Re: setting the position in JScrollPane

2001-11-19 Thread Evan McLain
I ran into that problem, and the following seems to work: Point viewPos = scrollPane.getViewport().getViewPosition(); scrollPane.remove(myBox); // update myBox scrollPane.getViewport().setView(myBox); scrollPane.getViewport().setViewPosition(viewPos); myBox.revalidate(); Evan James Brundege