| Thread | Last Post | Replies |
|
| How to display text messages in a scrolling text area? | 16 May 2008 16:45 GMT | 4 |
To display text messages (as - for example - in a window with log messages) in a scrolling text area, there are several Swing components I am aware of: http://download.java.net/jdk7/docs/api/javax/swing/JTextArea.html
|
| Dynamic classpath | 16 May 2008 01:01 GMT | 9 |
I have a need to have a classpath that is determined by the set of jars a user places into a directory. By way of example, placing jar's into certain directories in a tomcat web server will cause tomcat to include them into the web applications class
|
| Can't display UTF-8 encoded text in a JLabel | 15 May 2008 19:54 GMT | 7 |
I am trying to display unicode text in a JLabel, unfortunately the snippet code right below will fail ... (the JLabel displays it as ISO-8859-1). new JLabel(new String("ééééé".getBytes("UTF-8")))
|
| why doesn't the ImageIcon appear in the JscrollPanel? | 15 May 2008 13:42 GMT | 4 |
I wrote a simple Swing program. When the click a button and select a jpg file, I want to show this picture in the JScollPanel, but it doesn't appear. The source is here: private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) { ...
|