Friday 15 July 2011

How to change Tabs using JavaFX by outside event handler? -



How to change Tabs using JavaFX by outside event handler? -

building application in phone interacts pc application. application (which has gui on pc side) appears javafx tabbed pane. going "listen" event "a" comes phone. when event "a" occurs, alter tabs on tabbed pane (pc side). there way can implement listener overload existing clickable tabs, event "a" can alter between tabs?

i hope not overly confusing. want application to alter panes separate event. don't know start since details of tabbed pane hidden in api. in advance.

karl

if understood question, try

public void myeventahandler() { tabpane.getselectionmodel().select(desired_tab_index); }

events tabs javafx actionlistener

No comments:

Post a Comment