21. NetBeans GUI Builder

Lab Exercises


Exercise 1: Create ContactEditor GUI using NetBeans GUI Builder

더보기






Exercise 2: Add Event Handlers to GUI Components

더보기


 


Homework Exercise (for people who are taking Sang Shin's "Java Programming online course")


1. The homework is to modify the NumberAddition project to add Subtract button.  The Subtract button subtracts the value of the Second Number field from the value of the First Number field and displays the result in the Result field.  (You might want to create a new project by copying the MyNumberComputer project.  You can name the homework project in any way you want but here I am going to call it MyNumberComputer.)

Note: If you are taking the "
Real World Technologies: NetBeans GUI Builder, JRuby, JavaFX, and Java ME" course, please submit the homework as described here.

2. Send the following files to javaprogramminghomework@sun.com with Subject as JavaIntro-nbguibuilder.
  • Zip file of the the MyNumberComputer NetBeans project.  (Someone else should be able to open and run it as a NetBeans project.)  You can use your favorite zip utility or you can use "jar" utility that comes with JDK as following.
    • cd <parent directory that contains MyNumberComputer directory> (assuming you named your project as MyNumberComputer)
    • jar cvf MyNumberComputer.zip MyNumberComputer (MyNumberComputer should contain nbproject directory)
  • Captured output screen  - name it as JavaIntro-nbguibuilder.gif orJavaIntro-nbguibuilder.jpg (or JavaIntro-nbguibuilder.<whatver graphics format>)
    • Any screen capture that shows that your program is working is good enough.  No cosmetic polishment is required.
  • If you decide to use different IDE other than NetBeans, the zip file should contain all the files that are needed for rebuilding the project.

저작자 표시

'BOOK Study > JAVA' 카테고리의 다른 글

23. Java Serialization  (0) 2010/01/11
22. Java Stream I/O  (0) 2010/01/10
21. NetBeans GUI Builder  (0) 2010/01/09
20. Java Swing  (0) 2010/01/09
19. Using Java Collection Frameworks  (0) 2010/01/09
18. Garbage Collection Basics  (0) 2010/01/09
Trackback 0 Comment 0