博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
转:JXCollapsiblePane/JXTaskPane via NetBeans 6.9.1 designer
阅读量:6815 次
发布时间:2019-06-26

本文共 2442 字,大约阅读时间需要 8 分钟。

http://forums.netbeans.org/ntopic32575.html

————————————————————————————————————————————————————————————————

Author Message
jim_akmer
Joined: 20 Oct 2010
Posts: 2
Posted: Wed Oct 20, 2010 12:15 pm    Post subject: JXCollapsiblePane/JXTaskPane via NetBeans 6.9.1 designer

Hi,
I am new in SwingX and I have trouble using JXCollapsiblePane and JXTaskPane using Pallete manager of Netbeans 6.9.1
Specifically:
For JXTaskPane:
1)I drag a JXTaskPaneContainer from pallete manager in a JForm
2)I drag a JXTaskPane from pallete manager into JXTaskPaneContainer
3)I try to add a jpanel or a jbutton in the JXTaskPane but I get the message "Cannot enclose components in a non-empty container"
If I add the components programmatically (as in example code I found i don't get an error and seems to work)
For JXCollapsiblePane:
1)I drag a JXCollapsiblePane from pallete manager in a JForm
2)I try to add a jpanel or a jbutton in the JXCollapsiblePane but I get the message "Cannot enclose components in a non-empty container"
If I add the components programmatically (as in example code I found i don't get an error and seems to work)
Can someone please explain what am I doing wrong?Is it not possible to do this using the Netbeans pallete designer?
I want to design my form visually. Is it possible for the components I am trying to use?
Note:I was adviced to ask a Netbean forum from the SwingX forum.
Thank you.
[/url]
 
John Lussmyer
Posted via mailing list.
Posted: Wed Oct 20, 2010 9:27 pm    Post subject: JXCollapsiblePane/JXTaskPane via NetBeans 6.9.1 designer

Quote:
-----Original Message-----
From: jim_akmer [mailto:address-removed]
I am new in SwingX and I have trouble using JXCollapsiblePane and
JXTaskPane using Pallete manager of Netbeans 6.9.1
Specifically:
For JXTaskPane:
1)I drag a JXTaskPaneContainer from pallete manager in a JForm
2)I drag a JXTaskPane from pallete manager into JXTaskPaneContainer
3)I try to add a jpanel or a jbutton in the JXTaskPane but I get the
message "Cannot enclose components in a non-empty container"
If I add the components programmatically (as in example code I found i
don't get an error and seems to work)
You aren't doing anything wrong.
NetBeans GUI editor just doesn't work with those controls.
It's a royal PITA since the SwingX have some nice features.
 
jim_akmer
Joined: 20 Oct 2010
Posts: 2
Posted: Thu Oct 21, 2010 8:15 am    Post subject:

The swingx-beaninfo.jar was missing from my project. Works now
 

转载地址:http://obbzl.baihongyu.com/

你可能感兴趣的文章
expect模块的使用,主要没装包折腾一晚上
查看>>
awk多列匹配
查看>>
用户行为日志概述
查看>>
Android studio 快捷键
查看>>
python小程序 批量提交bugscan
查看>>
结缘PDO
查看>>
学习微信小程序之css18绝对定位
查看>>
关于Override在JDK1.5和JDK1.6上子类实现接口中方法使用@Override注解编译错误.
查看>>
canvas 的学习
查看>>
oj2694 逆波兰表达式
查看>>
页面css代码
查看>>
Google Map API使用详解(九)——Google Map坐标系统总结(下)
查看>>
SQL Server返回插入数据的ID和受影响的行数
查看>>
APP测试常见点
查看>>
JavaScript+HTML5 实现打地鼠小游戏
查看>>
转一下递归
查看>>
浅谈利用同步机制解决Java中的线程安全问题
查看>>
第三章 列表简介
查看>>
四则运算设计思路
查看>>
每间隔15分钟生成一个时间戳
查看>>