Skip to content

Commit

Permalink
Update EntityTreePanelTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
i-make-robots committed Nov 22, 2023
1 parent 7aa48b5 commit 2d050f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public class EntityTreePanelTest {
public void setUp() {
Translator.start();
UndoSystem.start();
Robot robot = BasicRobot.robotWithNewAwtHierarchy();
entityManager = new EntityManager();
panel = new EntityTreePanel(entityManager);

JFrame frame = new JFrame();
frame.setContentPane(panel);
frame.pack();
window = new FrameFixture(robot, frame);
window = new FrameFixture(BasicRobot.robotWithNewAwtHierarchy(), frame);
window.show(); // shows the frame to test
}

Expand Down

0 comments on commit 2d050f0

Please sign in to comment.