java.lang.Object
java.awt.Component
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable
- Direct Known Subclasses:
- Button, Canvas, Checkbox, Choice, Container, Label, List, Scrollbar, TextComponent
- See Also:
- Top Examples, Source Code
@Deprecated
public boolean action(Event evt,
Object what)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void add(PopupMenu popup)
- See Also:
remove(MenuComponent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addComponentListener(ComponentListener l)
- See Also:
getComponentListeners()
, removeComponentListener(java.awt.event.ComponentListener)
, ComponentEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addFocusListener(FocusListener l)
- See Also:
getFocusListeners()
, removeFocusListener(java.awt.event.FocusListener)
, FocusEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addHierarchyBoundsListener(HierarchyBoundsListener l)
- See Also:
getHierarchyBoundsListeners()
, removeHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener)
, HierarchyEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addHierarchyListener(HierarchyListener l)
- See Also:
getHierarchyListeners()
, removeHierarchyListener(java.awt.event.HierarchyListener)
, HierarchyEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addInputMethodListener(InputMethodListener l)
- See Also:
getInputMethodRequests()
, getInputMethodListeners()
, removeInputMethodListener(java.awt.event.InputMethodListener)
, InputMethodEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addKeyListener(KeyListener l)
- See Also:
getKeyListeners()
, removeKeyListener(java.awt.event.KeyListener)
, KeyEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addMouseListener(MouseListener l)
- See Also:
getMouseListeners()
, removeMouseListener(java.awt.event.MouseListener)
, MouseEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addMouseMotionListener(MouseMotionListener l)
- See Also:
getMouseMotionListeners()
, removeMouseMotionListener(java.awt.event.MouseMotionListener)
, MouseEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addMouseWheelListener(MouseWheelListener l)
- See Also:
getMouseWheelListeners()
, removeMouseWheelListener(java.awt.event.MouseWheelListener)
, MouseWheelEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addNotify()
- See Also:
removeNotify()
, isDisplayable()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addPropertyChangeListener(PropertyChangeListener listener)
- See Also:
addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
, getPropertyChangeListeners()
, removePropertyChangeListener(java.beans.PropertyChangeListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
- See Also:
getPropertyChangeListeners(java.lang.String)
, removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void applyComponentOrientation(ComponentOrientation orientation)
- See Also:
getComponentOrientation()
, setComponentOrientation(java.awt.ComponentOrientation)
, NullPointerException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean areFocusTraversalKeysSet(int id)
- See Also:
- IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final float BOTTOM_ALIGNMENT
- See Also:
getAlignmentY()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public Rectangle bounds()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final float CENTER_ALIGNMENT
- See Also:
getAlignmentY()
, getAlignmentX()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int checkImage(Image image,
int width,
int height,
ImageObserver observer)
- See Also:
-
prepareImage(Image, int, int, java.awt.image.ImageObserver)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int checkImage(Image image,
ImageObserver observer)
- See Also:
-
Toolkit.checkImage(Image, int, int, java.awt.image.ImageObserver)
, prepareImage(Image, int, int, java.awt.image.ImageObserver)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected AWTEvent coalesceEvents(AWTEvent existingEvent,
AWTEvent newEvent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected Component()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean contains(int x,
int y)
- See Also:
getComponentAt(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean contains(Point p)
- See Also:
getComponentAt(Point)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Image createImage(int width,
int height)
- See Also:
GraphicsEnvironment.isHeadless()
, isDisplayable()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Image createImage(ImageProducer producer)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public VolatileImage createVolatileImage(int width,
int height)
- See Also:
GraphicsEnvironment.isHeadless()
, isDisplayable()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public VolatileImage createVolatileImage(int width,
int height,
ImageCapabilities caps)
throws AWTException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void deliverEvent(Event e)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void disable()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected final void disableEvents(long eventsToDisable)
- See Also:
enableEvents(long)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public final void dispatchEvent(AWTEvent e)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void doLayout()
- See Also:
LayoutManager
, validate()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void enable()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void enable(boolean b)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected final void enableEvents(long eventsToEnable)
- See Also:
AWTEvent
, disableEvents(long)
, processEvent(java.awt.AWTEvent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void enableInputMethods(boolean enable)
- See Also:
processKeyEvent(java.awt.event.KeyEvent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void firePropertyChange(String propertyName,
byte oldValue,
byte newValue)
- See Also:
firePropertyChange(java.lang.String, java.lang.Object,
java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void firePropertyChange(String propertyName,
char oldValue,
char newValue)
- See Also:
firePropertyChange(java.lang.String, java.lang.Object,
java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void firePropertyChange(String propertyName,
double oldValue,
double newValue)
- See Also:
firePropertyChange(java.lang.String, java.lang.Object,
java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void firePropertyChange(String propertyName,
float oldValue,
float newValue)
- See Also:
firePropertyChange(java.lang.String, java.lang.Object,
java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void firePropertyChange(String propertyName,
int oldValue,
int newValue)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void firePropertyChange(String propertyName,
long oldValue,
long newValue)
- See Also:
firePropertyChange(java.lang.String, java.lang.Object,
java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void firePropertyChange(String propertyName,
short oldValue,
short newValue)
- See Also:
firePropertyChange(java.lang.String, java.lang.Object,
java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AccessibleContext getAccessibleContext()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getAlignmentX()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float getAlignmentY()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Color getBackground()
- See Also:
setBackground(java.awt.Color)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle getBounds()
- See Also:
getSize()
, getLocation()
, setBounds(int, int, int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Rectangle getBounds(Rectangle rv)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public ColorModel getColorModel()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Component getComponentAt(int x,
int y)
- See Also:
contains(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Component getComponentAt(Point p)
- See Also:
contains(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public ComponentListener[] getComponentListeners()
- See Also:
removeComponentListener(java.awt.event.ComponentListener)
, addComponentListener(java.awt.event.ComponentListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public ComponentOrientation getComponentOrientation()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Cursor getCursor()
- See Also:
setCursor(java.awt.Cursor)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public DropTarget getDropTarget()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Container getFocusCycleRootAncestor()
- See Also:
Container.isFocusCycleRoot()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public FocusListener[] getFocusListeners()
- See Also:
removeFocusListener(java.awt.event.FocusListener)
, addFocusListener(java.awt.event.FocusListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)
- See Also:
KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS
, KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS
, KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS
, setFocusTraversalKeys(int, java.util.Set extends java.awt.AWTKeyStroke>)
, IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean getFocusTraversalKeysEnabled()
- See Also:
getFocusTraversalKeys(int)
, setFocusTraversalKeys(int, java.util.Set extends java.awt.AWTKeyStroke>)
, setFocusTraversalKeysEnabled(boolean)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Font getFont()
- See Also:
setFont(java.awt.Font)
, MenuContainer
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public FontMetrics getFontMetrics(Font font)
- See Also:
getPeer()
, getFont()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Color getForeground()
- See Also:
setForeground(java.awt.Color)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Graphics getGraphics()
- See Also:
paint(java.awt.Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public GraphicsConfiguration getGraphicsConfiguration()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getHeight()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public HierarchyBoundsListener[] getHierarchyBoundsListeners()
- See Also:
removeHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener)
, addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public HierarchyListener[] getHierarchyListeners()
- See Also:
removeHierarchyListener(java.awt.event.HierarchyListener)
, addHierarchyListener(java.awt.event.HierarchyListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean getIgnoreRepaint()
- See Also:
setIgnoreRepaint(boolean)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public InputContext getInputContext()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public InputMethodListener[] getInputMethodListeners()
- See Also:
removeInputMethodListener(java.awt.event.InputMethodListener)
, addInputMethodListener(java.awt.event.InputMethodListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public InputMethodRequests getInputMethodRequests()
- See Also:
addInputMethodListener(java.awt.event.InputMethodListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public KeyListener[] getKeyListeners()
- See Also:
removeKeyListener(java.awt.event.KeyListener)
, addKeyListener(java.awt.event.KeyListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public <T extends EventListener> T[] getListeners(Class<T> listenerType)
- See Also:
getPropertyChangeListeners()
, getInputMethodListeners()
, getMouseWheelListeners()
, getMouseMotionListeners()
, getMouseListeners()
, getKeyListeners()
, getHierarchyBoundsListeners()
, getHierarchyListeners()
, getFocusListeners()
, getComponentListeners()
, ClassCastException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Locale getLocale()
- See Also:
setLocale(java.util.Locale)
, IllegalComponentStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Point getLocation()
- See Also:
getLocationOnScreen()
, setLocation(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Point getLocation(Point rv)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Point getLocationOnScreen()
- See Also:
getLocation()
, setLocation(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getMaximumSize()
- See Also:
LayoutManager
, getPreferredSize()
, getMinimumSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getMinimumSize()
- See Also:
LayoutManager
, getPreferredSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public MouseListener[] getMouseListeners()
- See Also:
removeMouseListener(java.awt.event.MouseListener)
, addMouseListener(java.awt.event.MouseListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public MouseMotionListener[] getMouseMotionListeners()
- See Also:
removeMouseMotionListener(java.awt.event.MouseMotionListener)
, addMouseMotionListener(java.awt.event.MouseMotionListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Point getMousePosition()
throws HeadlessException
- See Also:
Container.getMousePosition(boolean)
, isShowing()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public MouseWheelListener[] getMouseWheelListeners()
- See Also:
removeMouseWheelListener(java.awt.event.MouseWheelListener)
, addMouseWheelListener(java.awt.event.MouseWheelListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String getName()
- See Also:
setName(java.lang.String)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Container getParent()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[1278]Change filename extension
By Anonymous on 2005/04/28 07:06:23 Rate
String fileName = file.getName ( ) ;
String filePath = file.getParent ( ) ;
StringTokenizer token = new StringTokenizer ( fileName,"." ) ;
String newFilePath = filePath + "\\" + token.nextToken ( ) + ".csv";
@Deprecated
public java.awt.peer.ComponentPeer getPeer()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getPreferredSize()
- See Also:
LayoutManager
, getMinimumSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public PropertyChangeListener[] getPropertyChangeListeners()
- See Also:
getPropertyChangeListeners(java.lang.String)
, removePropertyChangeListener(java.beans.PropertyChangeListener)
, addPropertyChangeListener(java.beans.PropertyChangeListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public PropertyChangeListener[] getPropertyChangeListeners(String propertyName)
- See Also:
getPropertyChangeListeners()
, removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
, addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getSize()
- See Also:
setSize(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Dimension getSize(Dimension rv)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Toolkit getToolkit()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public final Object getTreeLock()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getWidth()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getX()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getY()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean gotFocus(Event evt,
Object what)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean handleEvent(Event evt)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasFocus()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void hide()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean imageUpdate(Image img,
int infoflags,
int x,
int y,
int w,
int h)
- See Also:
Graphics.drawImage(Image, int, int, int, int, java.awt.image.ImageObserver)
, Graphics.drawImage(Image, int, int, int, int, Color, java.awt.image.ImageObserver)
, Graphics.drawImage(Image, int, int, java.awt.image.ImageObserver)
, Graphics.drawImage(Image, int, int, Color, java.awt.image.ImageObserver)
, ImageObserver
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean inside(int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void invalidate()
- See Also:
LayoutManager
, doLayout()
, validate()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isBackgroundSet()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isCursorSet()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isDisplayable()
- See Also:
Window.dispose()
, Container.remove(Component)
, Window.show()
, Window.pack()
, Container.add(Component)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isDoubleBuffered()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isEnabled()
- See Also:
setEnabled(boolean)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isFocusable()
- See Also:
setFocusable(boolean)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isFocusCycleRoot(Container container)
- See Also:
Container.isFocusCycleRoot()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isFocusOwner()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean isFocusTraversable()
- See Also:
setFocusable(boolean)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isFontSet()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isForegroundSet()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isLightweight()
- See Also:
isDisplayable()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isMaximumSizeSet()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isMinimumSizeSet()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isOpaque()
- See Also:
isLightweight()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isPreferredSizeSet()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isShowing()
- See Also:
setVisible(boolean)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isValid()
- See Also:
invalidate()
, validate()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean isVisible()
- See Also:
setVisible(boolean)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean keyDown(Event evt,
int key)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean keyUp(Event evt,
int key)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void layout()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final float LEFT_ALIGNMENT
- See Also:
getAlignmentX()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void list()
- See Also:
System.out
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void list(PrintStream out)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void list(PrintStream out,
int indent)
- See Also:
PrintStream.println(java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void list(PrintWriter out)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void list(PrintWriter out,
int indent)
- See Also:
PrintStream.println(java.lang.Object)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public Component locate(int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public Point location()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean lostFocus(Event evt,
Object what)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public Dimension minimumSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean mouseDown(Event evt,
int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean mouseDrag(Event evt,
int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean mouseEnter(Event evt,
int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean mouseExit(Event evt,
int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean mouseMove(Event evt,
int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean mouseUp(Event evt,
int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void move(int x,
int y)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void nextFocus()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paint(Graphics g)
- See Also:
update(java.awt.Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void paintAll(Graphics g)
- See Also:
paint(java.awt.Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected String paramString()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public boolean postEvent(Event e)
- See Also:
- MenuContainer
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public Dimension preferredSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean prepareImage(Image image,
int width,
int height,
ImageObserver observer)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean prepareImage(Image image,
ImageObserver observer)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void print(Graphics g)
- See Also:
paint(Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void printAll(Graphics g)
- See Also:
print(Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processComponentEvent(ComponentEvent e)
- See Also:
enableEvents(long)
, addComponentListener(java.awt.event.ComponentListener)
, ComponentListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processEvent(AWTEvent e)
- See Also:
processMouseWheelEvent(java.awt.event.MouseWheelEvent)
, processHierarchyEvent(java.awt.event.HierarchyEvent)
, processInputMethodEvent(java.awt.event.InputMethodEvent)
, processMouseMotionEvent(java.awt.event.MouseEvent)
, processMouseEvent(java.awt.event.MouseEvent)
, processKeyEvent(java.awt.event.KeyEvent)
, processFocusEvent(java.awt.event.FocusEvent)
, processComponentEvent(java.awt.event.ComponentEvent)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processFocusEvent(FocusEvent e)
- See Also:
dispatchEvent(java.awt.AWTEvent)
, enableEvents(long)
, addFocusListener(java.awt.event.FocusListener)
, KeyboardFocusManager
, FocusListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processHierarchyBoundsEvent(HierarchyEvent e)
- See Also:
enableEvents(long)
, addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener)
, HierarchyBoundsListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processHierarchyEvent(HierarchyEvent e)
- See Also:
enableEvents(long)
, addHierarchyListener(java.awt.event.HierarchyListener)
, HierarchyListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processInputMethodEvent(InputMethodEvent e)
- See Also:
enableEvents(long)
, addInputMethodListener(java.awt.event.InputMethodListener)
, InputMethodListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processKeyEvent(KeyEvent e)
- See Also:
isShowing()
, enableEvents(long)
, addKeyListener(java.awt.event.KeyListener)
, dispatchEvent(java.awt.AWTEvent)
, processEvent(java.awt.AWTEvent)
, DefaultKeyboardFocusManager
, KeyboardFocusManager
, KeyListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processMouseEvent(MouseEvent e)
- See Also:
enableEvents(long)
, addMouseListener(java.awt.event.MouseListener)
, MouseListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processMouseMotionEvent(MouseEvent e)
- See Also:
enableEvents(long)
, addMouseMotionListener(java.awt.event.MouseMotionListener)
, MouseMotionListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected void processMouseWheelEvent(MouseWheelEvent e)
- See Also:
enableEvents(long)
, addMouseWheelListener(java.awt.event.MouseWheelListener)
, MouseWheelListener
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void remove(MenuComponent popup)
- See Also:
add(PopupMenu)
, MenuContainer
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeComponentListener(ComponentListener l)
- See Also:
getComponentListeners()
, addComponentListener(java.awt.event.ComponentListener)
, ComponentEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeFocusListener(FocusListener l)
- See Also:
getFocusListeners()
, addFocusListener(java.awt.event.FocusListener)
, FocusEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeHierarchyBoundsListener(HierarchyBoundsListener l)
- See Also:
getHierarchyBoundsListeners()
, addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener)
, HierarchyEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeHierarchyListener(HierarchyListener l)
- See Also:
getHierarchyListeners()
, addHierarchyListener(java.awt.event.HierarchyListener)
, HierarchyEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeInputMethodListener(InputMethodListener l)
- See Also:
getInputMethodListeners()
, addInputMethodListener(java.awt.event.InputMethodListener)
, InputMethodEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeKeyListener(KeyListener l)
- See Also:
getKeyListeners()
, addKeyListener(java.awt.event.KeyListener)
, KeyEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeMouseListener(MouseListener l)
- See Also:
getMouseListeners()
, addMouseListener(java.awt.event.MouseListener)
, MouseEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeMouseMotionListener(MouseMotionListener l)
- See Also:
getMouseMotionListeners()
, addMouseMotionListener(java.awt.event.MouseMotionListener)
, MouseEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeMouseWheelListener(MouseWheelListener l)
- See Also:
getMouseWheelListeners()
, addMouseWheelListener(java.awt.event.MouseWheelListener)
, MouseWheelEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeNotify()
- See Also:
addNotify()
, isDisplayable()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removePropertyChangeListener(PropertyChangeListener listener)
- See Also:
removePropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)
, getPropertyChangeListeners()
, addPropertyChangeListener(java.beans.PropertyChangeListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
- See Also:
removePropertyChangeListener(java.beans.PropertyChangeListener)
, getPropertyChangeListeners(java.lang.String)
, addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void repaint()
- See Also:
update(Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void repaint(int x,
int y,
int width,
int height)
- See Also:
update(Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void repaint(long tm)
- See Also:
update(Graphics)
, paint(java.awt.Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void repaint(long tm,
int x,
int y,
int width,
int height)
- See Also:
update(Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void requestFocus()
- See Also:
KeyboardFocusManager.clearGlobalFocusOwner()
, isDisplayable()
, isFocusable()
, addFocusListener(java.awt.event.FocusListener)
, FocusEvent
, requestFocusInWindow()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean requestFocus(boolean temporary)
- See Also:
KeyboardFocusManager.clearGlobalFocusOwner()
, isDisplayable()
, isFocusable()
, addFocusListener(java.awt.event.FocusListener)
, FocusEvent
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean requestFocusInWindow()
- See Also:
KeyboardFocusManager.clearGlobalFocusOwner()
, isDisplayable()
, isFocusable()
, addFocusListener(java.awt.event.FocusListener)
, FocusEvent
, requestFocus()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected boolean requestFocusInWindow(boolean temporary)
- See Also:
KeyboardFocusManager.clearGlobalFocusOwner()
, isDisplayable()
, isFocusable()
, addFocusListener(java.awt.event.FocusListener)
, FocusEvent
, requestFocus()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void reshape(int x,
int y,
int width,
int height)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void resize(int width,
int height)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void resize(Dimension d)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final float RIGHT_ALIGNMENT
- See Also:
getAlignmentX()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setBackground(Color c)
- See Also:
getBackground()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setBounds(int x,
int y,
int width,
int height)
- See Also:
setSize(Dimension)
, setSize(int, int)
, setLocation(Point)
, setLocation(int, int)
, getBounds()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setBounds(Rectangle r)
- See Also:
setSize(Dimension)
, setSize(int, int)
, setLocation(Point)
, setLocation(int, int)
, getBounds()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setComponentOrientation(ComponentOrientation o)
- See Also:
-
applyComponentOrientation
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setCursor(Cursor cursor)
- See Also:
-
Toolkit.createCustomCursor(java.awt.Image, java.awt.Point, java.lang.String)
, contains(int, int)
, getCursor()
, isShowing()
, isEnabled()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setDropTarget(DropTarget dt)
- See Also:
isEnabled()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setEnabled(boolean b)
- See Also:
isLightweight()
, isEnabled()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setFocusable(boolean focusable)
- See Also:
isFocusable()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setFocusTraversalKeys(int id,
Set<? extends AWTKeyStroke> keystrokes)
- See Also:
KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS
, KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS
, KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS
, getFocusTraversalKeys(int)
, IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[50]Tab keystroke to be used for forward traversal
By Anonymous on 2004/10/07 04:51:32 Rate
private static Set tab = new HashSet ( 1 ) ;
static
{
tab.add ( KeyStroke .getKeyStroke ( "TAB" ) ) ;
}
private static Set shifttab = new HashSet ( 1 ) ;
static
{
shifttab.add ( KeyStroke .getKeyStroke ( "shift TAB" ) ) ;
}
public static void fixTab ( Component c )
{
c.setFocusTraversalKeys ( KeyboardFocusManager .FORWARD_TRAVERSAL_KEYS, tab ) ;
c.setFocusTraversalKeys ( KeyboardFocusManager .BACKWARD_TRAVERSAL_KEYS, shifttab ) ;
}
public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)
- See Also:
getFocusTraversalKeys(int)
, setFocusTraversalKeys(int, java.util.Set extends java.awt.AWTKeyStroke>)
, getFocusTraversalKeysEnabled()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setFont(Font f)
- See Also:
getFont()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[202]Sets the font for list to courier, plain style, 18 point size
By npurdin { at } charter { dot } net on 2003/03/26 17:20:11 Rate
//JList extends component
JList list = new JList;
//sets the font for list to courier, plain style, 18 point size
list.setFont ( new Font ( "Courier", Font.PLAIN, 18 ) ) ;
public void setForeground(Color c)
- See Also:
getForeground()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setIgnoreRepaint(boolean ignoreRepaint)
- See Also:
GraphicsDevice.setFullScreenWindow(java.awt.Window)
, BufferStrategy
, Window.createBufferStrategy(int)
, Canvas.createBufferStrategy(int)
, getIgnoreRepaint()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setLocale(Locale l)
- See Also:
getLocale()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setLocation(int x,
int y)
- See Also:
setBounds(int, int, int, int)
, getLocation()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setLocation(Point p)
- See Also:
setBounds(int, int, int, int)
, getLocation()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setMaximumSize(Dimension maximumSize)
- See Also:
isMaximumSizeSet()
, getMaximumSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setMinimumSize(Dimension minimumSize)
- See Also:
isMinimumSizeSet()
, getMinimumSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setName(String name)
- See Also:
getName()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setPreferredSize(Dimension preferredSize)
- See Also:
isPreferredSizeSet()
, getPreferredSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setSize(int width,
int height)
- See Also:
setBounds(int, int, int, int)
, getSize()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setSize(Dimension d)
- See Also:
setBounds(int, int, int, int)
, setSize(int, int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setVisible(boolean b)
- See Also:
isVisible()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[580]Make the first remaining child visible
By Chris Ashley on 2003/12/21 01:56:23 Rate
public void removeLayoutComponent ( Component child ) {
if ( child.isVisible ( ) ) {
Container parent = child.getParent ( ) ;
if ( parent.getComponentCount ( ) > 0 ) {
parent.getComponent ( 0 ) .setVisible ( true ) ;
}
}
}
@Deprecated
public void show()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public void show(boolean b)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
@Deprecated
public Dimension size()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final float TOP_ALIGNMENT
- See Also:
getAlignmentY()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String toString()
- See Also:
- Object
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void transferFocus()
- See Also:
requestFocus()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void transferFocusBackward()
- See Also:
requestFocus()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void transferFocusUpCycle()
- See Also:
Container.setFocusCycleRoot(boolean)
, Container.isFocusCycleRoot()
, requestFocus()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void update(Graphics g)
- See Also:
repaint()
, paint(java.awt.Graphics)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void validate()
- See Also:
LayoutManager
, doLayout()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples