No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Re: [QUOTE=ZEEPLE;47828]Hey, I have tried everything that does not work to change the color of the text on a JButton I have in a JPanel. Does anyone know how to do this. I need the actual text on the button to be a different color than black..This is an application so … ![]() | |
Re: Try this complete source code : [ICODE] import javax.swing.JTextArea; import javax.swing.JFrame; import java.awt.Color; import java.awt.FlowLayout; public class SetJTextAreaTextColor { public static void main(String[]args) { //Create text area using JTextArea JTextArea textArea=new JTextArea(); //Create JFrame with title ( Set JTextArea text color ) JFrame frame=new JFrame("Set JTextArea text color"); //Set color … |
The End.