[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-classpath] [bug #13471] swing: Label.setText() does not seem to aff
From: |
Timo Lindfors |
Subject: |
[bug-classpath] [bug #13471] swing: Label.setText() does not seem to affect SpringLayout |
Date: |
Sun, 19 Jun 2005 17:54:12 +0000 |
User-agent: |
Elinks |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13471>
Summary: swing: Label.setText() does not seem to affect
SpringLayout
Project: classpath
Submitted by: lindi
Submitted on: Sun 06/19/05 at 17:54
Category: classpath
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Platform Version: None
_______________________________________________________
Details:
Steps to reproduce:
1. Compile and run the attached testcase
Expected results:
1. A window with "ABCDEFGHIJKLMN" shows up.
Actual results:
1. A window shows up but it has only "AB" and a partial "C".
Testcase:
import javax.swing.*;
import java.awt.*;
public class testcase extends JFrame {
public static void main(String[] args) {
(new testcase()).show(true);
}
public testcase() {
SpringLayout layout = new SpringLayout();
this.setLayout(layout);
this.setSize(800, 600);
JLabel label = new JLabel("123");
this.add(label);
layout.putConstraint(SpringLayout.WEST, label, 200,
SpringLayout.WEST, this);
label.setText("ABCDEFGHIJKLMN");
}
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13471>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-classpath] [bug #13471] swing: Label.setText() does not seem to affect SpringLayout,
Timo Lindfors <=