HAN1110
대표칭호 없음
HAN1110 9899e780ba984d89824a90ee8deb7cb2
코드가 굉장히 길어요;;;
메인클
package UtilitiesStudio; public class Main { public static final int SCREEN_SIZE = 1000; public static final int SCREEN_WIDTH = 500; public static final String GUI_TITLE = "Ultimate Studio 2021"; public static void main(String[] args) { new UtilitiesStudioGUI(); } }
new 에 붙어있는 UtilitiesStudioGUI 클래스
package UtilitiesStudio; import java.awt.FlowLayout; import java.awt.BorderLayout; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JPanel; public class UtilitiesStudioGUI extends JFrame { UtilitiesStudioGUI() { setSize(Main.SCREEN_SIZE, Main.SCREEN_WIDTH); setTitle(Main.GUI_TITLE); setVisible(true); setLocation(0, 0); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); CombatMenu(); } void CombatMenu() { String[] Combat = { "AntiBot - Hypixel" , "AntiBot - Adavanced" , "AntiBot - NCP" , "AntiBot - Spartran" , "AutoPotion" , "AutoGoldenApple" , "Kill Aura - Vanilla" , "Kill Aura - NCP" , "Kill Aura - AAC" , "Kill Aura - Hypixel" , "Infinite Aura" , "Team" , "Regen" , "Auto Armor" , "AutoClicker" , "AimBot" , "AimAssist"}; JPanel panel = new JPanel(new FlowLayout(FlowLayout.CENTER, 10, 10)); JComboBox<String> CombatMenu = new JComboBox<>(Combat); panel.add(CombatMenu); add(panel, BorderLayout.CENTER); } void MoveMenu() { String[] Move = { "Air Jump" , "Buffer Speed" , "Better Jump" , ""}; JPanel panel = new JPanel(new FlowLayout(FlowLayout.CENTER, 10, 10)); JComboBox<String> MoveMenu = new JComboBox<>(Move); panel.add(MoveMenu); add(panel, BorderLayout.CENTER); } }
괸히 만들었나봅니다.
자바 스윙 GUI 에 핵 목록을 보여주는(작동은 안해요) 프로그램을 만들고있었는데 어디가 문제인지 작동을 안하더라고요 ㅋㅋㅋㅋㅋㅋ
망했네요.
나중에 다시 시도해봐야죠. 뭐.
명이
2021.07.16실패 ㅠㅠ
HAN1110
2021.07.16ㅠㅠ. 망했네요....