public float getMaxValue(int component) Returns the maximum normalized color component value for the specified component. The default implementation in this abstract class returns 1.0 for all components. Subclasses should override this method if necessary. Parameters: component - the component index Returns: the maximum normalized component value Throws: IllegalArgumentException - if component is less than 0 or greater than numComponents - 1
Java
Topic: Awt
Explain getMaxValue in awt?
Browse random answers:
When dropping an object over a JTree, how do you determine the node being dropped over?
When having a droppable JTree, how do I change the default behavior of using selection to see the active drop target?
How can I find out if my application is being used with a screen magnifier?
What accessible roles were added to the 1.4 J2SE accessibility API?
Which accessible interfaces were added for J2SE 1.4?
What is the purpose of AccessibleExtendedComponent?
How do I explicitly set the Toolkit for my program?
What this I hear about a new Toolkit for Linux machines in Java 5.0?
Should I use the invokeLater() and invokeAndWait() method of EventQueue or SwingUtilities?
I want the user to be able to input tabs in my application, but the tab character moves the input focus to the next component in the app and my application's keylistener gets nothing. Is there any way to change this behaviour ?
How can I write a GIF image?
Explain public abstract class AWTEvent in awt?extends EventObject
How can I place my Java app in the Windows System Tray area?
Explain consume() in awt?
How do I use the default mail client to send an email?
Explain getID() in awt?
After adding a bunch of points to a Polygon, can I reuse it or must I create a new one?
Explain isConsumed() in awt?
How do I test my program for how accessible it is?
Explain paramString() in awt?
How can I control the Z-order that my overlapping components are drawn in? - 06.30.05
Explain setSource(Object newSource) in awt?
I'm using setComponentZOrder() to have overlapping components but the last component I click on is always drawn on top. How do I fix this?
Explain toString() in awt?
What is z-order?
Explain Class AWTKeyStroke in awt?
How can I get Pixel Info (width, height, pixel colors) for a text string?
Explain equals(Object anObject) in awt?
How can I perform a task while the mouse is pressed, stopping when the mouse is released?
Explain getAWTKeyStroke(char keyChar) in awt?
How can I save Frame graphics as jpeg image?
Explain getAWTKeyStroke(Character keyChar, int modifiers) in awt?
How do I create a Graphics object?
Explain getAWTKeyStroke(int keyCode, int modifiers) in awt?
Which layouts respect which sizing methods?
Explain getAWTKeyStroke(int keyCode, int modifiers, boolean onKeyRelease) in awt?
Why does GridLayout not respect my row and column parameters?
Explain getAWTKeyStroke(String s) in awt?
How can I determine the preferred size of a component immediately after creating it?
Explain getAWTKeyStrokeForEvent(KeyEvent anEvent) in awt?
What is the difference between AWT and SWT?
Explain getKeyChar() in awt?
How can I determine the currently-focused component?
Explain getKeyCode() in awt?
Can Images respond to mouse events?
Explain getKeyEventType() in awt?
How can I display text vetically in a Canvas?
Explain getModifiers() in awt?
How can I extend the Graphics class to add a new drawing method?
Explain hashCode() in awt?
How can I make user only run one instance of my GUI application?
Explain isOnKeyRelease() in awt?
In case of images how does thread spawning work? Can I stop the AWT from creating a thread for the image while loading?
Explain readResolve() in awt?
What is the default layout manager of an applet?
Explain registerSubclass(Class<?> subclass) in awt?
How can I restrict the size of a component in a BoxLayout?
Explain toString() in awt?
Why aren't printing-related topics covered in the I/O FAQ? It seems like an I/O issue.
Explain Interface KeyEventDispatcher in awt?
Can I hide the grey TextField border in an applet while still displaying the text?
Explain boolean dispatchKeyEvent(KeyEvent e) in awt?
How can I determine all of the components contained in a JFrame?
Explain Interface KeyEventPostProcessor in awt?
How can I get a reference to the container to which a component has been added?
Explain boolean postProcessKeyEvent(KeyEvent e) in awt?
How do I draw underlined text in an AWT Label component?
Explain Interface Stroke in awt?
How do I write a status bar in AWT/Swing?
Explain createStrokedShape(Shape p) in awt?
Why does getPreferredSize() return (0,0) for my frame? (Or why does pack() crunch my frame to nothing?)
Explain Interface Transparency in awt?
How can I construct a Flowchart in Java Swing?
Explain BITMASK in awt?
How do we stop the AWT Thread? Our Swing application will not terminate.
Explain OPAQUE in awt?
How can I determine the active JFrame?
Explain TRANSLUCENT in awt?
SSN Validation Are there any guides to validating social security numbers?
Explain AffineTransform in awt?
Ensuring that previous graphical objects do not get erased with every repaint I'm trying to create a MS-Paint Style whiteboard for collaborative work across the net.
Explain Arc2D in awt?
Why doesn't the Windows L&F use the same Fonts as Windows?
Explain Class ColorSpace in awt?
Where can I learn (more) about dealing with 2D (two dimensional) and 3D (three dimensional) images, sound, speech, telelphony, and the rest of Java's support for advanced media handling?
Explain fromCIEXYZ in awt?
If an event handler throws an exception which it does not itself catch, there is a crash in the current EventQueue DispatchThread.
Explain public int getType() in awt?
Whats is the Dimension Class used for?
Explain getNumComponents in awt?
How can I use the Java 2D API in an applet?
Explain getName in awt?
What policies/permissions are needed to use drag and drop in an applet?
Explain getMinValue in awt?
Do we have a round button. Can we have a round button which is not awt component.It should be a bean where i can change the size and color of button.
Explain getMaxValue in awt?
Changing style of selected text in Text Area componet of awt
Can I change thickness of a line in Graphics without using Graphics2D?
Can I make an AWT Panel transparent?
How do you drag and drop one row in a JTable to another… How do you drag and drop one row in a JTable to another location in the JTable.