|
-
January 3rd, 2003, 01:45 AM
#1
JBuilder Help!!
Hi everyone
I am actually learning JBuilder6 for my project.I am just a beginner and i know only the very basic.I wanted to import an image of my choice in my applet(box.gif) as well as the backgroung(background.gif).Can someone plz help me.Thank u.
magicstar
-
January 4th, 2003, 01:55 PM
#2
All you need is to import the image files into your project
right click on package add files and add your images, put the images in the same path as your classes
-
January 4th, 2003, 04:10 PM
#3
JProgressBar help!!!
Thank u,i'll try that out.In fact, i'm developing a file transfer interface and i'm kind of getting another problem.I need to have an "add file" button which when i'll click i'll get the window where i'll be able to browse and select the file.I've been able to do that part using the JFileChooser.I wanted to add the option whereby i could actually see the transmission of the file.I know there is the JProgressBar option but i don't know anything more-could u plz help me.What line of code should i actually write to activate that JProgressBar option??
Thanks
magicstar
-
January 7th, 2003, 12:18 AM
#4
Hi
I've still not been able to import the images.i've tried what u told me but it's still not working.I can see the images in the project pane but not into my application.If possible can u plz give me a little bit of more explanation.Thanks
magicstar
-
January 7th, 2003, 03:27 AM
#5
Regarding images here is the code i've used it is working fine
Code:
jLabel1.setIcon(new ImageIcon(new java.net.URL("file:// imagePath")));
Hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|