GUI
-
SwingGUI/Window 2013. 7. 23. 19:00
java.awt.Container -> java.awt.Component.setLayout()java.awt.Window -> java.awt.Container.pack().setVisible().show()java.awt.Frame -> java.awt.Windowjavax.swing.JFrame -> java.awt.Frame.EXIT_ON_CLOSE .setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE).getContentPane() // java.awt.Container javax.swing.JOptionPane.showMessageDialog().showConfirmDialog().showInputDialog() .showOptionDialog() javax.swi..
-
SwingGUI/컨트롤 2013. 7. 22. 00:18
*javax.swing.UIManager.getSystemLookAndFeelClassName() // static.getCrossPlatformLookAndFeelClassName() // static.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel") // static"swing.defaultlaf" javax.swing.SwingUtilities.updateComponentTreeUI() // static * 이벤트 리스너java.awt.event.ActionEvent -> java.awt.AWTEvent.getActionCommand() // 문자열 java.awt.event.ComponentEvent -> java.awt.A..
-
SwingGUI/사양 2013. 7. 21. 23:50
자바 2 플랫폼 스윙 1.1 // 자바 1.2 java.awt.Container -> java.awt.Component.add() java.awt.Window -> java.awt.Container java.awt.Frame -> java.awt.Window javax.swing.JFrame -> java.awt.Frame.EXIT_ON_CLOSE .setLayout().setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)javax.swing.JButton -> javax.swing.AbstractButtonimport java.awt.*;import javax.swing.*; public class SwingTest02{static class JFrameTest exten..
-
자바GUI/GDI 2013. 7. 17. 15:38
java.awt.Dimension java.awt.Color.black // final static.red // final static.GREEN.green // final static.yellow // final static.blue // final static java.awt.Font.BOLD java.awt.FontMetrics.getAscent() java.awt.ImageToolkit.getDefaultToolkit().getImage() java.awt.Graphics.getGraphics().setColor().setFont().drawString().drawLine().drawRect().fillRect().drawRoundRect().fillOval().drawPolygon().drawI..
-
wxWidgetsGUI/설정 2013. 7. 8. 16:09
* 비쥬얼 스튜디오 2005 - Windows 71. 여기에서 wxMSW(wxMSW-2.8.12-Setup.exe)를 다운받아 실행해서 소스 코드를 설치한다.2. 비쥬얼 스튜디오에서 c:\wxWidgets-2.8.12\build\msw\wx.dsw를 열어서 프로젝트를 변환한다.3. 프로젝트 빌드(Debug)4. c:\wxWidgets-2.8.12\samples\samples.dsw를 열어서 마찬가지 방법으로 build 참조 사이트:c:\wxWidgets-2.8.12\docs\msw\install.txthttp://wanochoi.com/?p=244http://yiunsr.tistory.com/638http://dstein.egloos.com/viewer/2864277http://andmemories-te..
-
wxWidgetsGUI/GDI 2013. 7. 4. 03:15
wxColour wxBrush wxBitmap wxDC wxMemoryDC -> wxDC.SelectObject().SetBrush().DrawRectangle().DrawCircle() wxPaintDC -> wxDC.SetBrush().DrawCircle().Blit() wxWindow.OnPaint // virtual? .Refresh().RefreshRect().Update().GetClientSize() wxFrame#include "wx/wx.h" class MyFrame : public wxFrame{public:MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, long style = wxDEFAULT_FRAME_S..