-
I believe you need to modify PagePreviewContainer. If you look at
public Dimension getPreferredSize() { return getParent().getSize(); }
it gets the size of the parent as preferred size. But if the parent is a scroll pane, then it probably doesn't have a fixed size.
2009-11-14 05:22:43 UTC by mgricken
-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2009-11-14 02:20:18 UTC by sf-robot
-
HI there, I am adding some functionalities to DrJava, which i will submit later because I am still learning how to do stuff on it.
I have been working on zooming in and zooming out the print preview. I managed to get it working. however, the preview will go beyond the screen so i added a scrollpane in order to keep the preview within the window frame.
I added the scrollpane and when i run...
2009-11-12 22:33:43 UTC by shuaib85
-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2009-11-12 02:20:22 UTC by sf-robot
-
Is this on a non-US keyboard?.
2009-11-11 17:07:37 UTC by mgricken
-
While creating the code, you would normally have to use alt(option) + 3 to produce a #, unfortunately, in DrJava you cannot do this, you can do it in the file name, but not in the main body, or while testing in the compiler at the bottom.
2009-11-11 16:54:02 UTC by nobody
-
In the interaction pane of the Drjava plugin in Eclipse, I get a newline, instead of getting the expressions evaluted when I press enter. In the standalone version of DrJava it works fine.
In Eclipse DrJava plugin interaction window I get:
Welcome to DrJava. Working directory is ...
>[Expression] *enter*
*textmarker has moved to the next line, no matter if the expression is...
2009-11-11 13:27:45 UTC by nielsentom
-
Reproduced with drjava-20091106-r5130.
2009-11-11 02:30:26 UTC by mgricken
-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2009-11-11 02:20:27 UTC by sf-robot
-
edu.rice.cs.util.UnexpectedException: java.lang.NullPointerException
at edu.rice.cs.drjava.model.repl.newjvm.MainJVM$ResultHandler.forUnexpectedException(MainJVM.java:911)
at edu.rice.cs.drjava.model.repl.newjvm.MainJVM$ResultHandler.forUnexpectedException(MainJVM.java:858)
at edu.rice.cs.drjava.model.repl.newjvm.InterpretResult$UnexpectedExceptionResult.apply(InterpretResult.java:111)
a.
2009-11-11 00:46:29 UTC by erodrigu