The Source for Java Technology Collaboration
User: Password:



Tim Boudreau

Tim Boudreau's Blog

More Navigator fixes, the road from St. Petersburg to Beijing

Posted by timboudreau on September 12, 2005 at 09:29 AM | Comments (4)

St. Petersburg is a beautiful city! Other than the nightly battles with mosquitos in my hotel room, the trip was excellent. I spent a week meeting with engineers who are working on NetBeans plugins, and finally got to meet a lot of people I'd conversed with via email. We've got a great group of folks there.

NevskyProspect.JPG

Nevsky Prospect in St. Petersburg at sunset

Saturday, my friend Martin Ryzl, the original author of, and current manager of the development team for the NetBeans Mobility Pack and I flew from St. Petersburg to Beijing. It was the first trip for both of us to both cities. Particularly interesting was when the plane did a 180 degree turn in the middle of the runway (there are three sets of wheels, two under the wings and one in the middle - reverse the directions of the wing sets and pivot) - it was a disconcerting moment when we suddenly seemed to be executing an impossibly tight turn on the runway for our stop in Novosibirsk.

For the Novosibirsk to Beijing leg, I bug-fixed and growled and cursed at my laptop, while Martin glowingly showed me one after another another cool thing his guys had implemented in Mobility, that he hadn't had a chance to try before, but could include in his demo - for example, a stack trace from KVM only gives you a bytecode offset; NetBeans will now reverse engineer a real stack trace for you by reading the class file. You can now edit guarded blocks in the editor. Mobility just keeps getting cooler.

MartinInStPetersburg.JPG

Martin Ryzl in the cavernous hall of Sun's temporary digs in St. Petersburg

The plane flight was productive. In a recent blog I listed some interesting line switches that affect the behavior of the Navigator component in NetBeans. A couple people pointed out that some of them were no longer working in NetBeans 5.0. Plane flights are a great time to get things working, so now they all are. A quick recap (with some new ones):

  • nb.navigator.singleclick - one click to navigate between methods instead of double clicking
  • navigator.string.abbrevs - strategically omit characters from method names to keep from needing a horizontal scrollbar (far from perfect, but handy)
  • nb.navigator.relatedItems - highlight all callers of the selected method/field (currently infrequent false positives, working on it)
  • nb.navigator.decorate - show overriding method names in bold, final stuff in italic. The performance problems with this feature seem to be much better in 5.0 trunk builds - might even be viable to turn on by default - we'll see
  • nb.navigator.noscroll - Having Navigator scroll when the caret moves can be distracting; this disables auto scrolling. Works best if you dock Navigator to the right of the editor so it has a lot of height - for most java files, all methods will be displayed, and horizontal real estate is less critical than vertical screen real estate.
  • nb.navigator.reordering - Allow (in natural sort mode only - right click and choose it from the menu) you to drag and drop methods to reorder them in your sources
See my earlier blog for details on how to use them; in a nutshell, start NetBeans with, e.g.,
./netbeans -J-Dsome.line.switch=true
Beijing is fascinating. We did a full on NetBeans Day, in preparation for JavaChina tomorrow. It was very well attended and a lot of fun - Gregg Sporar did a nice write up of it.

People who know me know I have a perverse love of non sequiturs and mistranslations - even to the point of writing software that generates its very own non-sequiturs (almost a decade ago, but it still works...as well as it ever did). While my all time favorites come from an English menu in Warsaw, fascinating sayings in English abound. The following can hardly be called a mistranslation - this ATM machine is perfectly succinct and to-the-point:

ATMMeetsLedZeppelin.JPG

Led Zeppelin meets ATM - who knew?

Martin and I had lunch at a pleasant restaurant near the hotel yesterday - I ordered "The farmer is small to fry the meat" - it was yummy:

HouseSpecialties.JPG

The food here has been fascinating and wonderful - particularly something called "Chrysanthemum water with honey" was wonderfully refreshing after a dehydrating international flight.

I have no idea what these folks do, but it sounds interesting:

SocialCourt.JPG

So far so good.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Hi Tim:

    Sorry that these translations are terrible...
    I'm shocked by it too....

    "Ideal Social Court for Business" is a terrible translation....
    These Chinese Characters mean “Here is an ideal place for your business dinner"

    Also,
    I think correct translation of "The farmer is small to fry the meat” should be like "Beijing Farm Style's Fry Meat in small size”

    Anyway, Hop you enjoy Beijing!

    Posted by: fcmmok on September 12, 2005 at 10:43 AM

  • Leningrad (I'll always know it by that name) is indeed a beautiful city. They don't call it the Venice of the north for nothing, even 70 years of communism couldn't destroy the splendour of the former capital.
    Haven't been there in a long time, last time being 1989 (now you know why I remember it as Leningrad :) ) and even then it was a lively city, especially after spending time in Kiev and Moscow which were pretty dead back then, the people too afraid of the KGB to talk to foreigners and too busy with survival to have anything left for pleasure.

    Posted by: jwenting on September 12, 2005 at 11:03 PM

  • Tim,
    Be very careful... those "sharp fried pork slivers" can really hurt ;-)

    --JohnR

    Posted by: johnreynolds on September 13, 2005 at 06:26 AM

  • alarm beyonce lyric ring
    bad credit debt consolidation
    angel locsin
    billy gilman
    debt consolidation
    famous daves
    gold digger
    golds gym
    chell rell
    bob esponja
    consolidation federal loan student
    bobs furniture
    insurance lead
    consolidation loan
    corporate gift basket
    jennifer beals
    katrina halili
    kelly ripa
    bounty dog hunter
    bridge fergie london lyric
    brinkley christie
    bronx zoo
    corporate gift idea
    lead mlm
    lead mortgage
    pepsi cola
    acid battery lead sealed
    power ranger spd
    private voyeur
    rolex replica
    credit card consolidation
    brookfield zoo
    chris daughtry
    daisy fuentes
    ronnie coleman
    snow patrol lyric
    term life insurance quote
    tony matterhorn
    weider
    dannii minogue
    destinys child
    dierks bentley

    Posted by: skwer on January 12, 2007 at 03:15 PM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds