> i m having problem in setting image in JPanel using NetBeans.
> pls tell me if anyone has any idea about it.
i don't know where to write code or set property for that in netbeans.
pls tell me if u have any idea.
Den Wed, 02 Mar 2005 11:28:47 +0000. skrev John McGrath:
>> i m having problem in setting image in JPanel using NetBeans.
>> pls tell me if anyone has any idea about it.
>
> How about posting some code?
That will probably be quite difficult. The problem seems to be the missing
image-component i netbeans (at least in 4.0), so how to generate code?
I too would like to know how netbeans can be used to disply images
(preferably BufferedImage), since I am trying to display images.
Kindest regards
Carsten
John McGrath - 30 May 2005 03:41 GMT
> The problem seems to be the missing image-component i netbeans
> (at least in 4.0), so how to generate code?
The original question was about a JPanel, but you seem to be talking some
other component. If there are components that come bundled with NetBeans,
many people (including I) will not be familiar with them, so it would be a
good idea to post a link to the documentation for it.
> I too would like to know how netbeans can be used to disply images
> (preferably BufferedImage), since I am trying to display images.
It is not at all clear whether you are asking about how to use some
feature of NetBeans, or how to write the Java code to display an image.
If you are asking about the former, then you should probably try the
softwaretools newsgroup.
If the latter, you might use a JLabel, customize a JComponent, or possibly
some other solution, depending on your requirements. If you would like
some additional help, please post some details about how you want to use
the image.

Signature
Regards,
John McGrath
Andrew Thompson - 30 May 2005 03:48 GMT
> I too would like to know how netbeans can be used to disply images
You might be better off joining the NetBeans mailing lists..
<http://www.netbeans.org/community/lists/>
( This forum is for Java, rather than NetBeans )
HTH

Signature
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane