Subtle problem with expression 'BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), [message #612785] |
Fri, 28 April 2006 07:22 |
Eclipse User |
|
|
|
I have a strange/subtle problem with the visual editor.
When it generates code for a titled border:
myTable.setBorder(javax.swing.BorderFactory.createTitledBord er(javax.swing.BorderFactory.createEtchedBorder(),
"Title"));
myTable.setSelectionMode(javax.swing.ListSelectionModel.SING LE_INTERVAL_SELECTION);
Upon closing the visual editor and opening it again, all subsequent code is
ignored (set values don't appear when I reopen my customizer),
but the actual values set by this line are set, and appear in my customizer.
If I then comment out this line, the values for all subsequent lines (e.g.
the selection mode) are recognized and appear in the customizer.
It seems that the expression is being parsed correctly, and yet somehow it
causes the rest to be ignored.
There is nothing in the logs, and I have run with the
org.eclipse.jem.proxy/remote/debug/vmtraceout=true
trace flag.
Any ideas?
Darren Hurt
|
|
|
Powered by
FUDForum. Page generated in 0.03801 seconds