Search:

Type: Posts; User: Psyclone625

Search: Search took 0.26 seconds.

  1. Replies
    1
    Views
    295

    [SOLVED] Re: AbstractTableModel Rendering Issue

    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 ==...
  2. Replies
    1
    Views
    295

    [SOLVED] AbstractTableModel Rendering Issue

    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...
  3. Re: Problems updating an AbstractTableModel

    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...
  4. Re: Problems updating an AbstractTableModel

    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...
  5. Re: Problems updating an AbstractTableModel

    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...
  6. Re: Problems updating an AbstractTableModel

    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.
    ...
  7. Problems updating an AbstractTableModel

    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...
  8. [SOLVED] Re: Display icon/image in a JTable when reading in from MySQL

    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...
  9. [SOLVED] Re: Display icon/image in a JTable when reading in from MySQL

    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...
  10. [SOLVED] Display icon/image in a JTable when reading in from MySQL

    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...
  11. Replies
    4
    Views
    235

    Re: Can I do this with Java?

    OK, thanks Greg!
  12. Replies
    4
    Views
    235

    Re: Can I do this with Java?

    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...
  13. Replies
    4
    Views
    235

    Can I do this with Java?

    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...
  14. [SOLVED] Re: JTextPane add text from bottom upwards

    Because you can't use Stylized text in JTextArea.
  15. [SOLVED] Re: JTextPane add text from bottom upwards

    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...
  16. [SOLVED] JTextPane add text from bottom upwards

    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...
  17. Replies
    10
    Views
    378

    [SOLVED] Re: JFrame + JPanel design question

    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.
    ...
  18. Replies
    10
    Views
    378

    [SOLVED] Re: JFrame + JPanel design question

    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...
  19. Replies
    10
    Views
    378

    [SOLVED] Re: JFrame + JPanel design question

    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...
  20. Replies
    10
    Views
    378

    [SOLVED] Re: JFrame + JPanel design question

    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...
  21. Replies
    10
    Views
    378

    [SOLVED] Re: JFrame + JPanel design question

    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...
  22. Replies
    10
    Views
    378

    [SOLVED] JFrame + JPanel design question

    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...
Results 1 to 22 of 25