介紹如何隱藏JDataGridBean的SplashScreen?

 

How to disable the splash screen in JDataGridBean?html


1. Understand the JBean's splash API.java

JBean provide the following API related the splash screen:app

JBean.doSplash();
This methods will show the splash screen when it’s not open, and hide the screen window when it’s visible.ide

JBean. isShowSplashOnStartup();
JBean. setShowSplashOnStartup(Boolean);
These two API provides a property to control whether show the splash screen window when the JBean application startup, the method 「doSplash」 methods check this property to decide whether show the splash window.this

2. Understand the relationship between JDataGridBean and JBean.spa

The JDataGridBean is completed application that demonstrate the feature of the JDataGrid Spreadsheet Edition Product, it extends the JBean class, and invoke the doSplash method in it’s constructor.code

3. Generate methods to disable the splash window when use the JDataGridBean.htm

1) Override the method JBean.doSplash and do nothing.
2) Override the method JBean. isShowSplashOnStartup(); and return false.blog

4. New system property to disable the splash window when use the JDataGridBean.ip

The JDataGrid Spreadsheet Edition 2.5.0 provides a new system property to disable the splash window at the startup:

com.zfqjava.swing.JDataGridBean.hideSplash

You can put the following code before invoke the 「new JDataGridBean()」methods:

System.setProperty(JDataGridBean.class.getName() + ".hideSplash", "true");

This is a new feature in JDataGrid Spreadsheet Edition 2.5.0.


查看原文




--------------------------
新聞: 《星際爭霸II》最新情報
導航: 博客園首頁   知識庫   新聞   招聘   社區   小組   博問   網摘   找找看
相關文章
相關標籤/搜索