Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Subtle problem with expression 'BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
Subtle problem with expression 'BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), [message #612785] Fri, 28 April 2006 07:22
Eclipse UserFriend
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
Previous Topic:custom editor for array of strings
Next Topic:extending VE: accessing SWING/SWT objects
Goto Forum:
  


Current Time: Thu Jun 12 15:08:11 EDT 2025

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

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

Back to the top