 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
ivan Guest
|
Posted: Thu Jun 02, 2005 7:50 am Post subject: 2005 GUI Designer bug... |
|
|
Hi,
Any date the patch will come out ?
Thanks
|
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
|
| Back to top |
|
 |
ivan Guest
|
Posted: Thu Jun 02, 2005 3:07 pm Post subject: Re: 2005 GUI Designer bug... |
|
|
sorry... i forgot to mention that... I'm using update 4...
and this error still exist...
Warning: cannot set "xxTitle" property for this -- java.lang.IllegalArgumentException: object is not an instance of declaring class
Any ideas ?
This is serious... we cant use the GUI designer.... if we must use the GUI designer... we cannot run the project... once we
run it... that error will shown and that property value will
erase...
Thanks
"Lori M Olson [TeamB]" <javadragon (AT) techie (DOT) com> wrote:
|
|
| Back to top |
|
 |
Paul Nichols (TeamB) Guest
|
Posted: Tue Jun 07, 2005 2:28 pm Post subject: Re: 2005 GUI Designer bug... |
|
|
"ivan" <ivanooi (AT) gmail (DOT) com> wrote
| Quote: |
sorry... i forgot to mention that... I'm using update 4...
and this error still exist...
Warning: cannot set "xxTitle" property for this --
java.lang.IllegalArgumentException: object is not an instance of declaring |
class
| Quote: |
Any ideas ?
Are you sure that the property you are attempting to set on this component |
is owned by the class and not its container?
JB 2005 does not (as past versions) always declare objects as part of the
class itself (look carefully at the jbInit()).
Sometimes, the components are children of the container, which itself may be
part of the class, but the children are not always a part of the class.
Therefore, if you attempt to set a property outside the scope of the
declaration, you will get an error like the one you are describing.
|
|
| Back to top |
|
 |
Ivan Guest
|
Posted: Sun Jun 12, 2005 4:53 pm Post subject: Re: 2005 GUI Designer bug... |
|
|
Sorry for my late repply i was outstation.
thanks, i will look into that.
"Paul Nichols (TeamB)" <paul (AT) computer-logic (DOT) net> wrote:
| Quote: |
"ivan" <ivanooi (AT) gmail (DOT) com> wrote in message
news:429f209c$1 (AT) newsgroups (DOT) borland.com...
sorry... i forgot to mention that... I'm using update 4...
and this error still exist...
Warning: cannot set "xxTitle" property for this --
java.lang.IllegalArgumentException: object is not an instance of declaring
class
Any ideas ?
Are you sure that the property you are attempting to set on this component
is owned by the class and not its container?
JB 2005 does not (as past versions) always declare objects as part of the
class itself (look carefully at the jbInit()).
Sometimes, the components are children of the container, which itself may be
part of the class, but the children are not always a part of the class.
Therefore, if you attempt to set a property outside the scope of the
declaration, you will get an error like the one you are describing.
|
|
|
| Back to top |
|
 |
ivan Guest
|
Posted: Sun Jun 12, 2005 5:09 pm Post subject: Re: 2005 GUI Designer bug... |
|
|
hmm.... i tested but i still cant find the problem...
basically what happen in xxTitle is, it just call this.setTitle() nothing else... why this thing happen ?
public void setxxTitle( String title ){
this.setTitle( title );
}
public String getxxTitle(){
return this.getTitle();
}
any ideas ?
Thanks
"Paul Nichols (TeamB)" <paul (AT) computer-logic (DOT) net> wrote:
| Quote: |
"ivan" <ivanooi (AT) gmail (DOT) com> wrote in message
news:429f209c$1 (AT) newsgroups (DOT) borland.com...
sorry... i forgot to mention that... I'm using update 4...
and this error still exist...
Warning: cannot set "xxTitle" property for this --
java.lang.IllegalArgumentException: object is not an instance of declaring
class
Any ideas ?
Are you sure that the property you are attempting to set on this component
is owned by the class and not its container?
JB 2005 does not (as past versions) always declare objects as part of the
class itself (look carefully at the jbInit()).
Sometimes, the components are children of the container, which itself may be
part of the class, but the children are not always a part of the class.
Therefore, if you attempt to set a property outside the scope of the
declaration, you will get an error like the one you are describing.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|