|
|
@ -30,6 +30,7 @@ import com.fr.design.selection.Selectedable; |
|
|
|
import com.fr.design.selection.SelectionListener; |
|
|
|
import com.fr.design.selection.SelectionListener; |
|
|
|
import com.fr.form.FormElementCaseProvider; |
|
|
|
import com.fr.form.FormElementCaseProvider; |
|
|
|
import com.fr.form.main.Form; |
|
|
|
import com.fr.form.main.Form; |
|
|
|
|
|
|
|
import com.fr.grid.Grid; |
|
|
|
import com.fr.grid.selection.CellSelection; |
|
|
|
import com.fr.grid.selection.CellSelection; |
|
|
|
import com.fr.grid.selection.Selection; |
|
|
|
import com.fr.grid.selection.Selection; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
@ -138,7 +139,10 @@ public class FormElementCaseDesigner |
|
|
|
g.fillRect(0, 0, size.width, size.height); |
|
|
|
g.fillRect(0, 0, size.width, size.height); |
|
|
|
g.setColor(oldColor); |
|
|
|
g.setColor(oldColor); |
|
|
|
|
|
|
|
|
|
|
|
this.elementCasePane.paintComponents(g); |
|
|
|
Grid grid = this.elementCasePane != null ? this.elementCasePane.getGrid() : null; |
|
|
|
|
|
|
|
if (grid != null) { |
|
|
|
|
|
|
|
grid.paintAll(g); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|