Jump to content

GUI setup problems


Johan1003

Recommended Posts

Good day everyone!

Trying to make a setup window for my script, but I just keep getting this error. Any one knows what seems to be wrong?

package com.probots.skill;

 

import javax.swing.JFrame;

 

public class ProgressiveWoodcutterSetup {

 

public static void main(String[] args) {

// let's run this setup window without a script

new ProgressiveWoodcutterSetup(null);

}

 

public ProgressiveWoodcutterMain mainScript;

 

public ProgressiveWoodcutterSetup(ProgressiveWoodcutterMain m) {

// this lets us talk to the main script

this.mainScript = m;

 

// now show the setup window

showSetup();

}

public void showSetup() {

System.out.print("Setup initialised");

 

JFrame mainFrame = new JFrame("Progressive woodcutter setup");

 

mainFrame.setSize(320, 320);

 

mainFrame.setVisible(true);

 

}

 

}

ERROR

Error occurred during initialization of boot layer

java.lang.module.FindException: Unable to derive module descriptor for C:\Users\juuha\Desktop\osbot.jar

Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer not in module

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...