public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug AWT/19860] New: Swing JOptionPane and multiline texts @ 2005-02-09 17:44 hendrich at informatik dot uni-hamburg dot de 2005-02-12 22:36 ` [Bug SWING/19860] " pinskia at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: hendrich at informatik dot uni-hamburg dot de @ 2005-02-09 17:44 UTC (permalink / raw) To: java-prs JOptionPane fails to render multiline text in the 'standard' dialogs. Testcase attached; tested with gcc-4.0-20050130 snapshot and current gui-branch-20040128 cvs. (the location of the JButtons is sub-optimal, too.) /* MultilineJOptionPane.java * * demonstrates GCJ doesn't display multiple lines of text in a JOptionPane * * (C) 2005 FNH */ import java.awt.*; import javax.swing.*; public class MultilineJOptionPane { public static void main( String args[] ) { JFrame frame = new JFrame( "just a frame" ); frame.setSize(50,50); frame.show(); String s = "The first line of text, five to follow...\n" + "A second line of text,\n" + "and the third,\n" + "fourth,\n" + "and fifth line of text. Click ok to exit.\n" ; JOptionPane.showMessageDialog( frame, s ); System.exit( 0 ); } } -- Summary: Swing JOptionPane and multiline texts Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: AWT AssignedTo: fitzsim at redhat dot com ReportedBy: hendrich at informatik dot uni-hamburg dot de CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19860 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug SWING/19860] Swing JOptionPane and multiline texts 2005-02-09 17:44 [Bug AWT/19860] New: Swing JOptionPane and multiline texts hendrich at informatik dot uni-hamburg dot de @ 2005-02-12 22:36 ` pinskia at gcc dot gnu dot org 2005-06-03 14:50 ` roman at kennke dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-02-12 22:36 UTC (permalink / raw) To: java-prs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-12 22:35 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|AWT |SWING Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-02-12 22:35:22 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19860 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug SWING/19860] Swing JOptionPane and multiline texts 2005-02-09 17:44 [Bug AWT/19860] New: Swing JOptionPane and multiline texts hendrich at informatik dot uni-hamburg dot de 2005-02-12 22:36 ` [Bug SWING/19860] " pinskia at gcc dot gnu dot org @ 2005-06-03 14:50 ` roman at kennke dot org 2005-06-03 15:13 ` fitzsim at redhat dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: roman at kennke dot org @ 2005-06-03 14:50 UTC (permalink / raw) To: java-prs ------- Additional Comments From roman at kennke dot org 2005-06-03 14:50 ------- Should work, at least in GNU Classpath it does. I have fixed the JTextComponent stuff so far that it can be used (e.g. in JOptionPanes). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19860 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug SWING/19860] Swing JOptionPane and multiline texts 2005-02-09 17:44 [Bug AWT/19860] New: Swing JOptionPane and multiline texts hendrich at informatik dot uni-hamburg dot de 2005-02-12 22:36 ` [Bug SWING/19860] " pinskia at gcc dot gnu dot org 2005-06-03 14:50 ` roman at kennke dot org @ 2005-06-03 15:13 ` fitzsim at redhat dot com 2005-06-23 18:23 ` abalkiss at redhat dot com 2005-08-24 19:29 ` [Bug swing/19860] " fitzsim at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: fitzsim at redhat dot com @ 2005-06-03 15:13 UTC (permalink / raw) To: java-prs ------- Additional Comments From fitzsim at redhat dot com 2005-06-03 15:13 ------- OK, for stuff like this we'll wait until tromey's big merge is complete. I don't want to merge any Classpath gui work into libgcj at this point. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19860 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug SWING/19860] Swing JOptionPane and multiline texts 2005-02-09 17:44 [Bug AWT/19860] New: Swing JOptionPane and multiline texts hendrich at informatik dot uni-hamburg dot de ` (2 preceding siblings ...) 2005-06-03 15:13 ` fitzsim at redhat dot com @ 2005-06-23 18:23 ` abalkiss at redhat dot com 2005-08-24 19:29 ` [Bug swing/19860] " fitzsim at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: abalkiss at redhat dot com @ 2005-06-23 18:23 UTC (permalink / raw) To: java-prs ------- Additional Comments From abalkiss at redhat dot com 2005-06-23 18:23 ------- I patched this in classpath, merge should fix it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19860 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug swing/19860] Swing JOptionPane and multiline texts 2005-02-09 17:44 [Bug AWT/19860] New: Swing JOptionPane and multiline texts hendrich at informatik dot uni-hamburg dot de ` (3 preceding siblings ...) 2005-06-23 18:23 ` abalkiss at redhat dot com @ 2005-08-24 19:29 ` fitzsim at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: fitzsim at redhat dot com @ 2005-08-24 19:29 UTC (permalink / raw) To: java-prs ------- Additional Comments From fitzsim at redhat dot com 2005-08-24 19:29 ------- Fixed. Closing. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19860 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-24 19:29 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-02-09 17:44 [Bug AWT/19860] New: Swing JOptionPane and multiline texts hendrich at informatik dot uni-hamburg dot de 2005-02-12 22:36 ` [Bug SWING/19860] " pinskia at gcc dot gnu dot org 2005-06-03 14:50 ` roman at kennke dot org 2005-06-03 15:13 ` fitzsim at redhat dot com 2005-06-23 18:23 ` abalkiss at redhat dot com 2005-08-24 19:29 ` [Bug swing/19860] " fitzsim at redhat dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).