Get your CodeRanch badge!*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse 3.4, locate Splash image file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse 3.4, locate Splash image file ?" Watch "Eclipse 3.4, locate Splash image file ?" New topic
Author

Eclipse 3.4, locate Splash image file ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
I have a Swing application in Eclipse 3.4. Source sturctures like


this log.png is the Splash image, so I go to Run/Debug setting --> Lanunch Configuration, set VM arugment as "-splash:log.png". But it doesn't work, still can't find this splash image.

The result I want is, "java -splash:log.png com.myapp.Main"

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

Did you try -splash:src/images/log.png? I think that the project's base directory is the current working directory for the Java app, so you must give the relative location of the PNG file.


JBoss In Action
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
Peter Johnson wrote:Did you try -splash:src/images/log.png? .

This solution is right. Thanks a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse 3.4, locate Splash image file ?
 
Similar Threads
best plugin for Hibernate
splash screen
Eclipse not starting up after splash image change
Why jvm donĀ“t call paintComponent(Graphics g)?
struts app exception