Search:

Type: Posts; User: helloworld922

Search: Search took 0.19 seconds.

  1. Replies
    4
    Views
    2,014

    Re: Text in Swing

    ::blush::

    My bad. While technically the default paint method is called to draw the component and all sub-components, it is not the recommended method that should be over-ridden for custom...
  2. Replies
    4
    Views
    2,014

    Re: Text in Swing

    A simple solution would be to hard-code a replacement paint method for your JPanel. Note that the reason JLabel's are relative is because the panel can be re-sized, or other components can be added...
Results 1 to 2 of 2