Skip to content

Commit

Permalink
Update for cadoodle compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Harrington committed Jul 15, 2024
1 parent 12543ae commit 1b5f66d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 172 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import com.neuronrobotics.sdk.common.BowlerAbstractDevice;
import com.neuronrobotics.sdk.common.IConnectionEventListener;
import com.neuronrobotics.sdk.common.IDeviceConnectionEventListener;
import com.sun.javafx.scene.control.behavior.TabPaneBehavior;
import com.sun.javafx.scene.control.skin.TabPaneSkin;
//import com.sun.javafx.scene.control.behavior.TabPaneBehavior;
//import com.sun.javafx.scene.control.skin.TabPaneSkin;

import eu.mihosoft.vrl.v3d.CSG;
import javafx.application.Platform;
Expand Down Expand Up @@ -101,9 +101,9 @@ public void requestClose() {
BowlerStudioModularFrame.getBowlerStudioModularFrame().closeTab(this);
}
//
private TabPaneBehavior getBehavior() {
return ((TabPaneSkin) getTabPane().getSkin()).getBehavior();
}
// private TabPaneBehavior getBehavior() {
// return ((TabPaneSkin) getTabPane().getSkin()).getBehavior();
// }

public void setActive(boolean a){
active=a;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import javax.swing.text.Highlighter.HighlightPainter;

import javafx.application.Platform;
import javafx.embed.swing.MySwingNode;
//import javafx.embed.swing.MySwingNode;
import javafx.embed.swing.SwingNode;
import javafx.event.EventHandler;
import javafx.scene.layout.VBox;
Expand Down Expand Up @@ -282,7 +282,7 @@ public void mouseClicked(MouseEvent e) {

spscrollPane = new RTextScrollPane(textArea);

swingNode = new MySwingNode(this);
swingNode = new javafx.embed.swing.SwingNode();
// swingNode=new javafx.embed.swing.SwingNode();

getScripting().setFocusTraversable(false);
Expand Down
163 changes: 0 additions & 163 deletions src/main/java/javafx/embed/swing/MySwingNode.java

This file was deleted.

0 comments on commit 1b5f66d

Please sign in to comment.