Author: Wayne Rasband (wsr@nih.gov) History: 2000/10/31: First version
2003/02/19: Added example with panel on right side
2005/04/24: Does not extend past bottom of screen; works with stacks
2014/02/06: Fixes bug that caused keyboad shortcuts to not work
Source: Panel_Window.java or Side_Panel.java Installation: Download Panel_Window.java and Side_Panel.java to the plugins folder and run using Plugins/Compile and Run. Description: These plugins demonstrates how to add a panel of buttons to an image window and how to process mouse events. They open a window that contains a copy of the current image and a panel with "Invert" and "Flip" buttons. The Panel_Window plugin adds the panel below the image and the Side_Panel plugin adds it on the right side. If no images are open, they create a blank images.