« duben 2005 »
PoÚtStČtSoNe
    
 
       
Today

Navigation

Speaker Profile
Roumen's Weblog
Login
Sun Bloggers
Technorati Profile

Am I popular?

Today's Page Hits: 771

Contacts

Name: Roman Strobl
E-mail: roman dot strobl
at sun dot com

NetBeans

Java Sites

Javalobby
The Server Side
Java Tips
Java Blogs
java.net
java.sun.com
java.cz

Blogs

NetBeans:
Geertjan
Brian Leonard
Gregg Sporar
Lukas Hasik
Ludovic Champenois
Vincent Brabant
Alexis Moussine-Pouchkine
Jullion-Ceccarelli
Tom Ball
Tim Boudreau
Jesse Glick
Petr Blaha
Ruth Kusterer
Jara Uhrik
xzajo
Jan Lahoda
James Branam
nbextras.org

Sun:
Kazem - bug cartoons ;-)
Tor Norbye
Romain Guy
James Gosling
Chief Gaming Officer
Bill Vass
Jim Grisanzio
Jonathan Schwartz

Planets:
Planet Netbeans
Planet Sun
Planet Eclipse

Other:
netbeans-blog.org
Joel Spolsky
Bruce Eckel

License info

Creative Commons License
This work is licensed under a Creative Commons License.

Recent Entries

Map of visits

Locations of visitors to this page
« Previous day (Apr 3, 2005) | Main | Next day (Apr 4, 2005) »
20050404 Pondělí duben 04, 2005
Splitting NetBeans Editor Windows

I decided to write something about splitting NetBeans editor windows, because it's one of those hidden features users keep asking for. The use case is that you want to edit the same file in two editor windows. Or you want to open two different files and compare them in split view. Many editors support this functionality and it is in NetBeans, too, although it is not commonly known.

To open one file in two windows, use Window->Clone document. Then you have the same file opened twice. To split the screen, just drag one window title to the bottom, till you get a rectangle on bottom of the editor. Drop it and you have splitted editing screen. Here is a screenshot:


Horizontal split - click for detail
 
Vertical split - click for detail


    Disclaimer: The contents of my blog represent my personal opinions which may differ from official views of my employer, Sun Microsystems.