<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>JMatter Blog: GUI Navigation, Part 1:  Window Placement</title>
    <link>http://jmatter.org/articles/2006/12/08/gui-navigation-part-1-window-placement</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Simplify</description>
    <item>
      <title>GUI Navigation, Part 1:  Window Placement</title>
      <description>&lt;p&gt;JMatter takes a certain strategy relating to the placement 
of new windows (internal frames) in its Graphical User
Interface.&lt;/p&gt;

&lt;p&gt;I recall trying various window placement strategies and
then realizing something I was doing as a user of my 
applications:  after creating a new view, I'd quickly reach
for the window's title bar and place the window where I
really wanted it.  I don't think there's an algorithm for guessing
the user's intent.  So I started thinking about what might
be the next best thing.&lt;/p&gt;

&lt;p&gt;The strategy was to minimize the amount of work I'd have
to do in moving the resulting window.  What I do is
place new windows such that their title bars are near 
the current mouse cursor location, thus minimizing the 
distance one would have to move their mouse to reach for
it.&lt;/p&gt;

&lt;p&gt;There's a somewhat hidden feature in JMatter which I 
very much like and that I'd like to share.  This feature
takes things one step further:  it automatically puts
the newly created window in placement mode.  Allow me
to explain..&lt;/p&gt;

&lt;p&gt;This feature requires pressing a metakey to communicate
your intent to use it:  when you're about to invoke a command
that creates a new view (e.g. the "Open" command) , hold
down the Control key.&lt;/p&gt;

&lt;p&gt;The resulting window automatically "binds" to your
mouse location.  That is, it will follow your mouse.
So, the way it works is you invoke the command with
the control key pressed and the new view is created 
but it starts following your mouse around.  Once you've
found that ideal spot, a single left-click is all you
need to do to pin it back down onto the desktop.&lt;/p&gt;

&lt;p&gt;If you already know about this feature because you've
pored through the documentation meticulously, then 
first of all:  bravo!  If not, go ahead and give this
feature a try.  Either way, let me know whether if you
like it!&lt;/p&gt;

&lt;p&gt;In my next blog entry (Part 2), I will discuss a major
enhancement to GUI Navigation in JMatter that I just
recently finished implementing, and that will be
included in the next release.&lt;/p&gt;</description>
      <pubDate>Fri, 08 Dec 2006 17:13:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:73960053-914f-4cef-a663-25495be4fdfe</guid>
      <author>Eitan Suez</author>
      <link>http://jmatter.org/articles/2006/12/08/gui-navigation-part-1-window-placement</link>
    </item>
  </channel>
</rss>
