🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11909

Problem with JDialog

#11909
From: C. Callaway
Date: Fri, 12 Mar 1999 00:00
10 lines
778 bytes
Does anybody know why this code doesn't work? It runs fine, but the dialog
doesn't show up on the screen.

    JDialog d = new JDialog(this, "Dialog");
    d.getContentPane().setLayout(new BorderLayout());
    JLabel label = new JLabel("Label");
    d.getContentPane().add(label, BorderLayout.NORTH);
    d.show();

Thanks,
Technical Details
Message-ID: <7cd4dt$plh3@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,7deed2bf7163d312,start
X-Google-Attributes: gid111d45,public
From: "C. Callaway" <cqcallaw@iname.com>
Subject: Problem with JDialog
Date: 1999/03/12
Message-ID: <7cd4dt$plh3@forums.borland.com>
X-Deja-AN: 454476017
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Newsgroups: borland.public.jbuilder.java.swing