使用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 = new JLinkButton(“www. baidu.com”, url );

I saw LinkLabel in .Net Framework Developer Center before,it is convenient to use,but Java don’t include it. Now the third part Component include it,please see: JComponentPack



了解更多产品。。。

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



1388824.html?type=1

--------------------------
新闻: 瑞星卷入“诬陷门” 称系旧将恶意陷害
导航: 博客园首页   知识库   新闻   招聘   社区   小组   博问   网摘   找找看

转载于:https://my.oschina.net/javastudy/blog/30

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值