Texturing backgrounds in Java Swing everywhere, not just in panels -
i want make gui java swing/jpanel textured background. found few tutorials on topic texture within boundaries of control being applied to, this:
that's easy enough. can't figure out how apply textures, (not same texture) elsewhere, on tabs title bar, background, scroll bars... everywhere that's still yellow.
how do this? require making own 'look , feel'?
components have variety of functions named paint___
control drawing of various parts. overrode these , tiled graphics.drawimage()
in parts responsible background.
Comments
Post a Comment