This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
Hey guys. Here's my code. It comes in two classes:
What I would like to do is make the output text area about twice the size of the errors text area. The majority of the program will be displayed in the output area, so I would like to have that take up a decent portion of the screen.
Also, for the customers JTextArea portion. I currently have them colored light grey. Is there any way to mimic the gray behind the JLabels that are right next to it? I want to have it look like a seamless integration from component to component.
What I would like to do is make the output text area about twice the size of the errors text area.
Then you can't use a GridLayout since all compnents are set to the same size. You can either use a SpringLayout (the Swing tutorial has a working example for creating a simple form like this) or a GridBagLayout, which is more complicated.
But first you need to create your text area with different preferred sizes. You can do this by using: