:confused:
I have two problems :-
i) I want to prompt dialog box when a user exits the JFrame.
ii) I want to set date picker kind option in a column of JTable.
Kindly help me in this regard.
Thanks in advance.
:)
Printable View
:confused:
I have two problems :-
i) I want to prompt dialog box when a user exits the JFrame.
ii) I want to set date picker kind option in a column of JTable.
Kindly help me in this regard.
Thanks in advance.
:)
1)
here are java example for window listener
http://java.sun.com/docs/books/tutor...EventDemo.java
try to read and modify it to your need
http://java.sun.com/docs/books/tutor...wlistener.html
2)
do you have any idea about the date picker?
it should may several JPanels and many JButtons with actionListener
you may also use JComboBox for fast select Month, Year, but you need to handle more stuff
I dont know anything about Date Picker.
How combo box can be used for selecting day,month and year in a single cell of JTable??
Thanks for ur concern and time.
:)
add to listen to actionlistener in table cell
when user click that table cell, there may be a JPanel, apperears under the table cell, with Date Picker functions
i think JCalendar is a good exmaple, you may download the src and study the code as reference
JCalendar Java Bean, a Java Date Chooser
remember to vist Java Platform SE 6 if needed
thanks for your valuable suggestion in solving my problem
I donot know how to mark thread as SOLVED .
Please do me a favour by telling me how to mark a thread SOLVED.
Thanks a lot again.
Neha
under "POST REPLY" button
inside Thread Tools