This question referes to jgraphx 1.7.0.7
\nBecause each cell shall display different attributes via an image (type image, status image), I use mxICellOverlay, to design the cells using different Jlabels (JLabel.setIcon) and a borderlayout.
\n
private class myMxCellOverlay extends JComponent implements mxICellOverlay {\n @Override\n public mxRectangle getBounds(mxCellState state) {\n return state;\n }\n}\n...\n\nmyMxCellOverlay overlay = new myMxCellOverlay(); \n overlay.setLayout(new BorderLayout()); \n... \ngetCurGraphComp().addCellOverlay(myCell, overlay); \n...\n
\n
The graph gets displayed as designed, but the printout shows only the original mxCell design (provided via graph.setCellStyle) without the elements of the overlay.\nI use the print code, that is provided in example EditorActions.java
\n
Is it possible to print the cells along with their overlay?