Article View: borland.public.jbuilder.java.swing
Article #9937JTextArea 'vanishes' in JScrollPane
From: Jorg Janke
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
10 lines
891 bytes
891 bytes
I wrapped a JTextArea in an JScrollPane - in a GridBagLayout. pane.add(new JScrollPane(myTextArea), myGridBagControl); The result looks OK, but if the Text Area fills up and is supposed to start scrolling, a gray bar comes up from below closing the Textfield, so that is all gray. If you delete text, everything is fine, if it fits in without scrolling. > What am I missing?
Technical Details
Message-ID:
<835siu$r7v5@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,87d7d563e1526098,start X-Google-Attributes: gid111d45,public From: "Jorg Janke" <jjanke@accorto.com> Subject: JTextArea 'vanishes' in JScrollPane Date: 1999/12/14 Message-ID: <835siu$r7v5@forums.borland.com> X-Deja-AN: 560593848 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing