I recently faced Java Practical Exam. The problem given this time was:
Make a Java applet program to meet following requirements:
(I have made a untidy sketch. Refer to it.)
Well I had the whole program done and HERE is the link.
Make a Java applet program to meet following requirements:
(I have made a untidy sketch. Refer to it.)
- Keep two multiple choice lists.
- keep four buttons ">",">>","<","<<" between lists.
- When ">" button is pressed, the All selected items from Multiple choice list 1 should be moved from Multiple choice list 2.
- When ">>" button is pressed, All items from Multiple choice list 1 should be moved to list 2.
- When "<" button is pressed, the All selected items from Multiple choice list 2 should be moved from Multiple choice list 1.
- When "<<" button is pressed, All items from Multiple choice list 2 should be moved to list 1.
- There should be a text box to enter items.
- Keep add button besides text box so that when button is pressed text entered in text box should be entered as element in list 1.
- If entry in textbox is same as another entry in List 1, it should not be added to list.(duplicates not allowed).
- Everytime user presses Add button, Text box should be cleared to blank.
- The items in both lists should be sorted at all the time. Two radio buttons "Ascending" and "descending" should decide the elements to be sorted in Ascending or descending order.
- Even while inserting element in list, it should be inserted at proper position so that list remains sorted after insertion.
Well I had the whole program done and HERE is the link.
Is it fully functional? I mean for all of what was asked in exam?
ReplyDeleteYeah every functionality is implemented. Only Layout needs to be taken care of..
ReplyDeletekay!!
ReplyDelete