学用Java

奇新Java控件---Java控件提供商和Java RIA, Web, J2ME解决方案开发商

介绍几种方法将Excel格式的文件导入到JTable中


How to import Excel file into JTable
Here are three way to do this.Use "JTableReadTableModelTask " to do this. ( recommended )Use "ReadTableModelTask" to do thisUse ModelIO to do this.
The first and second the way will run in the background thread, the third way will run in current thread.
1. Use "JTableReadTableModelTask "to do this. (recommended)
Here is the sample code to import excel file: JTable jTable = new JTable();
String excelFileName = "excelFileNa

posted @ 2009-02-14 22:17 fralepg 阅读(726) | 评论 (0)编辑 收藏

介绍JComponentPack产品中的AComboBox控件


Introduce the AComboBox component

Overview
The AComboBox is a drop down component in JComponentPack product, it’s different with the “JComboBox” component in the core JavaSwing package, it can set the popup icon, popup component, etc.
Main Features
1. Customize the popup icon
The AComboBox component have the method “setPopupIcon(Icon)”, you can change the popup icon for your requirements, see the screenshot:

2. Customize the popup

posted @ 2009-02-13 18:10 fralepg 阅读(79) | 评论 (0)编辑 收藏

使用JComponentPack产品中的JLinkButton控件


How to use JLinkButton

JLinkButton inherit from JButton,it have all function of JButton, and it also have a additional function, you can open a Explorer via URL and that don’t need write code.
There are two ways to use this function:
1.JLinkButton linkButton = new JLinkButton(“www. baidu.com”);
URL url = new URL(“www.baidu.com”);
linkButton.setURL(url);
2. URL url = new URL(“www.baidu.com”);
JLinkButton linkButton = n

posted @ 2009-02-12 18:06 fralepg 阅读(75) | 评论 (0)编辑 收藏

介绍在NetBeans IDE中使用JComponentPack产品

How to use "JComponentPack" in the NetBeans IDE 6.11. right click on Palette window,and select 'Palette manager...' .2. click 'New Category' button,enter a name then click 'Ok' button.3. click 'Add from Library...' button, and select a lib from 'Available Libraries',then click next button.4. select the component you need to use,and click next.5. select the 'Palette Categories' you want put the component into,then click finishe

posted @ 2009-02-11 18:24 fralepg 阅读(91) | 评论 (0)编辑 收藏

介绍如何隐藏JDataGridBean的SplashScreen?


How to disable the splash screen in JDataGridBean?

1. Understand the JBean's splash API.
JBean provide the following API related the splash screen:
JBean.doSplash();
This methods will show the splash screen when it’s not open, and hide the screen window when it’s visible.
JBean. isShowSplashOnStartup();
JBean. setShowSplashOnStartup(Boolean);
These two API provides a property to control whether show the splash screen windo

posted @ 2009-02-10 22:04 fralepg 阅读(74) | 评论 (0)编辑 收藏

介绍自定义JDataGrid电子表格版本公式中的函数?

How to write function in JDataGrid Spreadsheet Edition?1. Understand the formula and function API used in JDataGrid Spreadsheet Edition? Obviously you should understand the “Function” and it’s sub class.  The central method of Function interface is “Objectevaluate(FormulaContext ctx, List args)”, the method have the“FormulaContext” and List based arguments.   Override the method “evaluate(FormulaContext ctx, List args)”

posted @ 2009-02-09 23:05 fralepg 阅读(112) | 评论 (0)编辑 收藏

介绍JDataGrid公式使用Beans Binding功能

JDataGrid formula works with the Beans BindingThis article introduce the Beans Binding can work with the JDataGrid formula.The JDataGrid formula works in the CellFormulaContext, every function in the formula can get other cell value from CellFormulaContext.The Beans Binding framework can bind the different property together, if the cell value in JDataGrid binda JavaBean, the cell should have the binding expression, this can beimplements by a customize functi

posted @ 2009-02-06 22:49 fralepg 阅读(99) | 评论 (0)编辑 收藏

关于如何申请公司产品的试用版授权码


为了让用户能更方便的体验公司控件的功能,公司给用户免费提供了15天的试用版授权码,用户可以在下列页面申请:
 http://www.zfqjava.com/zh_CN/contact.html
在表单主题选项选中"获取一个试用版授权",然后填写您的真实姓名和电子邮件,客服人员将把试用版授权码发送到您的邮箱

posted @ 2009-02-04 02:23 fralepg 阅读(164) | 评论 (0)编辑 收藏

Java游戏开发日志(2007-6-7)

Java游戏开发日志(2007-6-7)

posted @ 2007-06-07 22:21 fralepg 阅读(45) | 评论 (0)编辑 收藏

仅列出标题
共2页: 上一页 1 2 
<2025年1月>
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

导航

统计

公告

JComponentPack 3.0正式发布 功能介绍

JComponentPack 是一个基于Java SwingGUI类库,一系列可视化的JavaBeans集合,它基于SwingMVC架构,是100%的纯Java类库,它包括20多个Swing 所没有的控件

试用版下载(点击下载

常用链接

留言簿(1)

随笔档案

文章档案

搜索

最新评论

阅读排行榜

评论排行榜