Le 16/12/2010 21:56, Matthias Scholz a écrit :
> Hi Landon,
>
> I don't know, what your point of view is. But I mean, that the 3 jar's
> are a little bit overkill for a DropDownButton/DropDownToogleButton.
> I've a litte bit played with the Netbeans sourcecode and modified the
> dependencies. Now I could commit a stripped down version of only four
> java files. On the other hand, the jars are in maven available. But I'm
> not a maven and build stuff expert.
I have no idea about this feature usefulness, but I want add that any 
effort to keep OpenJUMP light and simple, and to keep number of 
dependencies as low as possible seems valuable to me.

Michaël

> Basically would such a button useful for future developments.
>
> Matthias
>
>> Thanks Benjamin. I'll check out the  NetBeans OpenIDE Library when I
>> get some time.
>>
>> The Sunburned Surveyor
>>
>> On Mon, Dec 13, 2010 at 4:03 PM, Benjamin Gudehus
>> <hasteb...@googlemail.com>  wrote:
>>
>>> Hi Landon!
>>>
>>> DropDownButton is (as Matthias stated) part of the NetBeans OpenIDE Library.
>>>
>>> Builds are available from http://bits.netbeans.org/maven2/org/netbeans/api/.
>>>
>>> org.openide.awt.DropDownButton is in org-openide-awt and is dependant to two
>>> other JARs (i.e. ImageUtilities needs org-openide-util and
>>> org-openide-lookup).
>>>
>>> There should no problem extracting DropDownButton out of the source. You'll
>>> end up with five extracted classes or so.
>>>
>>> Besides I also had a look at
>>> org.openide.explorer.propertysheet.PropertySheetView
>>> to build a PropertyView for features in OpenJUMP. This was a few weeks ago.
>>> I haven't managed to run through all the documentation to implement a
>>> prototype
>>> of the FeaturePropertyView.
>>>
>>> Greetings,
>>> Benjamin
>>>
>>> 2010/12/13 Sunburned Surveyor<sunburned.surve...@gmail.com>
>>>
>>>> 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
>>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>>
>>>
>> ------------------------------------------------------------------------------
>> 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
>>
>
> ------------------------------------------------------------------------------
> 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
>
>


------------------------------------------------------------------------------
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

Reply via email to