Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Java Native Interfaces with SWT/JFace Discuss the book Professional Java Native Interfaces with SWT/JFace, by Jackwind Li Guojie, ISBN: 0-470-09459-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Java Native Interfaces with SWT/JFace section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 29th, 2005, 05:17 AM
Registered User
 
Join Date: Sep 2005
Location: Plovdiv, , Bulgaria.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Liliana_H
Default JFace wizard problem

Hi, I am developing a JFace wizard for converting a MySQL DB to Oracle DB. I need to check the user parameters for connecting to the MySQL DB first before I let the user proceed. And than again handle a similar situation for the Oracle DB. Generally I'd like to do that when the user clicks on the Next button. But the problem is that I've added ModifyListeners to the text fields the user is filling with the needed prameters(user name, psw etc.) so that I can invoke setPageComplete() when all the fields are filled. The problem is that setting setPageComplete(true) invokes immediately the method getNextPage() defined in my Wizard class. This behaviour is odd to me - I thought this method is invoked only when the user clicks the Next button. And it does indeed - so getNextPage() is invoked twice in my application. I am totally confused. Does anyone have a clue what I am doing wrong and what is the appropriate approach for this problem. I am new to SWT/JFace and I'm probably doing somthing awfully wrong... I am racking my brains on this problems for two days now.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arabic problem when use upsizing wizard naeem.net SQL Server 2005 1 June 3rd, 2008 02:33 PM
[2.0] [create user wizard problem] manju.cdtech ASP.NET 2.0 Professional 0 May 9th, 2007 01:09 AM
Wizard Control Problem everest ASP.NET 2.0 Professional 0 December 19th, 2006 12:38 PM
wizard problem AAP Access 0 November 18th, 2003 12:46 PM



All times are GMT -4. The time now is 08:45 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.