Jump to content

Featured Replies

Posted
  • Popular Post
comment_57369

Not the best written thing in the world, however wrote it for Divination whilst I was learning more on JFrame's/Components. If you're gonna use would advise improving it a bit..

 

Ain't providing any free help on getting this working, if you need help and are happy to pay, hmu on Discord @ NULL#1111

 

https://mega.nz/file/PAwhnQ4K#N2XAvoIo4TCgquPXseAqOP5hz1CQZAPH231okzBoKcg

 

Preview:

 

https://gyazo.com/356ebb47031ab0b63f31e63979d6ec43

 

 

 

Edit:

Working BackGround.java - replace link with your own., upload 'main.gif' found in the package and replace link

public class BackGround extends JPanel {
private ImageIcon loading;
    public BackGround() {
        super();
        String loadLink = "link here";
        URL ajaxLoad = null;
        try {
            ajaxLoad = new URL(loadLink);
        } catch (MalformedURLException e3) {
            e3.printStackTrace();
        }
        loading = new ImageIcon(ajaxLoad);
    }

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        loading.paintIcon(this, g, 0, 0);
    }
}

 

 

Credits too King Fox, took a couple things from his launcher because I was in a rush to get it done lmao

Edited by Adam200214

  • Replies 63
  • Views 10.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

Create an account or sign in to comment