JTable: Is it possible to have different row heights on different columns?

I am using a JTextArea to render cells in a JTable in order to wrap text. This works fine... the problem is that when the text wraps, it increases the rowHeight for that row across the entire table. I would like to be able to only increase the rowHeight for that single column.
Basically, I am building a component that is a three-column list of Text labels... each label is a clickable thing that causes a new panel to load. I used a Jtable because of the features of highlighting, layout, listeners, etc. Maybe there is another way to do this...like build a custom component that just uses JLabel's or something.
Thanks in advance for any advice or comments on the JTable rowHeight or my design decision.
T.J. Herring

Thanks for the suggestion. Our requirement is that all the text must be displayed.. so unfortunately the scroll bar won't work.
This panel that I am building is supposed to act like a set of hyperlinks... like in a web browser. So that you can see all the text and click on the thing that you want. Although the underline functionality that is in the browser is not necessary.
I originally thought that the Jtable would make it easy to lay out this data in that way.. but it seems to me that it might be better to build a custom component. Maybe I'll use a grid layout with jlabels... then I can simply add the highlight/selection functionality.
I assume that I also could just wrap the list text in HTML and build a table out of it.. then display it in an JEditorPane.
Thanks

Similar Messages

  • Is it possible to hav 2 rows displayed with diffeent columns?

    I I do a search and try to display information from 2 different tables but they hav different columns is it possible to have 2 tables? like
    table 1:
    name ID
    a 1
    b 2
    table 2:
    name Email
    a w
    b e
    if i search for "a" can i get:
    name ID
    a 1
    name Email
    a w
    or i get :
    name ID email
    a 1 w
    ? please hel me with code..

    Try:
    SELECT *
    FROM
    (SELECT * FROM id) a
    ,(SELECT * FROM email) b
    WHERE a.a=1 AND b.a='w'
    Christoph

  • Is it possible to have Different Interval Ranges for the same Doc Type

    Dear All,
    Here is the issue.Is it possible to have different interval ranges for the same document type according to certain condition.Like my client , wants his interval ranges  be divided according to region(which are many)
    Regards,
    Sameer Jalees

    Hello,
    As you know we can only assign one number range for External and one number range group for internal in the sales document type.
    If you want different number ranges based on the regions, then as Jignesh suggested, you need to go for an enhancement.
    Use the exit USEREXIT_NUMBER_RANGE in program MVA45AFZZ, include a Z table with region as a critera and number range group for different numbers based on the regions. Talk to the business and get more details, get the help of ABAP team for technical details.
    Regards,
    SAM

  • Is it possible to have different pricing procedure for SO  and invoice?

    Hi,
    Is it possible to have different pricing procedure for SO
    and invoice?

    Hi Kiran35086 
    --Yes you can have it.But it is based on the business requirement
    --Create 2 Document pricing procedures & assign one in VOV8 & another in VOFA
    --In Sales Document VOV8 you maintain different  document pricing procedure Ex A
    --Go to VOFA & select your billing document type in Account assignment/pricing assign the document pricing procedure.EX- B
    --Create condition records in VK11 for the condition types which are included in the pricing procedures
    --Maintain pricing procedure determination in OVKK with 2 different Document pricing procedure & save it
    --When you raise SO in VA01 you will find one pricing procedure & when you raise billing in VF01 you find another pricing procedure in conditions.
    Let me know if your problem is solved
    Regards
    Pradeep

  • Is it possible to have different pricing procedure at sales order level and

    Hi SD Gurus,
    Is it possible to have different pricing procedure at sales order level and invoice level?
    if is it possible to have different pricing procedures at sales order level and invoice level could you please tell me the steps how i have to do?
    Thanks & Regards,
    Nivas

    Hi,
    Yes you can able to map two different pricing procedure for order and invoice level
    You can achieve it through by document pricing procedure and assign it in document type
    In VOV8  assign document pricing procedure A for order type
    in VOFA assign document pricing procedure B for billing type
    Keep customer pricing procedure common
    Then in OVKK assign pricing procdures
    Kapil

  • Possible to have different Startup-profiles?

    Hi,
    I was wondering if it is somehow possible to have different startup-profiles. I just ordered a MacBook Pro and would like to have different startup and setups to choose from. I could make myself different userprofiles - but that way I think I don´t have access on the same Mail and iChat data - right?
    Any ideas? At home I would like to have a startup with iChat and Mail and other things and when I´m using it on a concert I want to have a different setup without Bluetooth on and sharing and just very sleek.
    Best regards - Christoph

    HI Christopher,
    Congrats on your new MBPro!
    As administrator of your own computer you can set up different user accounts/profiles:
    Adding a new user account to your computer
    You can create individual user accounts for each person who uses your computer. Each new user has a separate home folder and can adjust his or her own preferences without affecting other users.
    Choose Apple menu > System Preferences and click Accounts.
    If some settings are dimmed, click the lock icon and type an administrator name and password.
    Click Add and type the user's name.
    If you don't want to use the short name generated automatically, type a new short name. (Once the account is created, you won't be able to change the short name.)
    Type the user's password in the Password and Verify boxes.
    Type a hint to help the user remember the password if they have trouble remembering it at login.
    Click Parental Controls and select options to determine what the user can do with the computer.
    Now, each account would have it's own name and login password. Each account has access to it's own software, ie., Mail and iChat.
    You can set up Bluetooth to pair with various hardware such as cell phones/mice/headphones/keyboards or printers.
    You can set up your MBP to login certain software at startup. Example, I use Safari and my internet connection software daily so I have that set up to launch at startup -- saves time.
    If you have more questions... go here:
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?nnmm=br owse&mco=3856D31F&node=home/macbook/macbook_pro
    Scroll down toward the bottom of that page. All the specs and warranty info plus software are listed there.
    You will love your MBP!
    Carolyn

  • Possible to have different names on one account?

    Is it possible to have my account name different from the name on the registered credit card? My mother is allowing me to use her credit card for my Apple ID but on things like the iCloud it shows her name, since that's the name on the credit card. So, is there a way for me to have my name as the main account?

    No.

  • Spry Accordion: Is it possible to have no row selected?

    Is there any way to make the Accordion act like there is no
    row currently selected? It doesn't appear to be possible to set
    this to null. The data in this case is being loaded from an XML
    file, so I made a work-around by making the first XML element in
    the list an empty tag, which worked ok, but that makes it harder to
    retrieve the XML file directly from the database. Is there any way
    to truly have no row selected in the Accordion?

    True, I guess the accordion isn't the issue. What I'm
    referring to are the functions for getting the current row from in
    the XMLDataSet API. As far as I can tell, it doesn't seem to be
    possible to have a null value for the currently selected row. I
    just wanted to make sure that it is not in fact possible to have an
    XMLDataSet instance with no currently selected row?

  • Is it possible to have different iTunes profiles?

    For example, my sister has her iPod and I have mine... we both listen to different music, so I wouldn't want her music being dumped into my iPod and vice versa. Is this possible to do?

    When the iPods belong to different people, there are basically three ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library
    b) Creating Multiple Libraries in a single user account
    c) Creating multiple user accounts.
    Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
    Sharing a Library and/or User Account
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish): iPod - Syncing Music
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
    Loading the iPod shuffle differs slightly but it can still be used with the others, for details have a look at this page: Adding songs to iPod shuffle - Windows
    Multiple Libraries
    It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Shift key in Windows when launching iTunes 7. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
    Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library: Using multiple iTunes libraries -Windows
    Separate User Accounts
    Another option is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists
    I don't use Windows so I can't give you a step by step on that one, however I can point you to another web page which should help you out. You can read about Windows user accounts here: Create A New User Account In Vista

  • Is it possible to have different service pack between Exchange servers.

    Is it possible to have CAS Exchange 2007 running service Pack 1 and Mailbox server 2007 running SP2? In my env I need to have SP1 running on CAS server for some applications but also need to install SP2 for migration. Application cannot be upgraded so
    I am thinking to keep one CAS running SP1 and upgrade other Exchange 2007 servers to SP2. Please suggest.

    Hi,
    It is recommended to have the same service pack level on all Exchange 2007 servers, different service pack level may have potential effects.
    Here is a related thread for your reference.
    Exchange servers with different Service pack levels
    http://social.technet.microsoft.com/Forums/en-US/88e22daf-7ccb-49c3-97d8-f339336476da/exchange-servers-with-different-service-pack-levels?forum=exchangesvrdeploylegacy
    Hope this helps.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Is it possible to have different headers for each page for the Pages app?

    I just purchased the Pages app for my ipad and it happens to be one of the best apps i've ever bought.  However, I'm having trouble figuring out how to have different headers for each page of the same document.  Is this possible to do?

    Tommy,
    One of the limitations of Pages for iOS on your iPad is that Pages can't create sections per se. The best you can do is insert page breaks and then assign different columns to that page. The problem comes with the headers and footers - in iOS Pages, the headers and footers apply to the whole document, not the individual sections as you would find in Pages '09 on OSX.
    The workaround is to create your document on OSX, insert the needed sections and headers, save, then transfer the Pages document to your iPad either as a working "blank" or as a new document. The headers and footers will reflect the sections you created in OS X, but you won't be able to add any new ones or new sections on your iPad.

  • Is it possible to have different margin settings for odd and even pages?

    Hi guys.
    I am formatting a book I want to get printed and it would be very helpful to have different margin settings on the odd and even pages so the text won't fall too close to the gutter (as happened in the proof copy I ordered!).
    It's possible to do this on Word, but I can't seem to do it on Pages? Am I missing something?
    Any help would be greatly appreciated. Thank you

    Thanks Peter. I upgraded to Pages 5 a while back. I guess my next question is.....is there any way I can downgrade to Pages 09...anywhere I can still download it from?
    Seems a bit of a backward step, but needs must

  • Is it possible to have different fields go to different pages?

    I have 6 fields that will serve to search records a button either hidden or not will then be called to branch to that page only if there are more than 1 records. Otherwise it will display the results on the same page, populating those fields that match the exact criteria. I'm guessing I need a process first to find out if there are more than 1 records found. Is it possible then to go to a different page from the process then select the record and return the values to the previous page. I was using LOV for this but the user doesn't want to do it this way. They want to enter as many values they think they need to find the records and display the results in a column based report.
    Now the user will then continue entering some other values in other fields and then submit the page. Submit saves the data into a table. Of course the user wants to use the mouse as little as possible and magically the application will go to the right place depending on the field where the enter key is pressed.
    Does anyone have done something like this?
    Could you give me some pointers?
    I really appreciate any help you could provide.
    Thanks
    juan

    Hi Juan,
    If you use a Text Field (always submits page when Enter pressed) field you will see that it calls a submitEnter() javascript function.
    This function is:
    function submitEnter(itemObj,e){
    var keycode;
    if (window.event) keycode = window.event.keyCode;
    else if (e) keycode = e.which;
    else return true;
    if (keycode == 13){
    doSubmit(itemObj.id);
    return false;
    }else{
    return true;
    You could create your own function that sets the value of a hidden page item (say, P1_PAGE) and then calls the submitEnter() function. Or, you create a replacement to the submitEnter() function to do both. You would need to use a normal Text Field item and add a call to your function by adding onkeypress="return yourfunction('Page', this, event) into the HTML Form Element Attributes for your item.
    Then, when the page is submitted, the branch should be to &P1_PAGE. instead of a number. P1_PAGE should have a default value to ensure that there is always a page to go to in the branch.
    Regards
    Andy

  • Is it possible to have two rows of text fields per entry in a tabular form?

    Hi,
    I'm constructing a tabular form with several text fields for each entry, and I have just been advised we need twice as many text fields now as the requirements have changed.
    Anyway I am running out of real estate on the page without having to use horizontal scroll bars, and am wondering if it is possible to arrange the text fields into two rows in the tabular form for data entry. I have successfully done this for display as text fields, but not sure if it can be done in this instance.
    Any help would be greatly appreciated.
    Application Express 4.1.1.00.23
    Greg
    Edited by: Snowman on Nov 30, 2012 12:02 PM

    Snowman wrote:
    Hi,
    I'm constructing a tabular form with several text fields for each entry, and I have just been advised we need twice as many text fields now as the requirements have changed.In the first place I'd strongly recommend not using tabular forms: +{thread:id=850889}+.
    Anyway I am running out of real estate on the page without having to use horizontal scroll bars, and am wondering if it is possible to arrange the text fields into two rows in the tabular form for data entry. I have successfully done this for display as text fields, but not sure if it can be done in this instance.If you must, create a custom named column template and base the tabular form report on this: {message:id=10399762}

  • 8120 BlackBerry Pearl: Is it possible to have different tones for messages and phonecalls?

    Hey all.
    My Dad's just got a BlackBerry & would like to have a different tone for his message alert and phonecalls.
    Is this possible?
    If so...how do we do it?
    Thanks in advance.
    Solved!
    Go to Solution.

    Oh yes... your alerts, ringtones and notifications are very customizable.
    1. Select the Profiles icon
    2. A box will appear where you can quick select between Loud, Vibrate, Quiet, Normal, Phone Only, and Off. If you wish to quick change the device profiles then select the one you want and exit out.
    3. If you want to edit the tones assigned to the device applications then select the last option, Advanced
    (some older models and OS 4.1 and below will not have the "Advanced" step--if Advanced is not present go directly to Step 4 below).
    4. Select the profile you wish to edit. (Loud, Vibrate, Quiet, Normal (default), Phone Only, Off)
    Note: on the 8100, 8800, and 8300 models: Do not click the trackball. Instead, click the menu key to the left of the trackball).
    Note: The profile that is in use will say: (Active)
    5. You will now see a list of all applications that can have a tone assigned (Browser, Calendar, Level 1 Messages, Messages ([email protected]), Messenger, MMS, Phone, SMS, Task ect..)
    6. Select the application you wish to edit the tone / notification for
    7. You can now edit Out of Holster and In Holster tones/ notifications.
    a) Select between: None, Tone, Vibrate, Vibrate+Tone
    b) Select the Tune you wish to use
    c) Select Volume (options are Mute, Low, Medium, High, Escalating)
    d) Select Number of Beeps (options are 1, 2, 3)
    e) Select Repeat Notification (options are None, LED Flashing)
    f) If set to Vibrate or Vibrate+Tone then select Number of Vibrations (options are 1, 2, 3)
    8. Repeat a-e for each of the desired applications listed in 5 above
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for