Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ public Test() {
*/
@Test
public void test_JToolBar_ActionExternalEntryInfo() throws Exception {
assumeFalse(EnvironmentUtils.IS_WINDOWS);
createExternalAction();
final ContainerInfo panel = openContainer("""
public class Test extends JPanel {
Expand All @@ -253,6 +252,7 @@ public Test() {
{new: java.awt.BorderLayout} {empty} {/setLayout(new BorderLayout())/}
{new: javax.swing.JToolBar} {local-unique: toolBar} {/new JToolBar()/ /add(toolBar, BorderLayout.NORTH)/}""");
panel.refresh();
waitEventLoop(100);
JToolBarInfo toolBar = (JToolBarInfo) panel.getChildrenComponents().get(0);
// load "action" tool
new UiContext().executeAndCheck(new FailableRunnable<>() {
Expand All @@ -262,7 +262,6 @@ public void run() throws Exception {
entry.initialize(m_viewerCanvas, panel);
Tool tool = entry.createTool();
m_viewerCanvas.getEditDomain().setActiveTool(tool);
waitEventLoop(0);
}
}, new FailableConsumer<>() {
@Override
Expand Down
Loading