When server can't put JDBC jar file,
we can dynamic loading JDBC jar file.
reference:Dynamic loading of JDBC drivers
2011年12月14日 星期三
2011年12月13日 星期二
iReport Summary Detail Overflows
when contents size over than Text Field size,
then "Print When Detail Overflows" should be true.
2011年11月30日 星期三
e17 ATI webgl
I forgot why write export LIBGL_ALWAYS_INDIRECT=1 in my .xinitrc file .
annotate it, then OpenGL, WebGL are all right!!
SO AMAZING!!!!
My ATI Driver @ closed source : ati-driver-installer-11-11-x86.x86_64.run
annotate it, then OpenGL, WebGL are all right!!
SO AMAZING!!!!
My ATI Driver @ closed source : ati-driver-installer-11-11-x86.x86_64.run
2011年11月22日 星期二
2011年11月15日 星期二
jxl
jxl.write.WritableWorkbook workbook = jxl.Workbook.createWorkbook(filename); jxl.write.WritableSheet sheet = workbook.createSheet(tag,0);
jxl.SheetSettings settings = sheet.getSettings();
settings.setFitHeight(1); // 設定預覽列印與列印成為一頁, 高度
settings.setFitWidth(1); // 設定預覽列印與列印成為一頁, 寬度
settings.setOrientation(jxl.format.PageOrientation.LANDSCAPE);//橫印
settings.setFitToPages(true);
WritableCellFormat.setVerticalAlignment(jxl.format.VerticalAlignment.CENTRE);//垂直置中
WritableCellFormat.setAlignment(jxl.format.Alignment.CENTRE);//水平置中
2011年8月18日 星期四
2011年7月7日 星期四
java 1.4.2 invoke 1.5 method
complation with 1.4.2 has no setAlwaysOnTop but run at 1.5 can use method invoke
try
{
JFrame test =new JFrame();
Method setAlwaysOnTop = null;
setAlwaysOnTop = test.getClass().getMethod("setAlwaysOnTop", new Class[] { Boolean.TYPE });
setAlwaysOnTop.invoke(test, new Object[] { new Boolean(true) });
}
catch (Throwable ....
try
{
JFrame test =new JFrame();
Method setAlwaysOnTop = null;
setAlwaysOnTop = test.getClass().getMethod("setAlwaysOnTop", new Class[] { Boolean.TYPE });
setAlwaysOnTop.invoke(test, new Object[] { new Boolean(true) });
}
catch (Throwable ....
訂閱:
文章 (Atom)