Best is relative: your layout, other possible requirements, what you are familiar with and time constraints, etc....all play a part. Choice (a) probably gives the greatest flexibility insofar as...
Type: Posts; User: copeg
Best is relative: your layout, other possible requirements, what you are familiar with and time constraints, etc....all play a part. Choice (a) probably gives the greatest flexibility insofar as...
a) Create your own JPanel in which you draw each word, alternating the color before drawing a word b) Create multiple JLabels (aligned in the proper LayoutManager), one for each word, and set the...