Search:

Type: Posts; User: rhalliwell1

Search: Search took 0.15 seconds.

  1. Replies
    11
    Views
    1,499

    Re: string tabbing problem

    That is a good idea! Thanks, I'll try it.

    i'd rather not use a JTable but if i must then i will.
  2. Replies
    11
    Views
    1,499

    Re: string tabbing problem

    Unfortunately your solution, although very intuitive and simple, will not quite do.

    Because the items in the columns are of different sizes, just adding " " will not keep them aligned but has...
  3. Replies
    11
    Views
    1,499

    Re: string tabbing problem

    System.out.println("Tab\tTab");

    Works correctly. :S

    Maybe tabs don't work in JLists?

    SSCCE:


    import javax.swing.*;
  4. Replies
    11
    Views
    1,499

    Re: string tabbing problem

    System.out.println("Tab\tTab");

    Works correctly. :S

    Maybe tabs don't work in JLists?
  5. Replies
    11
    Views
    1,499

    Re: string tabbing problem

    One tab:

    http://i.imgur.com/ptXyY.png

    I just want them to be aligned in columns, like they are but actually aligned.
  6. Replies
    11
    Views
    1,499

    string tabbing problem

    Hi,

    I'm having a problem with the tabbing space in string. Here's the code (within a class that extends DefaultListCellRenderer):


    super.setText(date + "\t\t\t\t\t\t\t\t\t\t" +
    ...
Results 1 to 6 of 6