Search:

Type: Posts; User: Sedu

Search: Search took 0.16 seconds.

  1. Replies
    2
    Views
    111

    [SOLVED] Re: Scrolling in panel won't work

    Thanks for the link, that led me to exactly the stuff I needed!
  2. Replies
    2
    Views
    111

    [SOLVED] Scrolling in panel won't work

    I've got a pretty specific question here, and I'm hoping that I'm just missing something obvious. I've got a panel which an arbitrary number of text fields may be added to at run time (there's no way...
  3. Replies
    2
    Views
    193

    [SOLVED] Re: folder/object browsing menu in Java

    UGH, I'm dumb. This was right in front of me the entire time, and I made a post anyhow. X|

    You called it in one, Cornix, thanks!
  4. Replies
    2
    Views
    193

    [SOLVED] folder/object browsing menu in Java

    Below is a picture of a menu where users can browse through a hierarchical structure of folders and objects in a node/leaf pattern. Is there any built in way to do this with AWT/Swing? The picture is...
  5. Replies
    4
    Views
    133

    [SOLVED] Re: Table update problems

    I found a solution to this. It's a little bit hackey, but it works. Essentially, I just pull the value from the cell editor rather than the model, which is... not ideal, but works. The fix is below,...
  6. Replies
    4
    Views
    133

    [SOLVED] Re: Table update problems

    So I have tried all of the below to get the data model to refresh, but the only thing I can find that will make the model's data (or the data that the table itself returns) match what is on the...
  7. Replies
    4
    Views
    133

    [SOLVED] Re: Table update problems

    Actually, that was likely me as well. I had a similar problem with updating the scroll bar. The solution to that was to use invokeLater (the reason I mentioned it initially). I'm looking around a bit...
  8. Re: Coding a beginner program and get run time error possible loss of precision

    The problem with
    system.out.println(projSales + "\t\t" + accel); is that Java is case sensitive, and you must capitalize "System."

    The Int/Double problem that you have is not something that...
  9. Replies
    4
    Views
    133

    [SOLVED] Table update problems

    I am having trouble with a jTable that I am using. I have set the listeners of the cells to save the information of the entire table every time they are modified, but run into the problem that the...
  10. Replies
    5
    Views
    92

    Re: Scroll Positioning Problem

    Cornix, thank you for the suggestion! Invokelater was exactly what I needed here. Below is my corrected code, now working correctly. This is a really good trick to remember...


    private void...
  11. Replies
    5
    Views
    92

    Re: Scroll Positioning Problem

    Good thought, but I've already attempted that. There's even a getBlockIncrement() function on the scrollbar (example of that non-working code below), which represents the int value of one entry's...
  12. Replies
    5
    Views
    92

    Scroll Positioning Problem

    Heyo, guys! I've got a problem that really has me scratching my head here. I have a JTable inside a JScrollPane. My code (below) adds an entry to the table, then tells the scroll pane to scroll to...
Results 1 to 12 of 12