Welcome!
登入
註冊
美寶首頁
美寶百科
美寶論壇
美寶落格
美寶地圖
首頁
>
學涯 / Cultivation Career
>
學門 Academy
>
程式設計
Advanced
程式設計
作者:
主旨:
Tags:
Message:
RandomVariable Wrote: ------------------------------------------------------- > 目錄 > 101. 視窗個數控制 > 102. 說定視窗標題 > 103. 變便視窗大小/a> > 104.檔案選取 > 105. 調色盤 > 106. 元件相對位置 > 107. 2D雪人繪圖 > 108. 繪製圖形 > 109. 畫筆功能 > 110.問卷調查 > > > 101. 視窗個數控制 > > 原始檔: > > > > 結果檔: > > > > > 執行結果: > > > > How to Make Frames (Main Windows) > > Frame API > > > (1) Creating and Setting Up a Frame > JFrame() > JFrame(String) > Constructor > String: Title > > void setDefaultCloseOperation(int) > int > getDefaultCloseOperation() > Possible Argument for the int: > > WindowConstants.DO_NOTHING_ON_CLOSE > WindowConstants.HIDE_ON_CLOSE > WindowConstants.DIPOSE_ON_CLOSE > > JFrame.EXIT_ON_CLOSE > > > > void setTitle(String) > String getTitle() > ( in Frame) > > > > > void setIconImage(Image) > Image getIconImage() > ( in Frame) > > > > > > void setUndecorated(boolean) > boolean isUndecorated() > ( in Frame) > > > > > > static void > setDefaultLookAndFeelDecorated(boolean) > static boolean > isDefaultLookAndFeelDecorated() > ( in Frame) > > > > > (2)Setting the Window Size and Loation > > > void pack() > in Window > > > > > void setSize(int, int) > void setSize(Dimension) > Dimension getSize() > (in Component) > > > > > > > > > How to Write Window Listeners > > 回到目錄 > > > 102. 說定視窗標題 > > 原始檔: > > > > 結果檔: > > > > > 執行結果: > 一開始: > > 按一前關閉鈕: > > > > > Responding to Window-Closing Events > > Using Top-Level Containers > > The JComponent Class > > > > 回到目錄 > > > 103. 變便視窗大小 > > 103. 變便視窗大小 > 原始檔: > > > 結果檔: > > > > > 執行結果: > 剛開始 > > 按其中一個鈕後 > > > > > Oracle JAVA Document : > > JOption的用法:JOption > How to Make Dialogs > > > 回到目錄 > > > > > 104.檔案選取 > > > 原始檔: > > > 結果檔: > > > > > 執行結果: > 一開始 > > 沒選任何檔案 > > > > > How to Use File Choosers > > 回到目錄 > > > 105. 調色盤 > > > 原始檔: > > > > 結果檔: > > > > > 執行結果: > 一開始 > > 選擇某一顏色 > > 確定該顏色 > > > > > How to Use Color Choosers > > 回到目錄 > > > 106. 元件相對位置 > > > 原始檔: > > > > 結果檔: > > > > 執行結果: > 一開始: > > 放大後: > > 回到目錄 > > > > > > > 107. 2D雪人繪圖 > > > 原始檔: > > > 結果檔: > > > > 執行結果: > > > > Lesson: Getting Started with Graphics > Lesson: Performing Custom Painting > > 回到目錄 > > > > > 108. 繪製圖形 > > > 原始檔: > > > > 結果檔: > > > > > 執行結果: > > > > > How to Use Panels > > 回到目錄 > > > > > 109. 畫筆功能 > > > 原始檔: > > > > 結果檔: > > > > > 執行結果: > > 回到目錄 > > > > > 110.問卷調查 > > 原始檔: > > > > > 結果檔: > > > > > > > > 執行結果: > > > > > Lesson: Writing Event Listeners >