Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Right Aligned ToolBar Control - Spacer issue

wzbergerSep 3 2013

When adding a right aligned control to a toolbar I have to add a sping/spacer as described here - however, when an overflow button appears the spacer component is selectable in the overflow popup menu. Is there any way to avoid this behavior? The test below demonstrates the issue.

//see: http://www.oracle.com/technetwork/articles/java/javafxbest2-1634274.html

//section: Implementing Springs and Struts in the UI

public class ToolBarOverflowTest extends Application

{

  public static void main(String[] args)

  {

    Application.launch(ToolBarOverflowTest.class, args);

  }

  @Override

  public void start(Stage stage)

  {

    System.err.println(System.getProperty("javafx.runtime.version"));

    ToolBar toolBar = new ToolBar();

    for (int i = 1; i<6; i++)

      toolBar.getItems().add(new Button("ToolBarButton " + i));

    Region spring = new Region();

    HBox.setHgrow(spring, Priority.ALWAYS);      

    toolBar.getItems().add(spring);

    toolBar.getItems().add(new Button("Right ToolBarButton"));  

    BorderPane root = new BorderPane();

    root.setTop(toolBar);

    Scene scene = new Scene(root, 400, 300);

    stage.setScene(scene);

    stage.show();

  }

}

Comments

thatJeffSmith-Oracle
Here's our documentation for Informix migrations
http://www.oracle.com/technetwork/products/migration/informix-085032.html
1010657
Hi im same situation.
but i not find driver JDBC of informix 11.50 for Oracle Migration Workbench
thatJeffSmith-Oracle
You won't be able to use the Migration Workbench or SQL Developer to assist with a migration using that version of Informix unfortunately.
1010657
OK, but, you could indicate some other tool?
thatJeffSmith-Oracle
Ispirer has a migration product, but it doesn't support 11 either, it goes to version 10 though.
Have a look at SQLines Data (http://www.sqlines.com/informix-to-oracle), the tool supports migration from Informix 11 to Oracle.

Dmitry
1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 1 2013
Added on Sep 3 2013
0 comments
2,168 views