🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1829

Re: jpanel problem

#1829
From: Dave Pickering
Date: Fri, 17 Aug 2001 03:10
37 lines
2190 bytes
It should be:

    public static JPanel jpanel1 = new JPanel();

    (note: the constuctor with no parameters will create a JPanel with the
default buffer and LayoutManager (FlowLayout))


--
Dave Pickering
davep57@earthlink.net
"If at first you don't succeed, skydiving is not for you."

"consulta" <flash99@teleline.es> wrote in message
news:yQVe7.49521$fv2.797622@telenews.teleline.es...
> Hello, i am making a aplication. I have a problem. I have applet with the
> follow  sentence
>
> Museo.Jpanel1.setVisible(true);
>
> When the program execute this sentence with a button click the program in
> teory have to show the jPanel1 of the Museo class, but it does not occurs.
>
> The sentence which  defines jpanel is this:
>
> public static jPanel jpanel1 = new jPanel;
>
> What is the problem?
> Anybody can help me?
>
> Thank you in avanced, I am looking forward to hearing from you.
>
> --
> Saludos.
>
>
>
Technical Details
Message-ID: <6X%e7.1792$D4.143281@newsread1.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
References: <yQVe7.49521$fv2.797622@telenews.teleline.es>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,488236843c26e28
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-08-16 20:11:14 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
From: "Dave Pickering" <davep57@earthlink.net>
Newsgroups: borland.public.jbuilder.java.api
References: <yQVe7.49521$fv2.797622@telenews.teleline.es>
Subject: Re: jpanel problem
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Message-ID: <6X%e7.1792$D4.143281@newsread1.prod.itd.earthlink.net>
Date: Fri, 17 Aug 2001 03:10:58 GMT
NNTP-Posting-Host: 4.40.16.107
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.prod.itd.earthlink.net 998017858 4.40.16.107 (Thu, 16 Aug 2001 20:10:58 PDT)
NNTP-Posting-Date: Thu, 16 Aug 2001 20:10:58 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
X-Received-Date: Thu, 16 Aug 2001 20:08:20 PDT (newsmaster1.prod.itd.earthlink.net)