java - combine multiple windows to a single window -
i developing application have following windows
if information entered in windows correct user prompted windows in above sequence. customer has demanded me user interface.
now have add these windows in last window format, specification's user allowed in 2nd portion of last image if first information entered correct.and user when launches app see last image , can change values time in respective portions of last window. have coded in swing java.i new java. working in netbeans 7.1.2 have 3 files 1)login.java -containing logindemo class have main , form object of extended jframe class -login class extending j frame , implementing action listener(this class creates j frame of next file enter information. 2)algorithm.java creates new j frame object of next file if information correct. 3)travellingsalesmanproblem.java gives output shown in optimal travel route window. accessing information using rest call website. can me in this?
this depend on how structured code. if placed components directly onto the windows/frames themselves, might in work.
alternatively, if used panels, placed onto windows, might save time.
anyway. assuming have windows.
for each window mylastwindow.add(window.getcontentpane());
this pretty simple, you'll need know layout want. i'd suggest gridlayout or verticallayout swingx project.
Comments
Post a Comment