Article View: borland.public.jbuilder.java.swing
Article #8479Problem with JLayeredPane and JScrollPane
From: Francis Cote
Date: Mon, 28 Aug 2000 00:00
Date: Mon, 28 Aug 2000 00:00
10 lines
1000 bytes
1000 bytes
I add a JScrollPane to a JLayeredPane. The ScrollPane contains a JTextPane. The problem is that there is no scroll... the textpane instead of "activating" the scrollbar when i type text larger than the size of the textpane just wrapps the line. That doesn't happen when the ScrollPane is in the contentpane... just in the layeredpane. Any ideas?
Technical Details
Message-ID:
<39AA8BEC.1A491F04@crim.ca>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,d78e3b5ca35c4bfd,start X-Google-Attributes: gid111d45,public From: Francis Cote <fcote@crim.ca> Subject: Problem with JLayeredPane and JScrollPane Date: 2000/08/28 Message-ID: <39AA8BEC.1A491F04@crim.ca> X-Deja-AN: 663517933 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: carnaval.risq.qc.ca 967478129 132.218.30.154 (Mon, 28 Aug 2000 11:55:29 EDT) Organization: CRIM http://www.crim.ca/ MIME-Version: 1.0 NNTP-Posting-Date: Mon, 28 Aug 2000 11:55:29 EDT Newsgroups: borland.public.jbuilder.java.swing