It is possible to put an icon&text on the table�s header of JTabbedPane?

Hi
It is possible to put an icon&text on the table�s header of JTabbedPane?
Tx
D

its not what i'm looking for.
maybe its a JTabbedPane at all. if yuo know the Emule interface,it seems like all the comnents Connect,Servers,Transffers,etc they all like a combination of a jTogglebuttn and a JTabbedpane.
can it be a JToolBar and JToggle buttons in it,that has an event that changh the content of the JFrame?
Tx
D

Similar Messages

  • How do I put skype icon back in the dock?

    How do I put skype icon back in the dock?

    Just find the Skype application in the Applications folder and drag it back onto the Dock, anywhere to the left of the gap.
    Regards.

  • The text in the tables is hazy when printed in the new version of pages. How can I get this to the same clear text as before?

    In the new version of Pages, the text in the tables are no long clear and sharp as before, they look embedded on all print outs. How can I change this.

    You can do a check for corrupted fonts and other font issues:
    *http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    *http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html

  • Is it possible to put a "logout" button on the wake-from-screensaver dialog

    Does anyone know if there's a setting or hack to put a "logout" option on the password dialogue you get when the machine wakes from sleep or screensaver (with secure option set).
    Example: When our family laptop goes to sleep or screensaver after it was open in my account, it will wake up only with my password unless I make my wife's account administrator. If I do so, she can wake the computer without repowering it, but it wakes in MY account even though she's used HER username/password. That's not what we want. We want a logout button that will take her back to the multi-account login screen without rebooting.
    Does anyone know if this is possible?
    Thanks!

    hochmand wrote:
    Does anyone know if there's a setting or hack to put a "logout" option on the password dialogue you get when the machine wakes from sleep or screensaver (with secure option set).
    Example: When our family laptop goes to sleep or screensaver after it was open in my account, it will wake up only with my password unless I make my wife's account administrator. If I do so, she can wake the computer without repowering it, but it wakes in MY account even though she's used HER username/password. That's not what we want. We want a logout button that will take her back to the multi-account login screen without rebooting.
    Does anyone know if this is possible?
    it's not possible to add a logout button but there is no need. just go to system preferences->accounts->login options and enable fast user switching. then the wake from sleep dialog will have a 'switch users" button which will take you to the login window without logging out the current user. you can log into any user from the login window.
    Thanks!

  • How to put finder icon back into the dock?

    does anyone know how to put the finder icon back into the dock because that icon just disappeared and i have no idea how to put it back in. thank you so much if you know how!
    iBook 12-inch G4   Mac OS X (10.4.6)  

    lamfishy,
    Welcome to Apple Discussions.
    Find the com.apple.dock.plist file in your Macintosh HD/Users/yourusername/Library/Preferences Folder, drag it to the Desktop, log out/in or restart and let us know what happens.
    ;~)

  • Wrapping of Text in the Table UIElement

    Hi
       Is it possible to wrap the text in the header of a Table UIElement.Whenever a column heading is created it keeps extending on one single line. Any suggestions.
    ravi

    Please give a try with one of the following options..
    A similar post is also available at
    Newline in WDTextView
    <u>Option 1</u>
    1.Set the layout property of the UI element container to be GridLayout or MatrixLayout.
    2.Enable the "wrapping" property of Label or TextView to "true"
    3.Set the "width" property of the UI Element's(label/TV) Layout data to <integer>px [eg: 100px]
    3.Build and Deploy
    <u>Option 2</u>
    This option is only applicable for Labels. But for any Layout.
    1.Set the "width" property of the UI Element(label/TV) to <integer>px [eg: 100px]
    2.Enable the "wrapping" property of Label or TextView to "true"
    3.Build and Deploy
    Thanks and Regards,
    Sam Mathew

  • How to create a text editor, the one like header text in PO

    Dear Ones,
    My requirement is that I want to create a text editor for storing terms and condition plant wise.
    The editor should be the one like header text in PO. It can take end number of lines.
    I created the text object ('TERMS') in table ttxob and text for it in table ttxot.
    Also created text id ('L000' and 'L001') in table ttxid and text for it in table ttxit.
    Now using FM read_text, save_text and edit_text, I have written a program but it does not save the data.
    When I run the program initially it displays me blank, then I enter some data into it. Again when I come back it displays the data and also saves the edition. But if I close my session the data is gone.
    It means it is not actually saving the data in database. My code is as below:
    *& Report ZAK_TEXT_EDITOR
    REPORT zak_text_editor.
    DATA : head TYPE STANDARD TABLE OF thead WITH HEADER LINE,
           line TYPE STANDARD TABLE OF tline WITH HEADER LINE.
    DATA : tdname TYPE thead-tdname.
    SELECTION-SCREEN : BEGIN OF BLOCK blk WITH FRAME TITLE text-001.
    SELECTION-SCREEN : SKIP 1.
    PARAMETERS       : id TYPE thead-tdid OBLIGATORY
                               MATCHCODE OBJECT zak_textid.
    SELECTION-SCREEN : SKIP 1.
    SELECTION-SCREEN : END OF BLOCK blk.
    START-OF-SELECTION.
      CONCATENATE 'TERMS' id INTO tdname.
      head-tdobject   = 'TERMS'.
      head-tdname     = tdname.
      head-tdid       = id.
      head-tdspras    = sy-langu.
      head-tdlinesize = 132.
      APPEND head.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                        = sy-mandt
          id                            = id
          language                      = sy-langu
          name                          = tdname
          object                        = 'TERMS'
        ARCHIVE_HANDLE                = 0
        LOCAL_CAT                     = ' '
      IMPORTING
        HEADER                        =
        TABLES
          lines                         = line
       EXCEPTIONS
         id                            = 1
         language                      = 2
         name                          = 3
         not_found                     = 4
         object                        = 5
         reference_check               = 6
         wrong_access_to_archive       = 7
         OTHERS                        = 8.
      IF sy-subrc <> 0.
        CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
            client                = sy-mandt
            header                = head
          INSERT                = ' '
          SAVEMODE_DIRECT       = ' '
          OWNER_SPECIFIED       = ' '
          LOCAL_CAT             = ' '
        IMPORTING
          FUNCTION              =
          NEWHEADER             =
          TABLES
            lines                 = line
         EXCEPTIONS
           id                    = 1
           language              = 2
           name                  = 3
           object                = 4
           OTHERS                = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
      CALL FUNCTION 'EDIT_TEXT'
        EXPORTING
        DISPLAY             = ' '
        EDITOR_TITLE        = ' '
          header              = head
        PAGE                = ' '
        WINDOW              = ' '
          save                = 'X'
        LINE_EDITOR         = ' '
        CONTROL             = ' '
        PROGRAM             = ' '
        LOCAL_CAT           = ' '
      IMPORTING
        FUNCTION            =
        NEWHEADER           =
        RESULT              =
        TABLES
          lines               = line
       EXCEPTIONS
         id                  = 1
         language            = 2
         linesize            = 3
         name                = 4
         object              = 5
         textformat          = 6
         communication       = 7
         OTHERS              = 8.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

    CONSTANTS:
      line_length TYPE i VALUE 254.
    DATA: ok_code LIKE sy-ucomm.
    DATA:
    Create reference to the custom container
      custom_container TYPE REF TO cl_gui_custom_container,
    Create reference to the TextEdit control
      editor TYPE REF TO cl_gui_textedit,
      repid LIKE sy-repid.
    START-OF-SELECTION.
      SET SCREEN '100'.
          MODULE USER_COMMAND_0100 INPUT                                *
    MODULE user_command_0100 INPUT.
    CASE ok_code.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
    The TextEdit control should only be initialized the first time the
    PBO module executes
      IF editor IS INITIAL.
        repid = sy-repid.
      Create obejct for custom container
        CREATE OBJECT custom_container
          EXPORTING
            container_name              = 'MYCONTAINER1'
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            others                      = 6
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      Create obejct for the TextEditor control
        CREATE OBJECT editor
          EXPORTING
             wordwrap_mode          =
                    cl_gui_textedit=>wordwrap_at_fixed_position
             wordwrap_position      = line_length
             wordwrap_to_linebreak_mode = cl_gui_textedit=>true
            parent                  = custom_container
          EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 5
            others                 = 6
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT

  • How to search text in the table?

    Suppose, I've selected some fragment in my document, and I need to find and replace some text in it. Everything is ok, untill I select a part of a table with this text. Does anyone has idea, how to search through the selected cells in the table? Or, just how to iterate them?
    Thanks!

    var doc = app.ActiveDoc;
    var tbl = doc.SelectedTbl;
    // Navigate to the first selected row.
    var row = tbl.FirstRowInTbl;
    while (row.ObjectValid() === 1) {
        if (row.id === tbl.TopRowSelection.id) {
            break;
        row = row.NextRowInTbl;
    // Process the selected rows.
    while (row.ObjectValid() ===1) {
        cell = row.FirstCellInRow;
        while (cell.ObjectValid() === 1) {
            if ((cell.CellColNum >= tbl.LeftColNum) && (cell.CellColNum <= tbl.RightColNum)) {
                // Do something here...
            cell = cell.NextCellInRow;
        if (row.id === tbl.BottomRowSelection.id) {
            break;
        row = row.NextRowInTbl;
    This should do what you want.
    Rick

  • Vertically-aligned tables shift down when entering/editing text within the table.

    Hi all,
    We have a sudden problem that is occurring, and I've done a lot of searching without finding anything close to this happening elsewhere.
    If there is ever a table that is aligned vertically within a text frame, you cannot edit the text without having it shift down one line break for every letter you type, until it's bottom-aligned within the frame. You can then click "align center", and it will re-align itself. Then, if/when you need to change even one letter again inside the table, it will shift down one line.
    We've tested it with two different docs on both Mac and PC, with the same problem. I've cleared my prefs on the Mac to see if that would make a difference, and it hasn't done anything.
    Any thoughts here? I can't recall anything that would have changed since this started happening, but it won't leave us alone now!
    Thanks!!

    Very interesting. I do lots of tables but don't vertically justify so I have never run into this. However I can confirm this behavior on a new clean test page I made, using InDesign CS5 (7.0.3) on Mac OS 10.6.6. I have no other problems with InDesign; it is running flawlessly. And no weird plug-ins or system hack software.
    My test file uses my default font (Adobe Minion Pro) and the default table (Insert > Table).
    It also shifts down when I delete a character in a cell. And the shift for me is more than one carriage return. I can get it back to center-aligned by top aligning and then choosing center align again.

  • Is it possible to put a Swing componet on the web?

    Hi,
    I have a Swing application which has I mean an application with GUI and would like to put on the web, is it possible? please provide examples if possible.
    I appreciate your help
    Jii

    Yes, You can use Swing applets on the web, but not internet explorer does not support Swing.
    It supports java 1.1.4 (but it is not compatible with java).

  • Is it possible to put a custom image in the main working area of Access to replace the norml gray?

    Hi,
    I'm working with Aceess 2007 and Later.
    I would like to put a personal image as a background of the main windows of Access instead of the built-in gray.
    Is it possible? And how?
    Thanks, Lauro
    PS: My serches reached only a
    Lebans solution which is no more working

    I did this once using a BUNCH of Windows API calls,
    this article:
    http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp
    and this utility:
    http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/VB6_SSubTmr_Binary.asp
    Not for the faint of heart. You might be better off with a tabbed interface where the background is always covered with forms.
    -Tom. Microsoft Access MVP

  • Possible to use an icon other than the default when building a distribution executable for a third party customer ?

    I build stand-alone exe's for customers, and would like to know if in the "Build Distribution Kit" dialog there is an option for using a non-standard icon? If not, what else will work...? Thanks.

    1. Using windows "START" button,
    START->Programs->National Instruments CVI
    ->Utility Programs->Icon Editor.
    2. Double click the icon editor.
    Create your ICON.
    3. Save your icon by,"FILE" "SAVE AS"
    xxxxxx.ico. I suggest you save the
    icon in your program folder.
    4. Now build a stand alone executable.
    CVI will ask for "name" and "path"
    of the icon.
    5. By dragging the .exe to your desktop
    your icon will follow.
    6. When you create a distribution kit the
    icon will be placed into the kit.
    7. After the customer installs the kit
    the icon will show up in a small window
    they can drag the icon to the disk top
    or drag the .exe to the disk top at a
    later time.
    James Holmes
    Trak Microwave Tampa Fl.
    (813)884-1411 ext. 247
    jhol
    [email protected]

  • Firefox puts an icon next to the Mac HD

    I loaded Firefox - I now have an icon on my desktop that looks like a small hard drive with the firefox logo. If I delete it, then the next time I start Firefox, it reappears and also another dialog box with the firefox logo, an arrow pointing to the App folder. Do I have to have this icon on the desktop? What is it?
    As you can tell, I'm a newby -- loving the MBP 17" - and just trying to get the feel of things..
    Thanks.

    penmi01:
    Welcome to Apple Discsussions.
    I launched Firefox --- and it still re-created the icon on the desktop as well as bringing up another box that has Firefox with an arrow pointing to the right into the Application directory...
    • Click on Firefox icon and drag into Folder icon. That will install Firefox in your Applications folder.
    • Go to Applications and launch Firefox.
    • Go to Dock and click and hold Firefox icon and choose option to keep in Dock.
    • Go to sidebar in Finder window and eject Firefox disk icon, or select on desktop and Eject (command + e).
    cornelius

  • How to enlarge the text in the "email subject/header plane"

    in Thunderbird email, the subject of the email and the email message are in to different planes. No problem enlarging the "message text, words" in the "body" of the email. How to enlarge the "text, font or words" of the "subject" in the subject/header plane? Don't want to open email if I'm not sure of it, and can't be sure of opening emails if I can't SEE the subject of the email. Surely I'm not the only one with this problem.

    Thanks! Works great!

  • How to set title/text for ALV table column header in WD ABAP

    Hello,
    I am working in WDA using SALV_WD_Table to display data in table. I need to change the column header text, the obvious way is to get the column header and call the method SET_TEXT to set new text / title. However, this method does NOT work, it does not change the column header text. I also tried the SET_TOOLTIP, this one works, but SET_TEXT does not work. Anyone has idea why this not working and do you find any go-around solution?
    My version is NW 7.0
    Thank
    Jayson

    Hi jason ,
    For setting Heder text for your ALV table
    ip_confing type ref to CL_SALV_WD_CONFIG_TABLE.
    "set alv table header
      ip_config->if_salv_wd_table_settings~r_header->set_text( 'Test ALV Header functionality' ).
    first you have to hide the DDIC text and then try to set your own text .
    "modify columns
      LOOP AT lt_columns INTO ls_column.
        lr_column = ls_column-r_column.
        CASE ls_column-id.
          WHEN 'MANDT'.
            "hide this field
            lr_column->set_visible( cl_wd_abstr_table_column=>e_visible-none ).
           WHEN 'SEQNR'.
            "set header to different string
            lr_column->r_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_none )." use this line to hide ddic text
            lr_column->r_header->set_text( 'Position' ).     
        endcase.
      endloop.
    Regards
    Chinnaiya P

Maybe you are looking for