YeaLow
article thumbnail
버블버블 - 4 게임맵 캐릭터 추가
Java 2022. 10. 4. 14:40

bubble.test.ex02 패키지 추가 package bubble.test.ex02; import javax.swing.JFrame; import javax.swing.JLabel; public class BubbleFrame extends JFrame{ public BubbleFrame() { setSize(1000,640); getContentPane().setLayout(null);// absolute 레이아웃 (자유롭게 그림을 그릴 수 있다.) JLabel lblNewLabel = new JLabel("New label"); lblNewLabel.setBounds(210, 268, 57, 15); getContentPane().add(lblNewLabel); setLocationRelative..

article thumbnail
버블버블 - 3 Frame 설정
Java 2022. 10. 4. 13:43

package bubble.test.ex01; import javax.swing.JFrame; // 1. 윈도우 창이 되었음 // 2. 윈도우 창은 내부에 패널을 하나 가지고 있다. public class BubbleFrame extends JFrame{ public BubbleFrame() { setSize(1000,640); // 전체 사이즈 setVisible(true); // 그림을 그려라 (while) } public static void main(String[] args) { new BubbleFrame(); } } 다른 버전은 실행 안됬는데 builder 1.9.9 pre 버전 설치하니 저는 되네요

article thumbnail
버블버블 - 2 (환경 설정)
Java 2022. 10. 4. 13:28

사용환경 STS4 , JDK 11 https://github.com/codingspecialist/Java-Swing-BubbleGame GitHub - codingspecialist/Java-Swing-BubbleGame Contribute to codingspecialist/Java-Swing-BubbleGame development by creating an account on GitHub. github.com 여기서 자료 다운 받기! 이미지 폴더에 있는 이미지와 사운드 파일 넣기 +추가로 lib 폴더 만들어서 안에 lombok 라이브러리 추가! 프로젝트 오른 클릭 properties 들어와서 위와 같이 설정 STS LOMBOK 설정은 인터넷에 좋은 글들이 많으니 참고 하시길 바랍니다. src.bu..

article thumbnail
버블버블 - AWT 라이브 러리 -1
Java 2022. 10. 4. 13:03

while 계속 켜져 있다. 1. 버튼 디자인을 하는 것이 어렵다. 2. 디자인 애니메이션 구현이 어렵다. 3. 재사용 x 문제를 해결을 위해 -AWT 컴포넌트 가 생겼다.

article thumbnail
Java 고객관리 프로그램 만들기
Java 2022. 9. 29. 14:31

settings -> org.eclipse.jdt.core.prefs 세팅 eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVari..