Tag Archives: zoom

How to Quickly Increase or Descrease the Font Size in NetBeans IDE CodeUnit 16 OCT 2012

NetBeans IDE lets you quickly and easily develop Java desktop, mobile, and web applications, while also providing great tools for PHP and C/C++ developers. It is free and open source and has a large community of users and developers around the world.

Quite by accident (and a little annoyingly), I discovered that there is a nifty little “shortcut” to increase or decrease the text size in the Java-powered NetBeans IDE, basically the ability to zoom in and zoom out on your code.

To do this, simply hold down the Ctrl button and scroll with the mouse wheel – essentially the same trick you would use to zoom in or zoom out of a web page using any modern browser.

Useful in a way I guess.

[UPDATE] NetBeans 7.2 changes the behaviour slightly – now you need to initiate a press down click on the scroll wheel whilst scrolling to increase/decrease the font size. No keyboard assistance required!]

Anyway, if you want to make more permanent changes to your default font, font size and color scheme, you could always just open up the Tools -> Options -> Fonts & Colors menu…

(Also, if you want to disable this functionality in the IDE, simply go to Tools -> Options -> Keymap and change the entries under Zoom Text In and Zoom Text Out actions.)

Keyboard Shortcut: How to Zoom in and out on a Web Page CodeUnit 15 JUL 2011

The ability to zoom in and out on web pages has actually been around for a while now, and is particularly useful on small screen devices like phones and tablets. Of course, it is of limited use on a big desktop monitor, but nevertheless, the ability is actually there – particularly useful if you have poor eyesight or really want to see that girl’s thighs up close.

A quick way to zoom in and out of a web page is to make use of the pretty standard keyboard shortcut adopted by most browsers, namely Control + or Control -.

Hitting the first combination of the control and plus keys zooms in on a page, while a control and a minus zooms out.

And now you know.

Ubuntu Keyboard/Mouse Shortcut: Folder Icon Zoom CodeUnit 03 JAN 2010

Probably not an Earth-shattering Ubuntu keyboard/mouse combo shortcut for today’s CodeUnit post, but it is quite a useful one to know and it is pretty widely adopted as a kind of a standard, particularly seeing as Windows also allows for the same kind of zooming using the same keyboard/mouse combo sequence.

Anyway, what I’m talking about revolves around Ubuntu’s folder listings and more importantly the files kept inside of any particular folder. Now when bringing up a folder view you’ll notice the drop-down list on the right of the toolbar that holds the various view items which can be applied to the current folder view. To the left of that is a magnifying glass and the currently applied level of ‘zoom’ which affects how enlarged the icons below actually appear.

Now obviously you can control the zoom level by moving the mouse and clicking on the magnifying glass but there is in fact a faster way of achieving this and that is through the use of today’s keyboard/mouse combo shortcut.

Hold down the Ctrl button on your keyboard and use the mouse wheel to scroll either up or down. You’ll notice that by scrolling up you are in fact enlarging the icon view while scrolling down is actually reducing the zoom level.

So like I said, silly, but not entirely useless to know. :P