本文整理汇总了Java中org.fest.swing.edt.FailOnThreadViolationRepaintManager类的典型用法代码示例。如果您正苦于以下问题:Java FailOnThreadViolationRepaintManager类的具体用法?Java FailOnThreadViolationRepaintManager怎么用?Java FailOnThreadViolationRepaintManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FailOnThreadViolationRepaintManager类属于org.fest.swing.edt包,在下文中一共展示了FailOnThreadViolationRepaintManager类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: setUpOnce
import org.fest.swing.edt.FailOnThreadViolationRepaintManager; //导入依赖的package包/类
@BeforeClass
public static void setUpOnce()
{
FailOnThreadViolationRepaintManager.install();
// Hooks up system.exit to an exception
noExitSecurityManagerInstaller = NoExitSecurityManagerInstaller.installNoExitSecurityManager();
}
开发者ID:ArticulatedSocialAgentsPlatform,项目名称:HmiCore,代码行数:9,代码来源:DefaultFestDemoTester.java
示例2: setUpOnce
import org.fest.swing.edt.FailOnThreadViolationRepaintManager; //导入依赖的package包/类
@BeforeClass
public static void setUpOnce() {
FailOnThreadViolationRepaintManager.install();
noExitSecurityManagerInstaller = NoExitSecurityManagerInstaller.installNoExitSecurityManager(new ExitCallHook() {
public void exitCalled(final int status) {
Assert.assertEquals("Bad exit status", 0, status);
}
});
}
开发者ID:jpschewe,项目名称:fll-sw,代码行数:10,代码来源:SubjectiveFrameTest.java
示例3: setUpOnce
import org.fest.swing.edt.FailOnThreadViolationRepaintManager; //导入依赖的package包/类
/**
* @see <a href="http://docs.codehaus.org/display/FEST/Testing+that+access+to+Swing+components+is+done+in+the+EDT">this</a>
*/
@BeforeClass
public static void setUpOnce()
{
FailOnThreadViolationRepaintManager.install();
}
开发者ID:metasfresh,项目名称:metasfresh,代码行数:9,代码来源:FestSwingTest.java
示例4: setUpClass
import org.fest.swing.edt.FailOnThreadViolationRepaintManager; //导入依赖的package包/类
@BeforeClass
public static void setUpClass() {
FailOnThreadViolationRepaintManager.install();
Formatting.register(new VFSJFileChooserFormatter());
}
开发者ID:shevek,项目名称:vfsjfilechooser,代码行数:6,代码来源:VFSJFileChooserTest.java
示例5: setUpOnce
import org.fest.swing.edt.FailOnThreadViolationRepaintManager; //导入依赖的package包/类
@BeforeClass
public static void setUpOnce() {
FailOnThreadViolationRepaintManager.install();
}
开发者ID:nezda,项目名称:yawni,代码行数:5,代码来源:BrowserFESTTest.java
示例6: installUITestSafety
import org.fest.swing.edt.FailOnThreadViolationRepaintManager; //导入依赖的package包/类
@BeforeClass
public static void installUITestSafety() {
FailOnThreadViolationRepaintManager.install();
}
开发者ID:shevek,项目名称:spring-rich-client,代码行数:5,代码来源:ProgressBarProgressMonitorTests.java
示例7: setUpOnce
import org.fest.swing.edt.FailOnThreadViolationRepaintManager; //导入依赖的package包/类
@BeforeClass
public static void setUpOnce() {
FailOnThreadViolationRepaintManager.install();
}
开发者ID:FRosner,项目名称:DataGenerator,代码行数:5,代码来源:OrderedFocusTraversalPolicyTest.java
注:本文中的org.fest.swing.edt.FailOnThreadViolationRepaintManager类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论