Article View: borland.public.jbuilder.java.swing
Article #8939Re: graphics
From: /\/\ ][ |< (-
Date: Tue, 13 Jun 2000 00:00
Date: Tue, 13 Jun 2000 00:00
28 lines
1788 bytes
1788 bytes
That sounds great. I mostly code in PL/SQL, vb and C, so I don't know the full extent of Java. If it can size to the picture, or if I could fix the size and shrink the picture to it, that would be excelent. Thanks, /\/\ ][ |< (- John P. McGrath <JPMcGrath@fast.net> wrote in message news:MPG.13af4f56c3226a5f9899be@forums.borland.com... > On Mon, 12 Jun 2000 17:36:04 -0600, "/\\/\\ ][ |< (-" > <mhedman@micron.net> wrote: > > > > You can use a JLabel to display an image. You would need > > > one for each digit, the AM/PM indicator, a ":" between the > > > hours and minutes, etc. > > > > Is it possible to do this with other than a JLabel? For me, > > I would like to display a whole JPG. > > You could write your own component if you want to, but I am not sure what > you don't like about JLabel. It will display an Image and/or a String, > which sounds like what you need. Do not assume that a JLabel can only be > as large as most of the JLabels that you have seen. It will be sizes as > large as is needed to display the image. > > -- > John P. McGrath > <JPMcGrath@fast.net> > <jpm@nscs.fast.net>
Technical Details
Message-ID:
<3946a5bb@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<393ed3a4@dnews> <MPG.13a8f38220c3b6199899a5@forums.borland.com> <3945713b@dnews> <MPG.13af4f56c3226a5f9899be@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,7c93faf6250d9fd X-Google-Attributes: gid111d45,public From: "/\\/\\ ][ |< (-" <mhedman@micron.net> Subject: Re: graphics Date: 2000/06/13 Message-ID: <3946a5bb@dnews> X-Deja-AN: 634152412 References: <393ed3a4@dnews> <MPG.13a8f38220c3b6199899a5@forums.borland.com> <3945713b@dnews> <MPG.13af4f56c3226a5f9899be@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Trace: 13 Jun 2000 14:20:59 -0800, 206.207.76.86 Organization: Programmers for Caffeine IVs X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing