Home » Archived » Visual Editor (VE) » Subtle problem with expression 'BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
| | | |
Re: Subtle problem with expression 'BorderFactory.createTitledBorder(BorderFactory.createEtchedBorde [message #124822 is a reply to message #124381] |
Mon, 15 May 2006 09:24 |
Darren Hurt Messages: 91 Registered: July 2009 |
Member |
|
|
Hello again Rich.
I am using version 1.1.0.
I changed my getJavaInitializationString to produce
javax.swing.BorderFactory.createTitledBorder(null, "Title",
javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null);
instead (as the VE border property editor does), and this works OK.
Oh, and I don't really have two statements on one line.
But I do still get the same problems with
javax.swing.BorderFactory.createTitledBorder(javax.swing.Bor derFactory.createEtchedBorder(),
"Title");
I'll probably just change my customizers to not try and do border setting
stuff, especially as VE provides
a decent property editor for borders anyway.
However, I guess the behaviour I refer to does still indicate some kind of
bug, so I hope that it is useful.
Thanks,
Darren
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e3fs4i$u70$2@utils.eclipse.org...
> What version of VE are you using?
>
> --
> Thanks,
> Rich Kulp
|
|
| | | | |
Re: Subtle problem with expression 'BorderFactory.createTitledBorder(BorderFactory.createEtchedBorde [message #612902 is a reply to message #124381] |
Mon, 15 May 2006 09:24 |
Darren Hurt Messages: 91 Registered: July 2009 |
Member |
|
|
Hello again Rich.
I am using version 1.1.0.
I changed my getJavaInitializationString to produce
javax.swing.BorderFactory.createTitledBorder(null, "Title",
javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null);
instead (as the VE border property editor does), and this works OK.
Oh, and I don't really have two statements on one line.
But I do still get the same problems with
javax.swing.BorderFactory.createTitledBorder(javax.swing.Bor derFactory.createEtchedBorder(),
"Title");
I'll probably just change my customizers to not try and do border setting
stuff, especially as VE provides
a decent property editor for borders anyway.
However, I guess the behaviour I refer to does still indicate some kind of
bug, so I hope that it is useful.
Thanks,
Darren
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:e3fs4i$u70$2@utils.eclipse.org...
> What version of VE are you using?
>
> --
> Thanks,
> Rich Kulp
|
|
| |
Goto Forum:
Current Time: Fri Apr 26 17:52:37 GMT 2024
Powered by FUDForum. Page generated in 0.03928 seconds
|