Benjamin, What project is DropDownButton a part of? Is it part of Swing or another library?
Thanks, The Sunburned Surveyor On Sat, Dec 11, 2010 at 12:50 PM, Benjamin Gudehus <hasteb...@googlemail.com> wrote: > Hey, > > I've tested DropDownButton, and it's the perfect alternative to the Flamingo > component. > > - DropDownButton extends JButton > - has a similar look to the JButton > - is easier to use (I had to create a IconWrapperResizableIcon class to use > JCommandButton) > > Now I use DropDownButton for my extension. > > To integrate this one sourcefile (DropDownbutton.java) into OpenJUMP you > only have > to get rid of the use of org.openide.util.ImageUtilities class. > > There is also a dependency to IconWithArrow.java in the same package, which > also > has a dependency to ImageUtilities. > > Greetings from Hannover, > > Benjamin > > 2010/12/11 Benjamin Gudehus <hasteb...@googlemail.com> >> >> Hi Matthias, >> >> I use the JCommandButton from Flamingo >> (org.jvnet.flamingo.common.JCommandButton) in >> my OpenJUMP extension. Problem is, that this swing component looks >> differently than >> the other JButtons (it has a blueish border). I use that button for the >> "recently opened projects" >> functionality in my "load project"-button. >> >> For further information about JCommandButton see >> http://www.pushing-pixels.org/?p=1824. >> >> I'll have a short look at DropDownButton, whether this is a better >> solution. >> >> Greetings >> >> Benjamin >> >> 2010/12/11 Matthias Scholz <m...@jammerhund.de> >>> >>> Hi, >>> >>> does anybody know for a "DropDown" button in Swing? I mean a JButton >>> which have a small down arrow on the right site. If you press this >>> arrow, then you see a little menu. As example the debug button in the >>> toolbar of NetBeans or Eclipse. >>> >>> Such a button can be usefull for the MeasureTool. So the user can select >>> the two modes (area or length) with one toolbar button. >>> >>> I would imagine that we take the Netbeans one. As far as i know,the >>> Netbeans source is licensed under the GPL2 too. So it should be no >>> problem to integrete this one sourcefile >>> (org.openide.awt.DropDownButton.java) in OJ. >>> >>> What does the other developer mean???? >>> >>> Regards >>> >>> Matthias >>> >>> >>> ------------------------------------------------------------------------------ >>> Oracle to DB2 Conversion Guide: Learn learn about native support for >>> PL/SQL, >>> new data types, scalar functions, improved concurrency, built-in >>> packages, >>> OCI, SQL*Plus, data movement tools, best practices and more. >>> http://p.sf.net/sfu/oracle-sfdev2dev >>> _______________________________________________ >>> Jump-pilot-devel mailing list >>> Jump-pilot-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > > > ------------------------------------------------------------------------------ > Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, > new data types, scalar functions, improved concurrency, built-in packages, > OCI, SQL*Plus, data movement tools, best practices and more. > http://p.sf.net/sfu/oracle-sfdev2dev > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel