本文整理匯總了Java中net.sf.memoranda.Start類的典型用法代碼示例。如果您正苦於以下問題:Java Start類的具體用法?Java Start怎麽用?Java Start使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Start類屬於net.sf.memoranda包,在下文中一共展示了Start類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: setUp
import net.sf.memoranda.Start; //導入依賴的package包/類
@Before
public void setUp() throws Exception {
application(Start.class).start();
AppFrame notesFrame = GuiActionRunner.execute(() -> new AppFrame());
window = new FrameFixture(notesFrame);
window.show();
}
示例2: start
import net.sf.memoranda.Start; //導入依賴的package包/類
@Before
public void start() throws Exception {
application(Start.class).start();
AppFrame notesFrame = GuiActionRunner.execute(new Callable<AppFrame>() {
public AppFrame call() throws Exception {
return new AppFrame();
}
});
window = new FrameFixture(notesFrame);
window.show();
}
示例3: setUp
import net.sf.memoranda.Start; //導入依賴的package包/類
@Before
public void setUp() throws Exception {
application(Start.class).start();
AppFrame notesFrame = GuiActionRunner.execute(() -> new AppFrame());
window = new FrameFixture(notesFrame);
//window.show();
}
示例4: setUp
import net.sf.memoranda.Start; //導入依賴的package包/類
@Before
public void setUp() throws Exception {
if (SystemTray.isSupported()) {
// Formally start the software
Start.main(new String[]{""});
// Wait until the frame is actually active before proceeding
// on any tests
while (!(App.getFrame().isActive()))
Thread.sleep(100);
}
}