|
Since people continue to do inefficient things such as updating a client by auto updaters or checking for updates on a jar a based on version I figured I'd just go ahead and do this
It will load a JAR from a url, has splash screen support and isn't redundant as can be. I've even done the jframe and buttons for you so stop doing stupid stuff.
https://github.com/Codeusa/Drunken-JAR-Loader
really nice mate =) will not use
but might be really usefull for the new comers =)
Could you explain again what this is, i don't really get it sorry
thanks for sharing man.
If you'd rather use an animated gif instead of a static image you could try something like this
Code:public static void main(String[] args) throws IOException { Frame frame = new Frame("Test"); final Toolkit toolkit = Toolkit.getDefaultToolkit(); frame.setUndecorated(true); frame.add(new Component() { Image img = toolkit.getImage(new URL("http://i.imgur.com/i74pJau.gif")); @Override public void paint(Graphics g) { super.paint(g); g.drawImage(img, 0, 0, getWidth(), getHeight(), this); } }); GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gs = ge.getDefaultScreenDevice(); gs.setFullScreenWindow(frame); frame.setAlwaysOnTop(true); frame.validate(); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |