±Û¾´ÀÌ :madehee 2000³â 4¿ù 24ÀÏ 18:15:05
In Reply to: [Áú¹®]½ºÀ®¿¡¼¿ä...¹öÆ°À» ´©¸£¸é ÇÁ·¡ÀÓÀ» »ý¼ºÇÏ´Â ¹æ¹ý posted by ÀÌÈñ¼® on 2000³â 4¿ù 24ÀÏ 05:47:15:
¿ì¼± Á¦°¡ °£´ÜÇÑ ¸Þ¸ðÀåÀ» ¸¸µé¾ú°Åµç¿ä..±×°É Âü°í·Î ¸»¾¸µå¸®ÁÒ..
¸Þ¸ðÀå¿¡¼ ã±â¹öÆ°ÀÌ ³ª¿À°í °Å±â¿¡ ã°íÀÚÇÏ´Â ±ÛÀÚ¸¦ ÀÔ·ÂÇÏ°í ¹öÆ°À» ´©¸£¸é ã±â¸¦ ½ÃÀÛÇϴ°ǵ¥..
Áú¹®ÇÏ½Å°Ô ÀÌ·± ±â´ÉÀÎ°Í °°³×¿ä..
public void actionPerformed(ActionEvent ae) {
Object source = ae.getSource();
..
..
else if (source.equals(exch)){
exchange = new ExchangeDialog(this);
exchange.show(); //ExchangeDialog¸¦ ³ªÅ¸³ª°Ô ÇÔ
}
exch´Â ¸Þ´º¿¡ Àִ ã±â¹öÆ°ÀÔ´Ï´Ù
ExchangeDialog´Â ã±â¸¦ À§ÇÑ ÇÁ·¹ÀÓÀ̱¸¿ä..
ã±â ´ÙÀ̾ó·Î±×...
class SerachDialog extends JDialog implements ActionListener {
....
....
public SerachDialog(JFrame parent) {
super(parent);
...
...
ÀÌ·±½ÄÀ¸·Î class¸¦ Çϳª ¸¸µé¾î È£ÃâÇÏ¸é µË´Ï´Ù.
µµ¿òÀÌ µÇ¼Ì´ÂÁö ¸ð¸£°Ú³×¿ä..
Ȥ½Ã ºÎÁ·ÇÏ´Ù »ý°¢ÇÏ½Ã¸é ¸ÞÀÏÀ» ÁÖ¼¼¿ä.
Á¦°¡ ¸¸µç ¸Þ¸ðÀå¼Ò½º¸¦ º¸³»µå¸®°Ú½À´Ï´Ù.
Àúµµ ¾ÆÁ÷ Ãʺ¸¿©¼ ¼Ò½º°¡ ¾û¸ÁÀÌÁö¸¸ µµ¿òÀÌ µÇ½Å´Ù¸é ±â²¨ÀÌ º¸³»µå¸±²²¿ä..
ÇູÇÑ ÇÏ·çµÇ½Ã±¸¿ä.