- Method in class javax.swing.plaf.metal.MetalBorders.PopupMenuBorder public void paintBorder (Component  c, Graphics  g, int x, int y, int w, int h) Description copied from class: AbstractBorder This default implementation does no painting.Overrides:paintBorder in class AbstractBorderTags copied from interface: BorderParameters: c - the component for which this border is being painted - the paint graphicsg - the paint graphics - the x position of the painted borderx - the x position of the painted border - the y position of the painted bordery - the y position of the painted border - the width of the painted borderwidth - the width of the painted border - the height of the painted borderheight - the height of the painted border