🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.java.programmer
1 messages
1 total messages Started by Frank Halsema Tue, 21 Sep 1999 00:00
Data Error Warning Dialog
#413
Author: Frank Halsema
Date: Tue, 21 Sep 1999 00:00
15 lines
1289 bytes
I am trying to implement a dialog warning of invalid data when I exit a
textfield. I can pop up the warning but when I click on the ok button in
the dialog I want the focus to go back to the textfield with the error.
Presently when I lose focus I check the data and pop up a modal dialog.
The next line of code after d.show() is a textfield.requestFocus(). I
see that behind the dialog my textfield get the focus. However, when I
click on ok in the dialog it loses focus and I am back at the top of the
parent frame.

I have tried a number of logic paths but none work. Does anyone know
where I can get a sample that does this?

Thank!!
Frank Halsema
frankh@insynclh.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads