You can decorate the buttons and label using the html text. You no need to call methods to set color, font size, font style etc for the Button and labels. Just specify them through the HTML tag. import javax.swing. * ; import java.awt. * ; class HTMLButton { public static void main( String ar[ ] ) { String html = "<html><table border=1>" + "<tr><td>One</td><td>1</td></tr>" + "<tr><td>Two</td><td>2</td></tr>" + "</table>" ; JFrame fram...
Future driven solutions.