![]() On the right side of my iMac I use a Razer Mamba 2012 Elite Ergonomic Wireless Gaming Mouse to do all my pointing and clicking. I am a big user of multitouch gestures in Mavericks, so I am incredibly comfortable using the trackpad. On the left side of my iMac I use a Magic Trackpad for swiping and gesturing between full-screen apps and Mission Control. The Das Keyboard doesn’t make me a better developer, writer or person. I’m still using GitHub for storing all of my code. I am also using shared Dropbox folders for Second Gear projects that require collaboration with a designer. I symlink Documents, Downloads, Movies, and Sites to point to those respective directories on Dropbox. I am using Dropbox more than ever to keep everything between the two machines in sync. It’s really a challenge to jump between the massive amount of pixels that a 27” iMac affords you and then head back to a 1440x900 display at home. My only request going forward is a much higher retina resolution. This is the first revision of the Retina MacBook Pro and it’s probably one of my favorite Macs ever assembled. The only reason I would consider upgrading to a new one is aesthetics at this point.Īt home I am using my 15” Retina MacBook Pro with a 512GB SSD and 8GB of RAM. After almost four years, this machine is still humming along like a champ. There is absolutely no reason for me to have 16GB of RAM other than to brag about the fact that I have such a ridiculous amount of memory. My daily driver is a 27” i7 iMac with a 256GB SSD, 2TB spinning disc and 16GB of RAM. My hardware is mostly the same as last year. I’ll outline new additions to the list as I go by marking them in bold. Many of the products you will recognize from previous years’ lists. The idea for this list was shamelessly ripped off from Windows developer Scott Hanselman whose list has long been an enjoyable read when he updates it. ![]() This year’s edition of the list takes into account the new tools I am using as part of my transition to working exclusively on iOS 7 and OS X Mavericks, as well as an amateur designer. Here is the code that creates the buttons and adds them to the tool bar.This is the fifth installment of my must have must have list of tools and utilities as a Mac and iOS developer (2009, 2010, 2011, 2012). Java Look and Feel Graphics Repository if your tool bar has the Java look and feel. The buttons in the tool bar are ordinary JButton instances that use images from the Java Look and Feel Graphics Repository. The tool bar can also be dragged out into its own window, in which case the window has the title "Still draggable", as specified by the JToolBar constructor. Because the scroll pane is in the center and no other components except the tool bar are in the container, by default the tool bar can be dragged to other edges of the container. This code positions the tool bar above the scroll pane by placing both components in a panel controlled by a border layout, with the tool bar in the PAGE_START position and the scroll pane in the CENTER position. SetPreferredSize(new Dimension(450, 130)) ![]() JToolBar toolBar = new JToolBar("Still draggable") The following code creates the tool bar and adds it to a container. The next figure shows how the application looks after the user has dragged the tool bar outside its window. The tool bar must be the only other component in the container, and it must not be in the center. The component that the tool bar affects is generally in the center of the container. The next figure shows how the application looks after the user has dragged the tool bar to the right edge of its container.įor the drag behavior to work correctly, the tool bar must be in a container that uses theīorderLayout layout manager. Alternatively, to compile and run it yourself, consult the example index.īy default, the user can drag the tool bar to another edge of its container or out into a window of its own. Java™ Web Start ( download JDK 7 or later). Click the Launch button to run ToolBarDemo using The following images show an application named ToolBarDemo that contains a tool bar above a text area. How to Use Actions describes how to provide the same functionality in menu items and tool bar buttons. Often, tool bars provide easy access to functionality that is also in menus. JToolBar is a container that groups several components usually buttons with icons into a row or column.
0 Comments
Leave a Reply. |