Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- import java.text.DecimalFormat;
- import java.awt.event.*;
- import java.io.BufferedReader;
- import java.io.IOException;
- import java.io.InputStreamReader;
- import java.net.URL;
- import java.net.URLConnection;
- import javax.swing.*;
- import org.powerbot.concurrent.Task;
- import org.powerbot.concurrent.strategy.Condition;
- import org.powerbot.concurrent.strategy.Strategy;
- import org.powerbot.game.api.ActiveScript;
- import org.powerbot.game.api.Manifest;
- import org.powerbot.game.api.methods.Calculations;
- import org.powerbot.game.api.methods.Tabs;
- import org.powerbot.game.api.methods.Walking;
- import org.powerbot.game.api.methods.input.Mouse;
- import org.powerbot.game.api.methods.interactive.NPCs;
- import org.powerbot.game.api.methods.interactive.Players;
- import org.powerbot.game.api.methods.node.SceneEntities;
- import org.powerbot.game.api.methods.tab.Inventory;
- import org.powerbot.game.api.methods.tab.Skills;
- import org.powerbot.game.api.methods.widget.Camera;
- import org.powerbot.game.api.util.Random;
- import org.powerbot.game.api.util.Time;
- import org.powerbot.game.api.wrappers.Area;
- import org.powerbot.game.api.wrappers.Tile;
- import org.powerbot.game.api.wrappers.interactive.NPC;
- import org.powerbot.game.api.wrappers.node.Item;
- import org.powerbot.game.api.wrappers.node.SceneObject;
- import org.powerbot.game.bot.event.MessageEvent;
- import org.powerbot.game.bot.event.listener.MessageListener;
- import org.powerbot.game.bot.event.listener.PaintListener;
- @Manifest(name = "KaraFisher", description = "AIO Karamja Fisher", version = 1.0, authors = {"Thondar"})
- public class KaraFisher extends ActiveScript implements PaintListener, MessageListener {
- private int SwordfishP(int id) throws IOException {
- URL url = new URL("http://open.tip.it/json/ge_single_item?item=" + Swordfish);
- URLConnection con = url.openConnection();
- BufferedReader in = new BufferedReader(new InputStreamReader(
- con.getInputStream()));
- String line = "";
- String inputLine;
- while ((inputLine = in.readLine()) != null) {
- line += inputLine;
- }
- in.close();
- if (!line.contains("mark_price"))
- return -1;
- line = line.substring(line.indexOf("mark_price\":\"")
- + "mark_price\":\"".length());
- line = line.substring(0, line.indexOf("\""));
- return Integer.parseInt(line.replaceAll(",", ""));
- }
- private int LobsterP(int id) throws IOException {
- URL url = new URL("http://open.tip.it/json/ge_single_item?item=" + Lobster);
- URLConnection con = url.openConnection();
- BufferedReader in = new BufferedReader(new InputStreamReader(
- con.getInputStream()));
- String line = "";
- String inputLine;
- while ((inputLine = in.readLine()) != null) {
- line += inputLine;
- }
- in.close();
- if (!line.contains("mark_price"))
- return -1;
- line = line.substring(line.indexOf("mark_price\":\"")
- + "mark_price\":\"".length());
- line = line.substring(0, line.indexOf("\""));
- return Integer.parseInt(line.replaceAll(",", ""));
- }
- private int TunaP(int id) throws IOException {
- URL url = new URL("http://open.tip.it/json/ge_single_item?item=" + Tuna);
- URLConnection con = url.openConnection();
- BufferedReader in = new BufferedReader(new InputStreamReader(
- con.getInputStream()));
- String line = "";
- String inputLine;
- while ((inputLine = in.readLine()) != null) {
- line += inputLine;
- }
- in.close();
- if (!line.contains("mark_price"))
- return -1;
- line = line.substring(line.indexOf("mark_price\":\"")
- + "mark_price\":\"".length());
- line = line.substring(0, line.indexOf("\""));
- return Integer.parseInt(line.replaceAll(",", ""));
- }
- int RandomGift = 14664;
- int FishingSpot = 324;
- int Stiles = 11267;
- int startLVL;
- int Lobster = 377;
- int Tuna = 359;
- int Swordfish = 371;
- int TunaCount;
- int SwordfishCount;
- int LobsterCount;
- int FishCount;
- int LobsterPrice;
- int TunaPrice;
- int SwordfishPrice;
- int LobsterProfit, TunaProfit, SwordfishProfit,LobsterProfitHour, TunaProfitHour, SwordfishProfitHour, Profit, ProfitHour, FishHour, Profit1, ProfitHour1;
- int tab;
- int button1;
- int button2;
- long startXP;
- long startTime;
- long runTime, xpTime;
- long hr, min, sec, xphr, xpmin, xpsec;
- long xpGain;
- String time;
- String status;
- String xptime;
- GUI g;
- private boolean guiWait = true;
- Tile FishTile = new Tile(2924, 3177, 0);
- Tile StilesTile = new Tile(2857, 3146, 0);
- DecimalFormat format = new DecimalFormat("#.##");
- boolean start = false;
- boolean Note = true;
- private static int Cage = -1;
- Area atStiles = new Area(new Tile(2848, 3141, 0), new Tile(2854, 3146, 0));
- Area FishArea = new Area(new Tile(2919, 3173, 0), new Tile(2926, 3181, 0));
- Area WalkArea = new Area(new Tile(2847, 3140, 0), new Tile(2918, 3178, 0));
- Tile[] TilesToBank = new Tile[] { new Tile(2923, 3171, 0),
- new Tile(2909, 3172, 0), new Tile(2900, 3164, 0),
- new Tile(2897, 3156, 0), new Tile(2892, 3151, 0),
- new Tile(2882, 3146, 0), new Tile(2874, 3148, 0),
- new Tile(2862, 3147, 0), new Tile(2852, 3142, 0),
- };
- Tile[] TilesToFish = new Tile[] { new Tile(2856, 3143, 0),
- new Tile(2866, 3152, 0), new Tile(2875, 3157, 0),
- new Tile(2884, 3163, 0), new Tile(2890, 3168, 0),
- new Tile(2896, 3172, 0), new Tile(2908, 3173, 0),
- new Tile(2919, 3173, 0), new Tile(2924, 3178, 0),
- };
- @Override
- protected void setup() {
- log.info("Welcome to KaraFisher 1.0");
- log.info("Made by Tarth and Thondar");
- start = true;
- status = ("Starting Up");
- try {
- LobsterPrice = LobsterP(Lobster);
- TunaPrice = TunaP(Tuna);
- SwordfishPrice = SwordfishP(Swordfish);
- } catch (IOException e) {
- e.printStackTrace();
- }
- g = new GUI();
- g.setVisible(true);
- final WaitGui guiTask = new WaitGui();
- provide(new Strategy(guiTask, guiTask));
- provide(new Strategy(new WaitGui(), new WaitGui()));
- startTime = System.currentTimeMillis();
- startXP = Skills.getExperience(Skills.FISHING);
- startLVL = Skills.getLevel(Skills.FISHING);
- Fish fish = new Fish();
- Strategy fishStrategy = new Strategy(fish, fish);
- provide(fishStrategy);
- Fish1 fish1 = new Fish1();
- Strategy fish1Strategy = new Strategy(fish1, fish1);
- provide(fish1Strategy);
- Drop drop = new Drop();
- Strategy dropStrategy = new Strategy(drop, drop);
- provide(dropStrategy);
- AntiBan ab = new AntiBan();
- Strategy abStrategy = new Strategy(ab, ab);
- provide(abStrategy);
- FishWalk fishwalk = new FishWalk();
- Strategy fishwalkStrategy = new Strategy(fishwalk, fishwalk);
- provide(fishwalkStrategy);
- BankWalk bankwalk = new BankWalk();
- Strategy bankwalkStrategy = new Strategy(bankwalk, bankwalk);
- provide(bankwalkStrategy);
- Bank bank = new Bank();
- Strategy bankStrategy = new Strategy(bank, bank);
- provide(bankStrategy);
- Rand rand = new Rand();
- Strategy randStrategy = new Strategy(rand, rand);
- provide(randStrategy);
- Stiles stiles = new Stiles();
- Strategy stilesStrategy = new Strategy(stiles, stiles);
- provide(stilesStrategy);
- Tabs.INVENTORY.open(false);
- }
- private class WaitGui implements Task, Condition {
- @Override
- public void run() {
- while (guiWait) {
- Time.sleep(500);
- }
- }
- public boolean validate() {
- return guiWait;
- }
- }
- private class Rand implements Task, Condition {
- @Override
- public void run() {
- for (Item i : Inventory.getItems()) {
- if (i.getId() == RandomGift) {
- i.getWidgetChild().interact("Drop");
- }
- }
- }
- @Override
- public boolean validate() {
- return Inventory.getItem(RandomGift) != null;
- }
- }
- private class Fish implements Task, Condition {
- @Override
- public void run() {
- Fish();
- Time.sleep(Random.nextInt(800, 1200));
- }
- @Override
- public boolean validate() {
- return !Inventory.isFull() && (Players.getLocal().getAnimation() == -1) && (NPCs.getNearest(FishingSpot).isOnScreen()) && Cage == 0 && FishArea.contains(Players.getLocal());
- }
- }
- private class Fish1 implements Task, Condition {
- @Override
- public void run() {
- Fish1();
- Time.sleep(Random.nextInt(800, 1200));
- }
- @Override
- public boolean validate() {
- return !Inventory.isFull() && (Players.getLocal().getAnimation() == -1) && (NPCs.getNearest(FishingSpot) != null) && Cage == 1 && FishArea.contains(Players.getLocal());
- }
- }
- private class Drop implements Task, Condition {
- @Override
- public void run() {
- drop();
- }
- @Override
- public boolean validate() {
- return Inventory.isFull() && Note == false;
- }
- }
- private class Stiles implements Task, Condition {
- @Override
- public void run() {
- Walking.setRun(true);
- status = ("Walking To F");
- Walking.walk(StilesTile);
- Camera.setAngle(Random.nextInt(220, 235));
- Camera.setPitch(Random.nextInt(20, 30));
- }
- @Override
- public boolean validate() {
- return Inventory.getCount() != 28 && atStiles.contains(Players.getLocal());
- }
- }
- private class FishWalk implements Task, Condition {
- @Override
- public void run() {
- Walking.setRun(true);
- status = ("Walking To Fish");
- Walking.newTilePath(TilesToFish).traverse();
- Camera.setAngle(Random.nextInt(220, 235));
- Camera.setPitch(Random.nextInt(20, 30));
- }
- @Override
- public boolean validate() {
- return Inventory.getCount() != 28 && !FishArea.contains(Players.getLocal());
- }
- }
- private class BankWalk implements Task, Condition {
- @Override
- public void run() {
- Walking.setRun(true);
- status = ("Walking");
- Walking.newTilePath(TilesToBank).traverse();
- Camera.setAngle(Random.nextInt(220, 235));
- Camera.setPitch(Random.nextInt(20, 30));
- }
- @Override
- public boolean validate() {
- return Inventory.isFull() && Note == true;
- }
- }
- private class Bank implements Task, Condition {
- @Override
- public void run() {
- NPCs.getNearest(Stiles).interact("Exchange");
- }
- @Override
- public boolean validate() {
- return Inventory.isFull() && Note == true && NPCs.getNearest(Stiles).isOnScreen();
- }
- }
- private class AntiBan implements Task, Condition {
- @Override
- public void run() {
- switch(Random.nextInt(1, 100)){
- case 3:
- Camera.setAngle(Random.nextInt(1, 150));
- case 33:
- Camera.setAngle(Random.nextInt(1, 310));
- case 75:
- Camera.setAngle(Random.nextInt(1, 210));
- default:
- }
- Time.sleep(Random.nextInt(500, 1000));
- }
- @Override
- public boolean validate() {
- return start;
- }
- }
- public void Fish() {
- log.info("Fishing");
- status = ("Fishing");
- Tabs.INVENTORY.open(false);
- NPC i = NPCs.getNearest(FishingSpot);
- if (i != null) {
- Camera.turnTo(i.getLocation());
- NPCs.getNearest(FishingSpot).interact("Cage");
- }
- }
- public void Fish1() {
- log.info("Fishing");
- status = ("Fishing");
- Tabs.INVENTORY.open(false);
- NPC i = NPCs.getNearest(FishingSpot);
- if (i != null) {
- Camera.turnTo(i.getLocation());
- NPCs.getNearest(FishingSpot).interact("Harpoon");
- }
- }
- public void drop() {
- log.info("Dropping");
- status = ("Dropping");
- Tabs.INVENTORY.open(false);
- for(Item elite:Inventory.getItems()){
- if(elite !=null){
- elite.getWidgetChild().interact("Drop");
- }
- }
- }
- @Override
- public void messageReceived(MessageEvent e) {
- String txt = e.getMessage().toLowerCase();
- if(txt.contains("you catch a lobster")) {
- LobsterCount++;
- FishCount++;
- }
- if(txt.contains("you catch a tuna")) {
- TunaCount++;
- FishCount++;
- }
- if(txt.contains("you catch a swordfish")) {
- SwordfishCount++;
- FishCount++;
- }
- }
- public boolean walkTileMM(Tile tile, int rnd) {
- float angle = angleTo(tile) - Camera.getAngleTo(0);
- float distance = distanceTo(tile);
- if (distance > 18) distance = 18;
- angle = (float) (angle * Math.PI / 180);
- int x = 627, y = 85;
- int dx = (int) (4 * (distance + Random.nextGaussian(0, rnd, 1)) * Math.cos(angle));
- int dy = (int) (4 * (distance + Random.nextGaussian(0, rnd, 1)) * Math.sin(angle));
- return Mouse.click(x + dx, y - dy, true);
- }
- public float distanceTo(Tile tile){
- return (float) Calculations.distance(Players.getLocal().getLocation(), tile);
- }
- public int angleTo(Tile tile) {
- final double ydif = tile.getY() - Players.getLocal().getLocation().getY();
- final double xdif = tile.getX() - Players.getLocal().getLocation().getX();
- return (int) (Math.atan2(ydif, xdif) * 180 / Math.PI) ;
- }
- private AlphaComposite makeComposite(float alpha) {
- int type = AlphaComposite.SRC_OVER;
- return(AlphaComposite.getInstance(type, alpha));
- }
- private final Font font1 = new Font("Verdana", 0, 16);
- private final Font font2 = new Font("Verdana", 0, 12);
- private final Font font3 = new Font("Verdana", 0, 13);
- private final Font font4 = new Font("Verdana", 0, 9);
- @Override
- public void onRepaint(Graphics g) {
- Graphics2D g2d = (Graphics2D) g;
- runTime = System.currentTimeMillis() - startTime;
- time = "";
- hr = runTime / (1000 * 60 * 60);
- min = (runTime % (1000 * 60 * 60)) / (1000 * 60);
- sec = ((runTime % (1000 * 60 * 60)) % (1000 * 60)) / 1000;
- xpGain = (Skills.getExperience(Skills.FISHING) - startXP);
- int xpHour = (int) ((xpGain) * 3600000D / (System
- .currentTimeMillis() - startTime));
- int level = Skills.getLevel(Skills.FISHING);
- int startXP = Skills.getExperienceRequired(level);
- int nextXP = Skills.getExperienceRequired(level + 1);
- double rangeXP = nextXP-startXP;
- double currentRelativeXP = Skills.getExperience(Skills.FISHING) - startXP;
- double currentXPleft = nextXP - Skills.getExperience(Skills.FISHING);
- double percentA = currentRelativeXP/rangeXP;
- double percentToLvl = ((percentA) * 100D);
- double percent = (int) ((percentA) * 500D);
- xpTime = (long) ((currentXPleft / xpHour) * 3600000D);
- xptime = "";
- if(FishCount == 0) {
- xphr = 0;
- xpmin = 0;
- xpsec = 0;
- }
- if(FishCount >= 1) {
- xphr = xpTime / (1000 * 60 * 60);
- xpmin = (xpTime % (1000 * 60 * 60)) / (1000 * 60);
- xpsec = ((xpTime % (1000 * 60 * 60)) % (1000 * 60)) / 1000;
- }
- LobsterProfit = LobsterCount * LobsterPrice;
- TunaProfit = TunaCount * TunaPrice;
- SwordfishProfit = SwordfishCount * SwordfishPrice;
- Profit1 = LobsterProfit + TunaProfit + SwordfishProfit;
- if (Note == true) {
- Profit = Profit1;
- }
- if (Note == false) {
- Profit = 0;
- }
- int LobsterHour = (int) ((LobsterCount) * 3600000D / (System
- .currentTimeMillis() - startTime));
- int TunaHour = (int) ((TunaCount) * 3600000D / (System
- .currentTimeMillis() - startTime));
- int SwordfishHour = (int) ((SwordfishCount) * 3600000D / (System
- .currentTimeMillis() - startTime));
- FishHour = LobsterHour + TunaHour + SwordfishHour;
- LobsterProfitHour = LobsterHour * LobsterPrice;
- TunaProfitHour = TunaHour * TunaPrice;
- SwordfishProfitHour = SwordfishHour * SwordfishPrice;
- ProfitHour1 = SwordfishProfitHour + LobsterProfitHour + TunaProfitHour;
- if (Note == true) {
- ProfitHour = ProfitHour1;
- }
- if (Note == false) {
- ProfitHour = 0;
- }
- Rectangle bg = new Rectangle(10, 10, 160, 320);
- g2d.setComposite(makeComposite(.5f));
- g2d.setColor(Color.LIGHT_GRAY);
- g2d.fill(bg);
- g2d.setComposite(makeComposite(.5f));
- g2d.setColor(Color.BLACK);
- g2d.drawRect(10, 10, 160, 320);
- g2d.setFont(font1);
- g2d.setComposite(makeComposite(1f));
- g2d.setColor(Color.BLUE);
- g2d.drawString("KaraFisher", 50, 30);
- g2d.setFont(font3);
- g2d.drawString("By Thondar", 55, 45);
- g2d.setFont(font4);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(Color.BLUE);
- g2d.drawString("Version 1.0", 61, 55);
- g2d.setComposite(makeComposite(.5f));
- g2d.setColor(Color.BLACK);
- g2d.drawLine(20, 60, 160, 60);
- g2d.drawLine(20, 110, 160, 110);
- g2d.drawLine(20, 160, 160, 160);
- g2d.drawLine(20, 210, 160, 210);
- g2d.drawLine(20, 260, 160, 260);
- g2d.drawLine(20, 310, 160, 310);
- g2d.setFont(font2);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Time Run: " + hr + ":" + min + ":" + sec, 30, 80);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Status: " + status, 30, 100);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("XP/H: " + xpHour, 30, 130);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("XP Gained: " + xpGain, 30, 150);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Current Level: " + (Skills.getLevel(Skills.FISHING)), 30, 180);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Levels Gained: " + (Skills.getLevel(Skills.FISHING) - startLVL), 30, 200);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Fish Cought: " + FishCount, 30, 230);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Fish Cought/h: " + FishHour , 30, 250);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Profit: " + Profit, 30, 280);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Profit/h: " + ProfitHour, 30, 300);
- g2d.setComposite(makeComposite(.8f));
- g2d.setColor(new Color (0x00, 0x33, 0xff));
- g2d.drawString("Time to lvl: " + xphr + ":" + xpmin + ":" + xpsec, 30, 325);
- g2d.setComposite(makeComposite(1f));
- g2d.setColor(Color.BLACK);
- g2d.drawRect(10, 330, 500, 15);
- g2d.setComposite(makeComposite(1f));
- g2d.setColor(Color.LIGHT_GRAY);
- g2d.fillRect(11, 331, 499, 13);
- g2d.setComposite(makeComposite(1f));
- g2d.setColor(Color.GREEN);
- g2d.fillRect(11, 331,(int) (percent), 13);
- g2d.setComposite(makeComposite(1f));
- g2d.setColor(Color.BLUE);
- g2d.drawString (String.format("%.2f", percentToLvl) + "%" , 225, 342);
- }
- class GUI extends JFrame {
- public GUI() {
- initComponents();
- }
- private void StartButtonActionPerformed(ActionEvent e) {
- String a = FishCB.getSelectedItem().toString();
- if (a.equals("Cage")){
- Cage = 0;
- }
- else{
- Cage = 1;
- }
- if (PowerfishCheck.isSelected()){
- Note = false;
- }
- guiWait = false;
- g.dispose();
- }
- private void initComponents() {
- // JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
- // Generated using JFormDesigner Evaluation license - Jonas Bill Jensen
- label1 = new JLabel();
- label2 = new JLabel();
- label3 = new JLabel();
- FishCB = new JComboBox<>();
- PowerfishCheck = new JRadioButton();
- StartButton = new JButton();
- //======== this ========
- Container contentPane = getContentPane();
- contentPane.setLayout(null);
- //---- label1 ----
- label1.setText("KaraFisher");
- label1.setFont(new Font("Segoe Print", Font.BOLD, 20));
- label1.setHorizontalAlignment(SwingConstants.CENTER);
- contentPane.add(label1);
- label1.setBounds(0, 0, 195, 45);
- //---- label2 ----
- label2.setText("By Thondar");
- label2.setHorizontalAlignment(SwingConstants.CENTER);
- label2.setFont(new Font("Segoe Print", Font.PLAIN, 11));
- contentPane.add(label2);
- label2.setBounds(0, 35, 195, 20);
- //---- label3 ----
- label3.setText("How to Fish?");
- label3.setFont(new Font("Calibri", Font.PLAIN, 12));
- label3.setHorizontalAlignment(SwingConstants.CENTER);
- contentPane.add(label3);
- label3.setBounds(0, 75, 195, 20);
- //---- FishCB ----
- FishCB.setModel(new DefaultComboBoxModel<>(new String[] {
- "Cage",
- "Harpoon"
- }));
- contentPane.add(FishCB);
- FishCB.setBounds(35, 90, 125, 30);
- //---- PowerfishCheck ----
- PowerfishCheck.setText("Powerfish?");
- PowerfishCheck.setFont(new Font("Calibri", Font.PLAIN, 12));
- PowerfishCheck.setHorizontalAlignment(SwingConstants.CENTER);
- contentPane.add(PowerfishCheck);
- PowerfishCheck.setBounds(0, 125, 195, PowerfishCheck.getPreferredSize().height);
- //---- StartButton ----
- StartButton.setText("Start");
- StartButton.setFont(new Font("Calibri", Font.PLAIN, 16));
- StartButton.addActionListener(new ActionListener() {
- @Override
- public void actionPerformed(ActionEvent e) {
- StartButtonActionPerformed(e);
- }
- });
- contentPane.add(StartButton);
- StartButton.setBounds(5, 170, 185, 55);
- { // compute preferred size
- Dimension preferredSize = new Dimension();
- for(int i = 0; i < contentPane.getComponentCount(); i++) {
- Rectangle bounds = contentPane.getComponent(i).getBounds();
- preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
- preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
- }
- Insets insets = contentPane.getInsets();
- preferredSize.width += insets.right;
- preferredSize.height += insets.bottom;
- contentPane.setMinimumSize(preferredSize);
- contentPane.setPreferredSize(preferredSize);
- }
- pack();
- setLocationRelativeTo(getOwner());
- // JFormDesigner - End of component initialization //GEN-END:initComponents
- }
- // JFormDesigner - Variables declaration - DO NOT MODIFY //GEN-BEGIN:variables
- // Generated using JFormDesigner Evaluation license - Jonas Bill Jensen
- private JLabel label1;
- private JLabel label2;
- private JLabel label3;
- private JComboBox<String> FishCB;
- private JRadioButton PowerfishCheck;
- private JButton StartButton;
- // JFormDesigner - End of variables declaration //GEN-END:variables
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment