* if <code>true</code>, <code>p</code> is wrapped in a <code>JScrollPane</code>
* before it is added to the page's layout
*/
public void layoutPage(JPanel p, boolean useScroll, boolean addMouseListener) {
if (useScroll) {
KongaScrollPane scroll = new KongaScrollPane(p);
scroll.makeInconspicuous();
canvas.add(scroll, BorderLayout.CENTER);
if (addMouseListener) {
scroll.addMouseListener(new ContextMenuTrigger());
}
page.setEditorBorder(Empty.border());
} else {
if (addMouseListener) {
p.addMouseListener(new ContextMenuTrigger());