Try editing the NetBeans source code. I'm not an expert on Java GUIs, but there should be a setCursor()
function you can put into onHover
or something like that. Check the documentation of the GUI toolkit NetBeans uses.
(@tubedogg, Chrome doesn't use a native GUI. Although it tries its best to use the OS look, the title bar is custom, which you can't do with Apple's native GUI toolkit.)
Many full screen writing applications like WriteRoom and Byword either add a margin to the bottom or support centering the view around the current line.
You could also create ~/Library/KeyBindings/ and save a property list like this as DefaultKeyBinding.dict:
{
"~p" = (moveToEndOfDocument:, insertNewlineIgnoringFieldEditor:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, insertNewline:, moveWordBackward:, moveToEndOfParagraph:, moveForward:, centerSelectionInVisibleArea);
"~r" = (moveToEndOfDocument:, moveWordBackward:, moveToEndOfParagraph:, moveToEndOfDocumentAndModifySelection:, deleteBackward:, centerSelectionInVisibleArea:, insertNewlineIgnoringFieldEditor:);
}
After reopening TextEdit, ⌥P should add padding lines to the end and ⌥R remove them.
Best Answer
There really isn't a neat way of doing this. I normally hit Command + down arrow. This will bring me to the end of the page, where I can then press enter a few times, or if using textmate, you can create a snippet to insert carriage returns for you. With an application like textexpander you can program a keypress to add carriage returns for you.