Roelf
07-11-2005, 11:18 AM
For development of an application, i have to create a stub for another application. The interface for this application is predefined, so can't touch that. Everything has to run in a Windows environment, i use Eclipse as an IDE.
What have is the following. On several places in my appl, the stub is to be called. Data-transfer between the applications is done by a packed Hashtable. Every object in the table, is a String.
On a certain moment within the interfacing, a go() method is called.
What i need to do, is give an implementation to this method so it opens a Window where i can edit the values in this Hashtable. The contents of this Hashtable is not the same on every call so i have to create a UI on the fly, where every key in the Hashtable is displayed by a label and every value in the Hashtable is displayed as a textbox with content.
After this i have to refill the Hashtable with the values entered or changed in the UI.
All interactions with the Hashtable i can manage myself, but creating a UI is another piece of cake. Which package do i use, awt or swing? How do i create a window (in vb it would be a form) which i fill with the neccesary labels and textboxes? My knowledge of creating UI in Java is not sufficient to do it in a little amount of time, don't have the time to study all i need to know either, so....
Any help is welcome!
Roelf
What have is the following. On several places in my appl, the stub is to be called. Data-transfer between the applications is done by a packed Hashtable. Every object in the table, is a String.
On a certain moment within the interfacing, a go() method is called.
What i need to do, is give an implementation to this method so it opens a Window where i can edit the values in this Hashtable. The contents of this Hashtable is not the same on every call so i have to create a UI on the fly, where every key in the Hashtable is displayed by a label and every value in the Hashtable is displayed as a textbox with content.
After this i have to refill the Hashtable with the values entered or changed in the UI.
All interactions with the Hashtable i can manage myself, but creating a UI is another piece of cake. Which package do i use, awt or swing? How do i create a window (in vb it would be a form) which i fill with the neccesary labels and textboxes? My knowledge of creating UI in Java is not sufficient to do it in a little amount of time, don't have the time to study all i need to know either, so....
Any help is welcome!
Roelf