일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- react native #gradle
- '티스토리 초대장/ 티스토리초대'
- 유니옥션
- Path Alias
- 음료같은녹즙
- 실행시간 측정
- 네이버 클라우드 플랫폼
- code 설치
- 초대장
- GitLab Mirroring
- settings sync
- eslint-import-resolver-typescript
- GitLab미러링
- visual studio code cli
- currentTimeMillis
- code 세팅
- 티스토리 초대장
- GitHub Mirroring
- React Native
- 프리티어
- 티스토리 초대장/ 티스토리초대
- visual studio code
- code .
- 프레시업 #풀무원 #하루한병 #건강만들기 #풀무원 녹즙
- GitHub 미러링
- gitlab 연동
- webstorm
- 티스토리초대
- Emmet
- 니돈내먹
- Today
- Total
목록분류 전체보기 (105)
방치하기
import java.util.*; class Stu{ private String name; private int age; Stu(String name,int age) { this.name=name; this.age=age; } Stu(int age,String name) { this.name=name; this.age=age; } Stu() { } void setName(String name) { this.name=name; } String getName() { return name; } void setAge(int age) { this.age=age; } int getAge() { return age; } public String toString() { StringBuffer str=new Strin..
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class KeyDemo extends JFrame implements KeyListener { private String [] area={"한국","중국","미국","미국","일본","캐나다","호주","러시아","프랑스","사우디"}; private String line1; private JTextField text; private JLabel jh; public KeyDemo() { super( "Demonstrating Keystroke Events" ); jh=new JLabel("숫자를 입력하세요"); text=new JTextField(20); setLayout(..
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CalculatorGUI extends JFrame implements ActionListener{ JTextField lblPrint; Calculator cc = new Calculator(); boolean flag; public CalculatorGUI(String title){ super(title); JPanel panel = new JPanel(new BorderLayout()); lblPrint = new JTextField(); panel.add(lblPrint,BorderLayout.NORTH); JPanel panelCal= new JPanel(..
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Calculator extends JFrame { static int c; static int i=0; StringBuffer mem01=new StringBuffer(); StringBuffer mem02=new StringBuffer(); char mem03='v'; char [] in=new char [10]; //숫자 입력받는곳 private JTextField input; //각 버튼들 private Button []btn = new Button[23]; //각 버튼에 들어갈 이름 private String btnText[] = { "BackSpace", ..
import javax.swing.*; import javax.swing.event.*; import java.util.*; public class ListTest extends JFrame { private JTextField text; private JList colorList; Random ra =new Random(System.currentTimeMillis()); private Container container; private final String colorNames[] = { "Black", "Blue", "Cyan", "Dark Gray", "Gray", "Green", "Light Gray", "Magenta", "Orange", "Pink", "Red", "White", "Yellow..
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Add extends JFrame { private JButton addButton, printButton; Panel pan01,pan02; JTextField text01,text02; StringBuffer str=new StringBuffer(); public Add() { super( "이름추가" ); text01 = new JTextField( 5 ); text02 = new JTextField( 10 ); text02.setEditable(false); Container container = getContentPane(); container.setLay..
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TextFieldTest extends JFrame { static String string = ""; static String string2 = ""; private JTextField textField1, textField2, textField3; public TextFieldTest() { super( "Testing JTextField and JPasswordField" ); Container container = this.getContentPane(); container.setLayout( new GridLayout(3,2) ); JLabel label=n..
import java.awt.event.*; import java.awt.*; class Fram extends Frame { public Fram(){ super("윈도우 이벤트"); setLayout(null); Button btn=new Button("버튼"); btn.setBounds(50,50,16,10); add(btn); setSize(300,200); setVisible(true); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e){ dispose(); System.exit(0); } } ); } } class Frame2 extends Frame { public static void main(S..
import java.awt.event.*; import java.awt.*; class Fram extends Frame { Panel pan01,pan02,pan03; public Fram(){ super("윈도우 이벤트"); pan01 =new Panel(); pan02 =new Panel(); pan03 =new Panel(); pan01.setBackground(Color.green); pan02.setBackground(Color.red); pan03.setBackground(Color.black); add(BorderLayout.NORTH,pan01); add(BorderLayout.CENTER,pan02); add(BorderLayout.EAST,pan03); pan01.add(new Bu..
import java.awt.event.*; import java.awt.*; class Fram extends Frame { public Fram(){ super("윈도우 이벤트"); //setLayout(new FlowLayout()); 플로우 레이아웃 //setLayout(new GridLayout(3,2));그리드 레이아웃 setLayout(new BorderLayout()); add(new Button("button 01"),"East"); add(new Button("button 01"),"West"); add(new Button("button 01"),"Center"); add(new Button("button 01"),"North"); add(new Button("button 01"),"S..