This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It seems that whatever you print to the OW using OutputWriter, you need to send a \n (e.g. println, not print) to get the last line to display. But then a blank line is displayed after it. It does not appear you can get rid of the blank line, though it is wasting valuable screen space. If term were being used as an actual terminal emulator, this would make some sense because you expect a cursor to live on the last, blank, line. But when it is being used only for r/o output, which is the case in the NB IDE, it is just annoying. I tried to look in Term sources but could not easily see what was going on. Some JScrollBar's are being created manually, but without a JViewPort, for some mysterious reason.
Created attachment 13078 [details] Screenshot - note wasted line at end of window
Reassigning to Marek, new owner of output window and help system
The core team has not been responsible for terminal emulator for long time, so reassigne all opened issues to responsible person.
I'll look into this at some point. As for the "mysterious scrollbars created by hand instead of JViewPort" ... JViewPort assumes as it's backing buffer a pixel addressible canvas. I believe it's important that a terminals minimal scrolling be on a line basis. However after three distincts attempts at getting JViewPort to help with this I didn't get anywhere and gave up (that circa 2002).
Jesse, Do you still think this merits attention under Term?
Doesn't seem reproducible with current term.