본문 바로가기 메뉴 바로가기

수업용 블로그

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

수업용 블로그

검색하기 폼
  • 분류 전체보기 (170)
    • 회사 프로젝트 (0)
    • flutter (1)
    • C (15)
    • C++ (11)
    • API (35)
      • 수업 (8)
      • 과제 (4)
      • DF.project (22)
    • cocos2d (0)
    • Spring (4)
    • HTML&CSS&Javscript&Jquery (22)
    • Unity 3D (5)
      • 팀 프로젝트 (4)
    • JAVA (44)
    • MySQL (11)
    • 웹개발팀프로젝트 (4)
    • Node.js (1)
    • 살면서 다양하게 마주친 에러들(기록용) (17)
    • 오늘의 영어공부 (0)
  • 방명록

전체 글 (170)
190711 GUI, EventHandler 예제

package GUITEST; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JFrame; public class MouseSample extends Frame { int i =0; Button button; Label label; public MouseSample() { //컴포넌트 생성 button = new Button("클릭"); label = new Label("0"); //컴포넌트를 프레임에 배치 this.setLayout(new FlowLayout()); //layout 클래스에 set 하는것 == setter this.add(button); //..

JAVA 2019. 7. 11. 12:01
190711 Interface

package prj190711; interface Fightable extends Moveable, Attackable{} interface Moveable { void move(int x, int y);} interface Attackable { void attack(UnitX u); } // Adapter 는 인터페이스와 다르게 모든걸 오버로딩 하는게 아니라 몇개만 골라서 할 수 있다. // 인터페이슨 강제적으로 구현된 모든것을 오버로딩 해야한다. class UnitX { int currentHP; int x; int y; } class Fighter extends UnitX implements Fightable{ public void move(int x, int y) { } public void ..

JAVA 2019. 7. 11. 11:06
190710 다형성 상속 예제

package prj190710; class Tire{ int maxRotation; //최대회전수 int acculatedRotation; //누적 회전수 String location; //타이어 위치 Tire(){} //초기 생성자 Tire(String location, int maxRotation){ //파라미터 2개 생성자 this.location = location; //타이어 위치 this.maxRotation = maxRotation; //최대 회전수 } public boolean roll() { //불린타입 메소드 ++acculatedRotation; //누적회전수 증가 if(acculatedRotation < maxRotation) {//누적회전수가 최대 회전수보다 작을때 실행 Syste..

JAVA 2019. 7. 10. 11:05
이전 1 ··· 22 23 24 25 26 27 28 ··· 57 다음
이전 다음
공지사항
  • 안녕하세요
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • js
  • IntelliJ #gradle #tomcat #spring #springmvc
  • spring error #
  • JSON
  • PageNotFound - No mapping for GET
  • 인텔리제이
  • no getter for property named
  • poi
  • 정규식 특수문자
  • 정규식 한글만
  • 정규식 숫자만
  • Spring
  • 이메일 정규식
  • jQuery
  • JSON날짜
  • SpringXmlModelInspection
  • JSON파싱
  • 계좌번호정규식
  • 공백찾기
  • POI EXCEL
  • Regex
  • mybatis
  • poi 엑셀
  • select제어
  • 정규식
  • ''찾기
  • Failed to load resource: the server responded with a status of 404 (Not Found)
  • spring 엑셀
  • selectbox
  • 엑셀다운로드
more
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바