Re: JTextField update ?

2001-11-19 Thread Christian Pesch
[EMAIL PROTECTED] schrieb: While debugging the application with JBuilder the invokeLater block is only called once out of the main loop reporting the final totals. Then a) you only call it once b) another Thread blocks the AWT-Eventqueue Short descriptrion of the JPanel Runnable

Help me in JOptionPane

2001-11-19 Thread amin rashid
Hi. i Know how to call setMnemonic(char) for JButton Example If I Have a JButton Say JButton test = new JButton(Test); test.setMnemonic('t');//in order to add hot keys to JButton But if I Am using JOptionPane.showConfirmDialog(null,Confirm exit,exit,JOptionPane.YES_NO_CANCEL_OPTION) How i

Re: JTextField update ?

2001-11-19 Thread wdw
I tried your solution for my problem but no success. While debugging the application with JBuilder the invokeLater block is only called once out of the main loop reporting the final totals. Short descriptrion of the JPanel Runnable application: - contructor add's a number of JTextField to the

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