|||peter||
New member
- Katılım
- 15 Eyl 2006
- Mesajlar
- 1
- Reaction score
- 0
- Puanları
- 0
ARKADAŞLAR ,
Aşağıdaki sorularda bana yardım edebilecek biri varmı acaba .Acildir ve çok önemli.
arkadaşlar aşağıdaki soruları yanotlayabilirmisiniz gerçekten çok önemli yardım ederseniz sevinirim.
Expertise in
eclipse and its
menu's
We should learn all the parameters in Eclipse menus to fasten our talents
on that area.
Issue is
Browse "ALL" the menu items in eclipse, and learn what they are doing
....
File, edit, source, refactor, navigate, search, project, run, window, help
Next week you should be able to answer any questions regarding the
menu items. like for example
* "what does "source -> surround with -> try catch block" do?
* how do we change the JVM ?
* what is " Navigate -> open call hierarchy"
* what is "refactor -> convert local variable to field" ?
etc.
initial desktop
application
Now we are expertise in Eclipse and fundamentals of Java. It’s time to use this
knowledge in Java desktop application.
Below are the requirements
1) Write a swing based desktop application form, With fields and put a save
button. Task is, when save is pressed you will insert those data to database.
(definition is below)
name = text field
surname = text field
gender ( male/female ) checkbox.
2 ) Create a corresponding database table with 4 fields in postgresql
id (primary key, auto generated)
name
surname
gender
hint= do not forget to include postgresql jdbc to your project library.
3 ) Write another form with a table, and show button. when show button is pressed it will show the records in database inside the table.
sample exception
handling
You will have 3 classes, where the first one will have a method which throws
exception. The second class will call this method and throw the exception.
Finally the last one will call the method of second class and will print that to
screen.
Hope this specific class teaches you the notion of exception handling.
numeric textbox
– Inheritance
To learn the notion of inheritance, abstract etc.
You will extend the normal text box in the Java Swing and modify to accept
only integers.
You will test it by inserting keys
Reflection
Sample
write a small program to demonstrate the use of reflection. There will be two
different classes with the Writeout method, printing out their own name.
Another class will read the name of the class from standard input, will initialize
class with that name and call its writeout method and will list that class's
registered methods.
extend HashMap
to have
putChildrenValu
e method
HashMaps store "key" and corresponding object value.
You will extend this, HashMap to have HashMaps as an object. so, this inner
hashMap can also have key value pairs.
So it will be a tree with depth 2 ...It will be possible to define like
key = "HUSEYIN" value=HashMap which has -> "ID" = 5248
-> "LOCALE" = Turkish
key = "OGUZ" value=HashMap which has -> "ID" = 1234
-> "LOCALE" = Turkish
you will implement a putChildrenValue method with 3 parameters, String key,
String key, Object Value.
it will get the hashMap with the first key, and will insert the second key-value
pair to that inside HashMap.
update and delete
on previously
written program
Now it is time to add, update and delete functionality on the previously
written program.
* When there is a double click on the Table search row , it will open a
popup page which lists the details of that row.
It will have two buttons. Update and Delete.
* Update , will update the database row.
* Delete will delete that database row.
After successfully completing the database operation, the program will display a messagebox saying "Successfully completed" . When "ok" is pressed it will close the popup and will return to search screen.
Communication
Protocols - RMI
We made an example rmi application in the class. You may also find tutorials
in the web site
http://www.comp.hkbu.edu.hk/~jng/comp3320/rmi.html
The issue is making the following homework in the below link. This is one of
the homeworks in distributed system class at sabanci university,
http://people.sabanciuniv.edu/erkays/cs403/class_project.pdf
teşekkürler
Aşağıdaki sorularda bana yardım edebilecek biri varmı acaba .Acildir ve çok önemli.
arkadaşlar aşağıdaki soruları yanotlayabilirmisiniz gerçekten çok önemli yardım ederseniz sevinirim.
Expertise in
eclipse and its
menu's
We should learn all the parameters in Eclipse menus to fasten our talents
on that area.
Issue is
Browse "ALL" the menu items in eclipse, and learn what they are doing
....
File, edit, source, refactor, navigate, search, project, run, window, help
Next week you should be able to answer any questions regarding the
menu items. like for example
* "what does "source -> surround with -> try catch block" do?
* how do we change the JVM ?
* what is " Navigate -> open call hierarchy"
* what is "refactor -> convert local variable to field" ?
etc.
initial desktop
application
Now we are expertise in Eclipse and fundamentals of Java. It’s time to use this
knowledge in Java desktop application.
Below are the requirements
1) Write a swing based desktop application form, With fields and put a save
button. Task is, when save is pressed you will insert those data to database.
(definition is below)
name = text field
surname = text field
gender ( male/female ) checkbox.
2 ) Create a corresponding database table with 4 fields in postgresql
id (primary key, auto generated)
name
surname
gender
hint= do not forget to include postgresql jdbc to your project library.
3 ) Write another form with a table, and show button. when show button is pressed it will show the records in database inside the table.
sample exception
handling
You will have 3 classes, where the first one will have a method which throws
exception. The second class will call this method and throw the exception.
Finally the last one will call the method of second class and will print that to
screen.
Hope this specific class teaches you the notion of exception handling.
numeric textbox
– Inheritance
To learn the notion of inheritance, abstract etc.
You will extend the normal text box in the Java Swing and modify to accept
only integers.
You will test it by inserting keys
Reflection
Sample
write a small program to demonstrate the use of reflection. There will be two
different classes with the Writeout method, printing out their own name.
Another class will read the name of the class from standard input, will initialize
class with that name and call its writeout method and will list that class's
registered methods.
extend HashMap
to have
putChildrenValu
e method
HashMaps store "key" and corresponding object value.
You will extend this, HashMap to have HashMaps as an object. so, this inner
hashMap can also have key value pairs.
So it will be a tree with depth 2 ...It will be possible to define like
key = "HUSEYIN" value=HashMap which has -> "ID" = 5248
-> "LOCALE" = Turkish
key = "OGUZ" value=HashMap which has -> "ID" = 1234
-> "LOCALE" = Turkish
you will implement a putChildrenValue method with 3 parameters, String key,
String key, Object Value.
it will get the hashMap with the first key, and will insert the second key-value
pair to that inside HashMap.
update and delete
on previously
written program
Now it is time to add, update and delete functionality on the previously
written program.
* When there is a double click on the Table search row , it will open a
popup page which lists the details of that row.
It will have two buttons. Update and Delete.
* Update , will update the database row.
* Delete will delete that database row.
After successfully completing the database operation, the program will display a messagebox saying "Successfully completed" . When "ok" is pressed it will close the popup and will return to search screen.
Communication
Protocols - RMI
We made an example rmi application in the class. You may also find tutorials
in the web site
http://www.comp.hkbu.edu.hk/~jng/comp3320/rmi.html
The issue is making the following homework in the below link. This is one of
the homeworks in distributed system class at sabanci university,
http://people.sabanciuniv.edu/erkays/cs403/class_project.pdf
teşekkürler