* display<p>
* <p>
*/
public void display() {
WinA a = new WinA();
WinB i = new WinB();
Column.set(a, 1);
Row.set(a, 1);
Parent.set(a, this.getqq_contain());
Column.set(i, 1);
Row.set(i, 2);
Parent.set(i, this.getqq_contain());
UserWindow.open(this);
// ----------
// Event Loop
// ----------
EventManager.startEventLoop();
try {
EventRegistration TaskHandle_Shutdown_langThreadcurrentThread = ClientEventManager.register( Thread.currentThread(), "Shutdown" );
EventRegistration MenuCommand_Activate_getqq_showHide = ClientEventManager.register( this.getqq_showHide(), "Activate" );
while (true) {
UIutils.processGUIActions();
EventHandle qq_currentEvent = EventManager.waitForEvent();
if (qq_currentEvent == null)
break;
// -------------
// task.Shutdown
// -------------
if (qq_currentEvent.isEvent(TaskHandle_Shutdown_langThreadcurrentThread)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
break;
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -------------------
// <showHide>.activate
// -------------------
else if (qq_currentEvent.isEvent(MenuCommand_Activate_getqq_showHide)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
if (WidgetState.get((JComponent)i.getqq_aB()) != Constants.FS_INVISIBLE) {
WidgetState.set((JComponent)i.getqq_aB(), Constants.FS_INVISIBLE);
MenuText.set(this.getqq_showHide(), "Show");
}
else {
WidgetState.set((JComponent)i.getqq_aB(), Constants.FS_INACTIVE);
MenuText.set(this.getqq_showHide(), "Hide");
}
// ================ End Forte Event Handler Translation ================
}
finally {