How to add scrollbar to the JInternal Frame

How to add scrollbar to JInternal Frame?
I have One JInternal frame i want it should have a scrollbar when we reduces its size.

[url http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html]How to Use Scroll Panes

Similar Messages

  • How to add HTTP Header Response X-Frame-Options:SAMEORIGIN from OWA published via Forefront TMG 2010 to stop Clickjacking

    How to add HTTP Header Response X-Frame-Options:SAMEORIGIN from OWA published via Forefront TMG 2010 to stop Clickjacking. I have put the IIS setting X-Frame-Options:SAMEORIGIN  on my Internal CAS Server. However as the OWA page is published through
    Forefront TMG 2010, the iFrame tag is not blocked when the page is first opened. Only when you login with your credentials to the OWA page inside the frame and the page reaches IIS on the Internal CAS it gets blocked. I want to block it in the first
    instance when it is opened from TMG.

    Hi,
    Thank you for the post.
    To modify the http header, please refer to this blog:
    http://tmgblog.richardhicks.com/2009/03/27/using-the-isa-http-filter-to-modify-via-headers-and-prevent-information-disclosure/
    Regards,
    Nick Gu - MSFT

  • Reg:How to add fields to the scripts in detail

    How to add fields to the scripts in detail.
    Plz give me one example help me out.

    Hi
    add fields to the scripts by sending that field between  two &s.
    for example if u want to add lifnr of lfa1 table then pass field like this.
    &wa_lfa1-lifnr&.here wa_lfa1 is work area for internal table it_lfa1.
    if name1 then &wa_lfa1-name1&
    in this way you can add fields to the script under any window.
    i am sending one example program for scripts.
    &--structure declaration--
    TYPES:BEGIN OF ST_LFA1,
          LIFNR TYPE LFA1-LIFNR,
          NAME1 TYPE LFA1-NAME1,
          LAND1 TYPE LFA1-LAND1,
          ORT01 TYPE ORT01,
          REGIO TYPE REGIO,
          END OF ST_LFA1.
    TYPES:BEGIN OF ST_EKKO,
          EBELN TYPE EKKO-EBELN,
          BUKRS TYPE EKKO-BUKRS,
          AEDAT TYPE EKKO-AEDAT,
          ERNAM TYPE EKKO-ERNAM,
          BSTYP TYPE EKKO-BSTYP,
          LIFNR TYPE EKKO-LIFNR,
          END OF ST_EKKO.
    TYPES:BEGIN OF ST_EKPO,
          EBELN TYPE EKPO-EBELN,
          EBELP TYPE EKPO-EBELP,
          LOEKZ TYPE EKPO-LOEKZ,
          AEDAT TYPE EKPO-AEDAT,
          MATNR TYPE EKPO-MATNR,
          NETWR TYPE EKPO-NETWR,
          END OF ST_EKPO.
    &--internal table,work area declaration--
    DATA:WA_LFA1 TYPE ST_LFA1,
         IT_LFA1 TYPE STANDARD TABLE OF ST_LFA1,
         WA_EKKO TYPE ST_EKKO,
         IT_EKKO TYPE STANDARD TABLE OF ST_EKKO,
         WA_EKPO TYPE ST_EKPO,
         IT_EKPO TYPE STANDARD TABLE OF ST_EKPO.
    &--data declaration--
    DATA:TOTAL TYPE EKPO-NETWR,
          V_EBELN TYPE EKKO-EBELN.
    data: v_item(20) type c.
    &--parameter for purchase document number--
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS P_PURDOC LIKE V_EBELN.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      PERFORM GET_DATA_FROM_EKKO.
      PERFORM GET_DATA_FROM_LFA1.
      PERFORM GET_DATA_FROM_EKPO.
    &--grand total--
      LOOP AT IT_EKPO INTO WA_EKPO.
        TOTAL = TOTAL + WA_EKPO-NETWR.
        CLEAR WA_EKPO.
      ENDLOOP.
    &--open form--
      CALL FUNCTION 'OPEN_FORM'
       EXPORTING
        DEVICE                            = 'PRINTER'
        FORM                              = 'Z_50886_VENDOR'
        LANGUAGE                          = SY-LANGU
       EXCEPTIONS
         CANCELED                          = 1
         DEVICE                            = 2
         FORM                              = 3
         OPTIONS                           = 4
         UNCLOSED                          = 5
         MAIL_OPTIONS                      = 6
         ARCHIVE_ERROR                     = 7
         INVALID_FAX_NUMBER                = 8
         MORE_PARAMS_NEEDED_IN_BATCH       = 9
         SPOOL_ERROR                       = 10
         CODEPAGE                          = 11
         OTHERS                            = 12
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for header details--
      READ TABLE IT_EKKO INTO WA_EKKO INDEX 1.
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         ELEMENT                        = 'HEAD'
         WINDOW                         = 'HEADER'
       EXCEPTIONS
         ELEMENT                        = 1
         FUNCTION                       = 2
         TYPE                           = 3
         UNOPENED                       = 4
         UNSTARTED                      = 5
         WINDOW                         = 6
         BAD_PAGEFORMAT_FOR_PRINT       = 7
         SPOOL_ERROR                    = 8
         CODEPAGE                       = 9
         OTHERS                         = 10
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for item details--
      LOOP AT IT_EKPO INTO WA_EKPO.
      concatenate wa_ekko-ebeln wa_ekpo-ebelp into v_item.
        CALL FUNCTION 'WRITE_FORM'
         EXPORTING
           ELEMENT                        = 'ITEM'
           WINDOW                         = 'MAIN'
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDLOOP.
    &--write form for vendor details--
      READ TABLE IT_LFA1 INTO WA_LFA1 INDEX 1.
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         ELEMENT                        = 'VENDOR'
         WINDOW                         = 'ADDRESS'
       EXCEPTIONS
         ELEMENT                        = 1
         FUNCTION                       = 2
         TYPE                           = 3
         UNOPENED                       = 4
         UNSTARTED                      = 5
         WINDOW                         = 6
         BAD_PAGEFORMAT_FOR_PRINT       = 7
         SPOOL_ERROR                    = 8
         CODEPAGE                       = 9
         OTHERS                         = 10.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for grand total--
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
        WINDOW                         = 'TOTAL'
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    &--close form--
      CALL FUNCTION 'CLOSE_FORM'
       EXCEPTIONS
         UNOPENED                       = 1
         BAD_PAGEFORMAT_FOR_PRINT       = 2
         SEND_ERROR                     = 3
         SPOOL_ERROR                    = 4
         CODEPAGE                       = 5
         OTHERS                         = 6
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *&      Form  get_data_from_ekko
    FORM GET_DATA_FROM_EKKO .
      SELECT EBELN
             BUKRS
             AEDAT
             ERNAM
             BSTYP
             LIFNR
          FROM EKKO INTO TABLE IT_EKKO WHERE EBELN = P_PURDOC.
    ENDFORM.                    " get_data_from_ekko
    *&      Form  get_data_from_lfa1
    FORM GET_DATA_FROM_LFA1 .
      IF NOT IT_EKKO[] IS INITIAL.
        SELECT LIFNR
               NAME1
               LAND1
               ORT01
               REGIO
               FROM LFA1 INTO TABLE IT_LFA1 FOR ALL ENTRIES IN IT_EKKO WHERE
                    LIFNR = IT_EKKO-LIFNR.
      ENDIF.
    ENDFORM.                    " get_data_from_lfa1
    *&      Form  get_data_from_ekpo
    FORM GET_DATA_FROM_EKPO .
      IF NOT IT_EKKO[] IS INITIAL.
        SELECT EBELN
               EBELP
               LOEKZ
               AEDAT
               MATNR
               NETWR
               FROM EKPO INTO TABLE IT_EKPO
               WHERE EBELN = P_PURDOC.
      ENDIF.
    ENDFORM.                    " get_data_from_ekpo

  • How to add spaces at the end of record

    Hi Friends,
    i am creating a file which contains more than 100 records.
    In ABAP i have internal table with on field(135) type c.
    some time record have length 120, somtime 130 its vary on each record.
    but i would like to add space at the end of each record till 135 length.
    Can you please help me how to add speace at the end of record.
    regards
    Malik

    So why did you said that in your first posting? My glass sphere is out for cleaning...
    Instead of type c use strings and add spaces until they have the appropriate length.
    loop at outtab assigning <pout>.
      while strlen( <pout>-val ) < 135.
        concatenate <pout>-val `` into <pout>-val.
      endwhile.
    endloop.

  • How to add marker on the clip?

    Hi!!!
    Could you help me, how to add marker on the clip? Not on the sequence. I need the marker to moving as I moving clip in the sequence.
    Thanks!!!

    Ohhh... I just had to switch to the source monitor. OK. Just I don't use the source monitor usally. Only the program one. Thank you. It worked!
    Fri, 12 Oct 2012 05:02:08 -0600 от Jim Simon <[email protected]>:
    >     
    >
        Re: How to add marker on the clip?
        created by Jim Simon in Premiere Pro CS5, CS5.5, & CS6 - View the full discussion

  • How to add request in the buffer

    Hii All,
    How to add request in the buffer in bulk.
    i am using following command.
    tp addtobuffer requestno <sid>
    but after doing it is giving me the following error
    C:\usr\sap\trans\bin>tp         addtobuffer     BWDK900161      BT1
    ^CThis is tp version 340.07 (release 640, unicode enabled)
    E-TPSETTINGS could not be opened.
    EXIT
    ERROR: System : Parameter SAPEVTPATH not set. Batch jobs cannot be started.
    Error in TPSETTINGS: transdir not set.
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0208
    tp finished with return code: 208
    meaning:
      error in transportprofil (param missing, unknown,...)
    Pls help.
    Regards,
    Viren.

    Hi Rolf,
    thax for your reply.
    But still it is not working it shows following message.
    C:\usr\sap\trans\bin>tp addtobuffer BWDK900051 BT1 pf=c\usr\sap\trans\bin\TP_DOM
    AIN_BT1.PFL
    This is tp version 340.07 (release 640, unicode enabled)
    E-c\usr\sap\trans\bin\TP_DOMAIN_BT1.PFL could not be opened.
    EXIT
    ERROR: System : Parameter SAPEVTPATH not set. Batch jobs cannot be started.
    Error in c\usr\sap\trans\bin\TP_DOMAIN_BT1.PFL: transdir not set.
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0208
    tp finished with return code: 208
    meaning:
      error in transportprofil (param missing, unknown,...)
    Regards,
    Viren.

  • How to add filter in the dist. model

    hi,
    how to add filter in the dist. model
    thanks
    Ruban

    Hi,
    Please try this.
    1. Go to transaction BD64.
    2. Click on Change button.
    3. Expand the corresponding model view.
    4. Expand the corresponding message type (i.e MATMAS).
    5. Place the cursor to 'No filter set' and double click.
    6. Click on Create Filter Group.
    7. Add your filter from here ...
    8. Once done, save the model view.
    For more information, please check this link.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    Regards,
    Ferry Lianto

  • How to add Acrobat to the Microsoft Office ribbon?

    how to add Acrobat to the Microsoft Office ribbon?

    Hi ebender888,
    What versions of Acrobat and Office do you have? See if this post helps: https://answers.acrobatusers.com/Why-Acrobat-PDFmaker-Office-COM-Addin-tab-disappearnig-Wo rd-Office-2013-q152959.aspx
    If not, let us know what software you're using, and we'll try to get you pointed in the right direction.
    Best,
    Sara

  • HT5654 how to add videos to the ipad using the latest version of itunes

    how to add videos to the ipad using the latest version of itunes ?

    Hello zaraa90,
    After reviewing your post, I have located an article that can help with syncing content. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
    Sync your iPhone, iPad and iPod with iTunes using USB
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • How to add Video on the OAF page like youtube ?

    Any one know how to add Video on the page?

    If you are getting HTML code from one of these slideshow.com places, you can add this code to your iWeb pages with a little bit of work. Two things to keep in mind...1. No way to do this via iWeb directly, so it involves editing the published html files, and 2. Because iWeb republishes the html files whenever you update the your webpage, you will lose your changes and have to redo them to add your slideshows back.
    The general directions are as follows...
    1. Decide where you want your slideshow and know exactly what dimensions you need.
    2. Insert a text box onto your page and adjust its size to exactly your dimensions.
    3. Type in some uniquely identifiable text like, "SLIDESHOWHERE" without changing the font or anything else...just type it in.
    4. Publish your page with iWeb.
    5. Find the html file associated with your published page (either on your iDisk or in a folder depending on how you published) and open it in any text editor (like Microsoft Word, or Textedit, or anything). You may need to set your text editor to "ignore rich text" or to "show HTML source".
    6. Scroll through the html file and locate your placeholder text, e.g. "SLIDESHOWHERE".
    7. Replace the placeholder text with your html code and save your page.
    That's it. You should see your slideshow element show up in Safari where you placed the text box in iWeb!

  • How to add reminders on the new ios6? I don't have the plus (+)on the upper right as seen on ios5 to add reminder.

    How to add reminders on the new ios6? I don't have the plus (+) on the upper right as seen on ios5 to add reminder.

    Also, tap the lines at the top left and create a new list, that should give you the + back.

  • How to add subpartitions to the existing subpartition template

    Hi All,
    My Question is ,how to add Subpartition to the exiting subpartition template. e
    like i have created a table with subpartition template with with 5 subpartitions like
    subpartiton one_1 value (121)
    subpartition two_2 value(122)
    and now i one to add one more subpartitin to the existing subpartition template(Like modify the existing subpartition templete).
    subpartition three_3 value(123)
    Could any suggest me.
    Thanks
    Sree

    >
    My Question is ,how to add Subpartition to the exiting subpartition template.
    >
    Follow the example in the section for 'Modifying a Subpartition Template' in the VLDB and Partitioning Guide
    http://docs.oracle.com/cd/E11882_01/server.112/e25523/part_admin002.htm#i1007904
    >
    You can modify a subpartition template of a composite partitioned table by replacing it with a new subpartition template. Any subsequent operations that use the subpartition template (such as ADD PARTITION or MERGE PARTITIONS) now use the new subpartition template. Existing subpartitions remain unchanged.
    If you modify a subpartition template of an interval-* composite partitioned table, then interval partitions that have not yet been created use the new subpartition template.
    Use the ALTER TABLE ... SET SUBPARTITION TEMPLATE statement to specify a new subpartition template. For example:
    ALTER TABLE emp_sub_template
    SET SUBPARTITION TEMPLATE
    (SUBPARTITION e TABLESPACE ts1,
    SUBPARTITION f TABLESPACE ts2,
    SUBPARTITION g TABLESPACE ts3,
    SUBPARTITION h TABLESPACE ts4

  • How to add text to the summary

    I wanted to add a text to my summ total on my report.
    The forum told me to add a boiler plate text item. However this item displays on every page.. I want it to only display where the summary is. I tried using anchors but it will not attach to the summary item.. Help
    howard

    Hi Howard,
    I guess you are referring to this post:
    How do i add text to the summary
    First make sure that you place the boilerplate exactly where you had (or currently have) the summary column, ie, in the SAME frame or repeating frame.
    Second, open the property inspector for your summary column. Find the properties "Print Object On" and "Base Printing on", and make sure that both of these are the same for your boilerpate as for your summary column.
    Navneet.

  • Urgent.. How to add a menubar to a frame by reading a file

    Hi All,
    I am involved in a project where in i need to add a menubar to the frame by reading a text file. The text file consists of all the Menu Items and subMenu items.This text file will be a editable file where-in the user can add his own menu-items.
    i.e when i run the java program i should read the menu items from a file and then display those menuitems in the Menubar.
    I am not getting the idea how i should proceed. Can any one help.
    Thanks in advance.
    Regards
    Ravi Kumar

    Sorry again - my use of i as an array index wasn't very clever. The post should have been as follows:
    Hi,
    You can read in the menu names from the file and add them fairly simply, with something like this:
    JMenuBar jmb = new JMenuBar();
    JMenu myMenu = new Jmenu("Custom");
    jmb.add(myMenu);
    in = new BufferedReader(new FileReader("file.txt"));
    JMenuItem [] menulist = new JMenuItem[MAXITEMS];
    for (int j=0; j < MAXITEMS; j++) {
    menulist[j] = new JMenuItem(in.readLine());
    myMenu.add(menulist);
    Then add the JMenuBar to the parent frame.
    However, for the menus to be of much use, you'd need to add actionlisteners to them as well.
    If you had a set of possible menu items, and it was just a question of which order the user's file defined them in, and which it used, you could then just test the name of each item in the file and assign an appropriate class of actionlistener to it, something like:
    if(menuitem.getText().equals("Open")) {
    menuitem[j].addActionListener(new OpenActionListener());
    where you'd defined the OpenActionListener class somewhere else.
    Hope this helps,
    Neil
    http://www.theBatCave.org.uk
    (Not having a very good day!)

  • How to add styles to the content on the screen

    Hi All
    I am able to dispaly the content of a .txt file on the screen using inline frames(11g adf using content repository- file system) . But 'm able to add styles to it like displaying it in bold letters. Any help on how to add templates
    Link which i followed http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10148/jpsdg_content.htm
    8.3.1 How to Add Content as an ADF Inline Frame
    code
    <af:inlineFrame id="inlineFrame1"
    source="/content/conn/Test/path/test1/Test.txt"
    inlineStyle="height:100px; color:Aqua;"
    styleClass="AFStretchWidth">
    </af:inlineFrame>
    Thanks,
    Tim.
    Edited by: 831631 on Feb 16, 2011 11:00 PM

    hi Tim
    831631 wrote:
    Yes.
    • Consider a file Sample.txt file contains the text – “Hello World. Welcome”
    • Display “Hello World” in bold and display “Welcome” underlinedI don't think that adding style to a plain text file (as such) will be possible, you should probably use HTML or another document format.
    success
    Jan

Maybe you are looking for

  • What is the difference between 2012 and 2013 27'' base model iMac's?

    Hi guys,i live in Turkey and i am looking for buying an 27'' iMac actually i don't want to buy from apple store online because other store's are just selling them like 300Turkish Liras = 150 dollars cheaper.But i have got a problem in Turkey Tech sto

  • IPod Classic not syncing all my songs from iTunes

    Background: I've had my 160GB iPod classic for 5+ years and been using iTunes for close to ten years. I'm using Windows 7 on my PC and up until recently I've been updating both iTunes and iPod whenever updates are available. After the horrible experi

  • Standard and User Forms

    Hi!, does anyone know where SAP B1 does have every single Standard Form and also the users forms?. I want to create a query that returns all the forms that SAP has and also the user forms. Also, is any how or there is a way to know which forms are re

  • Uneditable Form in PDF

    I've created a form in LiveCycle ES 8.2 for material ordering. I fill out the form in Acrobat with my information. I then want to send the form to my supplier with NO option of him editing the form. I can't figure this out. Every time I save my form

  • Lightroom closes after I open the development module

    For several weeks, I have been facing a new incident. As I am opening the development module, Lightroom closes after a couple of seconds. This does happen on all versions but 1.0. If you have a clue.. Vincent