Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Listview bean
Listview bean [message #72321] Sat, 20 November 2004 19:01 Go to next message
Eclipse UserFriend
Originally posted by: scorpio05678.hotmail.com

hi all

I have 2 questions:

1: Is there any thing like "Listview" in java like we have in MFC and VB?
If not is there any simple way to get the same thing in java. I have come
across a short course on Sun's website
http://java.sun.com/developer/onlineTraining/GUI/Swing2/shor tcourse.html#JFCListView
but it is very complex for me .

2: i can see a bean "javax.swing.text.html.listview" using "Choose a bean"
but cann't use it, it says "No public null constructor".

What does this message means?

Thanks in advnce.

scorpio05678
Re: Listview bean [message #73130 is a reply to message #72321] Mon, 29 November 2004 15:43 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The problem is that we currently only support beans with a default
constructor from ChooseBean (except when supplied with specific VE code
to tell us otherwise). You could try to first add it by hand. Then it
should work with the VE. Try dropping just a straight JTextArea, then go
into the code and change the type to be a ListView and change the new
JTextArea() to be new ListView(...).

That should allow you to work with it.


--
Thanks,
Rich Kulp
Re: Listview bean [message #603479 is a reply to message #72321] Mon, 29 November 2004 15:43 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The problem is that we currently only support beans with a default
constructor from ChooseBean (except when supplied with specific VE code
to tell us otherwise). You could try to first add it by hand. Then it
should work with the VE. Try dropping just a straight JTextArea, then go
into the code and change the type to be a ListView and change the new
JTextArea() to be new ListView(...).

That should allow you to work with it.


--
Thanks,
Rich Kulp
Previous Topic:Planning for VE 1.1
Next Topic:EMF examples break VE (Bugzilla 79078)
Goto Forum:
  


Current Time: Sun Jun 08 05:20:50 EDT 2025

Powered by FUDForum. Page generated in 0.03136 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top