Hi guys well I have a problem on my JFrame which is once I click on my List all Videos button it displays my data from my MS database which all works well. However as you can see from the png the query results are not aligned up correctly together which makes it look messy. So how would I fix this problem?

Any help you can give would be appreciated

Recommended Answers

Im using TextArea

Well thats why, ever thought of using a scrollpane along with a jtable? much easier:see here:http://java.sys-con.com/node/36190 and this:http://docs.oracle.com/javase/7/docs/api/javax/swing/JTable.html and this:

Jump to Post

All 3 Replies

Hi guys well I have a problem on my JFrame which is once I click on my List all Videos button it displays my data from my MS database which all works well. However as you can see from the png the query results are not aligned up correctly together which makes it look messy. So how would I fix this problem?

Any help you can give would be appreciated

What component are you using to show the data? a Textarea? or a table?

What component are you using to show the data? a Textarea? or a table?

Im using TextArea

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.