I finally figured it out after 3 days of frustration, although I'm not sure why I had to do this since the cell/column class was showing as ImageIcon before and after the rendering.
if(col ==...
Type: Posts; User: Psyclone625
I finally figured it out after 3 days of frustration, although I'm not sure why I had to do this since the cell/column class was showing as ImageIcon before and after the rendering.
if(col ==...
I'm creating a database search for a collectible card/board game. I built a GUI that searches a MySQL database and returns the results to a JTable. The GUI, search, and results returned and...
You were correct, I didn't need the model.fireTableDataChanged() method which I realized as soon as you said it, it was just old code from my attempt to change the data in the model. Also, my code...
Thanks for all your help guys. It seems to be working correctly finally. It took me a couple days of headaches and a lot of reading and debugging, but I finally got it working.
I'm not sure if...
Thanks andbin. I'm about to go to bed right now, but I'll try that tomorrow.
This is just about the end of my project. Once I get the table working, I'm going to add in a render of the row...
First of all, thank you for trying to help me and I apologize for not fully understanding everything. I think I understand what you're saying, but I am trying to track down where I am going wrong.
...
I'm building a database search for a CCG. I have the GUI built with ComboBoxes, TextFields and Buttons that queries a MySQL database when the user presses the search button. All of that is working...
I have it in the same directory as my code. I just have a couple images there for testing purposes, which has worked so far for all my coding. After I get this working, I'm going to have to...
Thanks for the quick response andmin...
I was trying that and made some progress, but still can't figure out how to get the image to show. I think I finally have it recognizing the column as an...
I am making a database search GUI for a CCG. I have a large GUI with JTextFields, JComboBoxes, JButtons, etc. When the user presses search, the program queries the MySQL database based on input...
OK, thanks Greg!
OK. I've made a few decent sized programs that can query MySQL without a problem. I also feel comfortable in building a Java GUI/form that will correctly query the MySQL database and return results...
I want to make a dynamic webpage that can pull information from a MySQL database based on a query from the end-user. I've already made a Java program that can query a MySQL database and also know...
Because you can't use Stylized text in JTextArea.
After spending about 10 hours on this, I think I finally figured it out, and of course it was so simple.
I had to add a layout manager to the JTextPane. I used BorderLayout.SOUTH on the TextPane...
Is there a way to have the text in a JTextPane start at the bottom of the pane and get shifted up the screen instead of down the screen when new text comes in?
I'm trying to create a chat room. I...
Thanks aussie. That's my plan with the networking.
As for my initial question, thanks to the help from this forum, I was able to get the panels to operate the way I wanted using BorderLayout.
...
Thanks for the responses ChristopherLowe and aussiemcgr.
Based on your insight and suggestions, I think I'm just going to keep plugging away without the auto-gen gui builders and stick with java...
Thanks... I'm trying not to use Netbeans auto-generating graphical interface for that exact reason and trying to write all the code by hand. I tried learning Java a couple years ago and used Netbeans...
Thanks! I KINDA got it to work by cheating before I saw this, but didn't truly understand what I was doing becuase I used NetBeans 'drag & drop' to lay everything out. I only did it because I was...
I'm still stuck on this and can't figure out what I'm doing wrong. I've been coding and reading and experimenting for almost 24 hours on this one.
When the frame pops up, everything is in the...
I'm creating a game. So far, I have a Login frame that pops up and requests user name and password. It then verifies with a MySQL database and if the correct information is entered the Login window...