-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.0
-
sparc
-
solaris_2.5
>From: Garth Allen Dickie <###@###.###>
This does not look like form output to me.
Hi, I am using the JDK beta 2 for Solaris 2.4. When I
construct a TextArea component with rows=n, only n-1 rows
of text are visible. If I create TextArea component with
rows=1, then only part of the row is visible.
Regards,
Garth A. Dickie
_________
<Jim Hagen> I've constructed the example below to demostrate this.
mport java.awt.*;
public class T3169 extends Frame
{
Panel panel;
TextArea t;
int windowWidth = 200;
int windowHeight = 150;
public T3169(String args[])
{
super("Bug Report 3169");
panel = new Panel();
t = new TextArea("This Text is not fully displayed", 1,15);
panel.add(t);
add("South", panel);
resize(windowWidth, windowHeight);
pack();
show();
}
public static void main(String args[])
{
new T3169(args);
}
}
This does not look like form output to me.
Hi, I am using the JDK beta 2 for Solaris 2.4. When I
construct a TextArea component with rows=n, only n-1 rows
of text are visible. If I create TextArea component with
rows=1, then only part of the row is visible.
Regards,
Garth A. Dickie
_________
<Jim Hagen> I've constructed the example below to demostrate this.
mport java.awt.*;
public class T3169 extends Frame
{
Panel panel;
TextArea t;
int windowWidth = 200;
int windowHeight = 150;
public T3169(String args[])
{
super("Bug Report 3169");
panel = new Panel();
t = new TextArea("This Text is not fully displayed", 1,15);
panel.add(t);
add("South", panel);
resize(windowWidth, windowHeight);
pack();
show();
}
public static void main(String args[])
{
new T3169(args);
}
}
- duplicates
-
JDK-1244076 TextArea.preferredSize(rows, cols) doesn't allocate extra room for scrollbars
-
- Closed
-