Class SwingUtils2
java.lang.Object
net.thevpc.netbeans.launcher.ui.utils.SwingUtils2
thank you
https://stackoverflow.com/questions/46797579/how-can-i-control-the-brightness-of-an-image
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanacceptCmdArg(String arg) static voidaddEnterAction(JList list, Action action) static voidaddEnterAction(JList list, ButtonAction action) static voidaddEnterAction(JTable list, ButtonAction action) static BoxHboxH()static Colorstatic ComponentPaintcomponentGradientPaint(Color a, int darkening, Direction dir) static ComponentPaintcomponentGradientPaint(Color a, Color b, Direction dir) static ComponentPaintstatic ComponentPaintcomponentGradientPaint(String a, int darkening, Direction dir) static ComponentPaintcomponentGradientPaint(String a, String b, Direction dir) static ComponentPaintstatic ComponentPaintstatic JComponentcreateIconButton(String icon, String tooltip, ButtonAction a) static ImagegrayScaleImage(Image image) static ImagegrayScaleImage2(Image image) static GridPanegridPane()static ImageIconstatic ImageIconstatic ImageIconstatic ImageIconstatic ImagenewBrightness(Image source, float brightnessPercentage) static ImagenewBrightness2(Image source, float brightnessPercentage) static voidprepareLaunch(NbOptions options) static voidsetWidthAsPercentages(JTable table, float... percentages)
-
Constructor Details
-
SwingUtils2
public SwingUtils2()
-
-
Method Details
-
newBrightness
-
grayScaleImage
-
grayScaleImage2
-
newBrightness2
-
createIconButton
-
loadIcon
-
loadIcon
-
loadIcon
-
loadIcon
-
componentGradientPaint
-
componentGradientPaint
-
componentGradientPaint
-
componentGradientPaint
-
componentGradientPaint
-
componentPaint
-
componentPaint
-
color
-
gridPane
-
boxH
-
prepareLaunch
-
acceptCmdArg
-
addEnterAction
-
addEnterAction
-
addEnterAction
-
setWidthAsPercentages
-