Two Laptop Bag
The moose likes Swing / AWT / SWT and the fly likes Preference dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Preference dialog" Watch "Preference dialog" New topic
Author

Preference dialog

Janett Vollst�dt
Greenhorn

Joined: Aug 08, 2007
Posts: 3
Hello,

there is a new question.

In my application I have written a preference Dialog with two pages. What ,must I do, for opening the dialog with the focus on the page two.
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 1154
    
    3

What do you mean by "with 2 pages" are you using CardLayout or JTabbedPane or some other mechanism to display different pages?
Janett Vollst�dt
Greenhorn

Joined: Aug 08, 2007
Posts: 3
The Preference dialog what I mean, is the preference Dialog which is defined in the package org.eclipse.jface.preference.preferenceDialog. this is the same dialog when you click in the eclipse IDE on Windows -> preferences. But in my dialog there are only two pages. And when i will open the dialog over the button. the focus should have the page 2. How can I realize this?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Preference dialog
 
Similar Threads
clarification about Dialog container
Reg ComboBoxes
Assert stmt in Eclipse
Label Printing Chalenge
Print a dialog box