Results 1 to 7 of 7
- 09-15-2008, 09:01 PM #1
Member
- Join Date
- Sep 2008
- Posts
- 5
- Rep Power
- 0
DialogPage needs to go in and out of focus
Hello all,
I was hoping someone could tell me if its possible to allow the user to decide what has focus on their screen even when using a DialogPage. The problem is my users need to see other information to fill in the DialogPage. The current setup has the DialogPage in full power of the screen unless they close it or finish filling it in and click ok. I want it to stay open and be accessable but allow the user to access other screens.
I would rather not rewrite the whole page, so any help would be deeply appriciated.
- 09-15-2008, 09:24 PM #2
there is something called focus traversal in the awt or JStuff - we can help you further but percholate for focus traversal for a moment.
Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
- 09-16-2008, 03:04 AM #3
Is your dialog window modal? Have you tried it non-modal? Is that the effect you want? Then you'll need a way to have the calling program receive what was input to the dialog. Perhaps a callback from the dialog to the main program.
- 09-16-2008, 06:03 PM #4
Member
- Join Date
- Sep 2008
- Posts
- 5
- Rep Power
- 0
It acts modal, I believe that is a default setting that I've been trying to unset. Another when it is done so the callback is already in there. I just need to find the secret to changing a Dialogbox to non-modal or to not force focus. One of those might work if anyone knows the answer.
- 09-16-2008, 06:45 PM #5
If you are using a Dialog, then modal is one of its parameters.
If you are using some other class, read the API doc for it to see if it has a modal param.
What class are you using?
- 09-16-2008, 09:42 PM #6
Member
- Join Date
- Sep 2008
- Posts
- 5
- Rep Power
- 0
"public class mySearchPage extends DialogPage implements ISearchPage, ISearchPageView, ViewListener". ISearchPage appears to be a homemade abstract but there isn't much to it.
- 09-17-2008, 12:26 AM #7
Similar Threads
-
set focus to the textfield
By paty in forum New To JavaReplies: 2Last Post: 07-09-2010, 08:28 AM -
Get Focus on Image button
By diva_garg in forum SWT / JFaceReplies: 0Last Post: 08-08-2008, 11:14 AM -
Focus Traversal Demo in SWT
By Java Tip in forum SWTReplies: 0Last Post: 07-07-2008, 04:37 PM -
how to focus to another JTextfield?
By birdofprey in forum AWT / SwingReplies: 2Last Post: 04-09-2008, 01:08 PM -
Focus
By Marty in forum AWT / SwingReplies: 1Last Post: 05-31-2007, 02:16 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks