Article View: borland.public.jbuilder.java.swing
Article #9138Re: Jpanel+texte+image
From: Greg Hamer
Date: Tue, 16 May 2000 00:00
Date: Tue, 16 May 2000 00:00
39 lines
2006 bytes
2006 bytes
warning string? Are you running as a Applet? If so, I don't think that there is a guaranteed way to turn that off. Does a tooltip do the same thing? I dont see why you can't use tooltips; there is a method getToolTipText(MouseEvent e) that is called to get the text to display. You can ovverride it to display different text as desired. JPBallet <jean-pierre.ballet@meteo.fr> wrote in message news:8fr329$s0l1@bornews.borland.com... > hello,Thanks i try it. > I don't use tooltips because the text may be persistant. > Window is construct with Frame owner not a JPanel and what is the warning > string display with the window?? > JP Ballet > Greg Hamer a οΏ½crit dans le message <8fp8ru$b685@bornews.borland.com>... > >Well, if you don't want to use tooltips, you can do something similiar. > That > >is the code > >that I would look at to give you an idea. Basically use a Window with some > >sort of TextArea in it. > > > >JPBallet <jean-pierre.ballet@meteo.fr> wrote in message > >news:8fojm7$3vn2@bornews.borland.com... > >> Hello, > >> I have a jpanel with a map(a picture). How can i do appear a multiline > >text > >> on a click or on a rollover action . I hope only text and not dialog box > >> with title... this component should be small and should appear only over > >a > >> part off the picture . > >> are there examples somwhere? > >> > >> > > > > > >
Technical Details
Message-ID:
<8frrem$5or3@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8fojm7$3vn2@bornews.borland.com> <8fp8ru$b685@bornews.borland.com> <8fr329$s0l1@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,7e376e64d9823065 X-Google-Attributes: gid111d45,public From: "Greg Hamer" <ghamer@corp.netzero.net> Subject: Re: Jpanel+texte+image Date: 2000/05/16 Message-ID: <8frrem$5or3@bornews.borland.com> X-Deja-AN: 624124437 References: <8fojm7$3vn2@bornews.borland.com> <8fp8ru$b685@bornews.borland.com> <8fr329$s0l1@bornews.borland.com> 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