-
images not loading
hi, my problem is that i run my applet on a html page(the one on the classes folder) and i can see the JLabels and JTextfields i created....but cant look at the images i put there using the method JLabel(new ImageIcon("file.jpg"))
but i can watch it when running my applet inside JCrator..just not when double clicking the html file..got any idea?
by the way, i already made a FilePermission on the policytool file over javas folder.
Thanks
-
how do you load the images?
cause if the images are static, you could just build them into the Jar file of you application and run them from there. The problem is probably that the applet is unable to locate you images.
Similar Threads
-
By steph2004 in forum Web
Replies: 1
Last Post: 03-10-2006, 04:02 PM
-
By gokulram in forum Java
Replies: 0
Last Post: 03-18-2005, 11:58 AM
-
Replies: 1
Last Post: 10-31-2002, 07:44 PM
-
By Michael Shutt in forum Web
Replies: 0
Last Post: 06-26-2001, 02:25 PM
-
Replies: 0
Last Post: 01-02-2001, 07:45 AM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks