How to view all components in JFrame???//

hi to all opf you,
i ave created the new frame and added multiple components in this using .setBounds method everything is ok but one problem is i can't see some component that i have added at bottom so i want to make a scroll bar on my frame so that i can view by srolling my scroll bar how can i add it to frame so that i can see hide component of frame?????????/
plz help me?
thanks in advance

ok thanks for ur reply i have already tried it but did not get success ok i giving you my code plz check ithow can i view the component added beyond from viewable area of frame or my container
plz solve my problem
here i have set the component at
l1.setBounds(400,800,100,20);
t1.setBounds(510,800,100,20);
now i want to view it by scrolling my frame
plz help me
code is as follows:-
import java.awt.*;
import javax.swing.*;
public class JFrame1
     JFrame frame;
     JPanel p1;
     JScrollPane sp;
     JLabel l1;
     JTextField t1;
     JFrame1()
          frame=new JFrame("My Frame");
          p1=new JPanel();
          p1.setLayout(null);
          l1=new JLabel("ENTER YOUR NAME");
          t1=new JTextField(10);
          sp=new JScrollPane(p1);
          l1.setBounds(400,800,100,20);
          p1.add(l1);
          t1.setBounds(510,800,100,20);
          p1.add(t1);
          frame.getContentPane().add(sp);
          frame.setSize(500,500);
          frame.setVisible(true);
     public static void main(String h[])
          new JFrame1();
}

Similar Messages

  • How to view all attachemt in outlook for user in my network

    Hello,
    how to view all attachment in outlook for users in my network
    i am used below path:
    "C:\Users\ username \AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook"
    All attachments
    I can not find some attachments exist on the
    email did not find her on the track
    above.
    thanks

    Hello,
    You may also try this VBA solution:
    https://gallery.technet.microsoft.com/office/Save-attachments-from-5b6bf54b
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to view ALL my files in my iPad?

    Hello,
    How to view all my files in my iPad because the "others" in my iPad is taking a lot of space.
    Thanks

    If you just want a listing, you can do this:
    select owner, object_type, object_name
    from   dba_objects
    where  object_type in ('VIEW','TRIGGER','PROCEDURE');(you don't want to see functions or packages?)
    If you want to see the code for these types, an easy way is to use the package dbms_metadata to display them:
    SQL> select dbms_metadata.get_ddl('TRIGGER','ORDERS_TRG','OE') from dual;
    DBMS_METADATA.GET_DDL('TRIGGER','ORDERS_TRG','OE')
      CREATE OR REPLACE TRIGGER "OE"."ORDERS_TRG" INSTEAD OF INSERT
    ON oc_orders FOR EACH ROW
    BEGIN
       INSERT INTO ORDERS (order_id, order_mode, order_total,
                           sales_rep_id, order_status)
                   VALUES (:NEW.order_id, :NEW.order_mode,
                           :NEW.order_total, :NEW.sales_rep_id,
                           :NEW.order_status);
    END;
    ALTER TRIGGER "OE"."ORDERS_TRG" ENABLE

  • How to view all the users existing in a Client

    Hi
    Can any one help me, How to view all the users existing in a Client (Other than SM04 and AL08).
    I want to view not only the active users, but all existing users.
    Thanks in Advance
    Chandra

    Hi,
    Check table devaccess. to get all developers list
    Reward points if helpful.
    Regards,
    Mukul
    Edited by: Mukul Sharma on Jun 2, 2008 12:10 PM

  • How to view all the patches installed in a WebLogic

    Hi All,
    Is there a way on how to view all the patches installed in a WebLogic Server particular the 10.3.1?
    Thanks,
    Ace

    Hi,
    Check table devaccess. to get all developers list
    Reward points if helpful.
    Regards,
    Mukul
    Edited by: Mukul Sharma on Jun 2, 2008 12:10 PM

  • How to view all my game including deleted ones on game center ?

    Just asking how to view all of my game including the deleted ones on Game Center ?

    You can't review you r deleted games in Game Center

  • How to view all open tabs?

    I know how to view all open tabs for one Safari window but how do you view all open tabs for all open windows?

    Bookmarks menu > Add These x Tabs to Reading List
    Click the Reading List icon:
    I think that is as good as it's going to get.

  • How to view all table of a database

    How to view all table of a database created on a oracle 9.2/10g database management system.
    How to view available tables of oracle dbms which comes by default with package.
    Thank you so much in advance!
    With Regards,
    Niks

    You posted the same question twice.
    How to view all table of a database

  • How to view all the metalink notes in a single window?

    Friends,
    I have metalink access...i want to view all the metalink notes in a single shot.
    now i am searching the metalink notes by entering the artical id...is there any way to get all the documents in one shot ...
    like how we are seeing the forum threads here...
    thanks

    Do you also as a librarian for an overview of all the books? :-)
    Have you any idea how much information, knowledge, bug-reports, questions, patch-lists, documentation etc..etc. is on Metalink?
    That would give you a list of millions of rows. And how do you want them sorted, by version, by OS, by what??
    FJFranken

  • How to view all files stored in iCloud

    How do I view all my files stored on iCloud?
    I purchased additional iCloud memory space , backed up my iPhone then deleted videos from my iPhone to free up space.
    Now I would like to retrieve a home video. Where/how do I see what's saved in my iCloud account?

    You can't use iCloud to free up space on your phone like that.  Videos are only stored in the iCloud backup, and can only be accessed by restoring the backup to your phone.  However, if you delete the videos from your phone and continue to back up, the backup containing the deleted videos will be overwritten by one that doesn't and they will be lost.  Hopefully haven't backed up your phone since you deleted these videos.  If not, restore the backup to your phone to recover them.
    In the future, import your camera roll photos and videos to you computer using your usb cable as explained here: http://support.apple.com/kb/HT4083.  Then you can delete them from your phone and sync them back later if you ever want to.

  • How to view all of Skype call and conversation his...

    Hi
    I need to view all of my Skype call history but the furthest I can go back is around 2 months. How do I change this? I am using a Samsung Galaxy 2 tab. 
    Thank you!

    Hi,
    did u figure out how to do this? I would need the same as i have a courtcase coming up with the mother of my 2 children. The conversation history would be a big help for me! Please let me know whether u found out how to retrieve the data.
    big thx in advance!
    Lucas

  • How to view all notificaitons in PO

    Hi All,
    I want to view all notifications(Requisitions and PO's) from my USER. How can i view all the notifications without accessing the other user access.
    Note: We are using the version 11.5.10.2
    Can any one help me??
    Regards,
    Kevin.

    Hi Kevin,
    I want to view all notifications(Requisitions and PO's) from my USER. How can i view all the notifications without accessing the other user access.For this you need to login to the application with SYSADMIN user, as SYSADMIN can only access all the notifications even if he is not the owner of the same.
    You can follows these steps:
    1. Login as SYSADMIN
    2. Choose System Administrator responsibility.
    3. Workflow : Administrator Workflow
    4. Status Monitor
    Here on this form you can search any notification of any user and any status you are looking for.
    For the search details you can refer the following ML doc,
    [Basic Setup To View Workflows and Notifications Owned by other Users: Workflow Adminstrator|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=371792.1]
    Thanks,
    Anchorage :)

  • How to view all approved timesheets in Project 2013

    Hi!
    How can I view all the approved timesheets in Project 2013? Do I need to build a report or is there a way to do this OOTB?
    Thanks!
    Best regards

    Hi Pedro, 
    You'll have to build a report for that. I'd suggest to start from one of the Excel Services sample report based on the timesheet OLAP cube. You'll easily be able to create a pivot table with timesheet per status, users, projects, periods, managers...
    SSRS is another path which requires development.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to view all the issues in the same page in OTM

    HI,
    I have created 20 issues in OTM but I am able to see only 10 issues at a time.So how can I view all the issues in the same page.

    Hi,
    Login to OTM then you can see "tools"in the top most right corner click on that and select options.In the options popup window select "Tree preference" change the number of nodes.
    Regards
    Rajesh

  • How to view ALL selected tracks in iTunes

    Simple question, I hope, but I've got more tracks on my iTunes than I can fit into my iPhone and I would like to be able to see how much memory my selected tracks take up, in total, not just by artist, before I try to sync.
    Is there anyway of viewing all selected tracks in iTunes?

    Create a new playlist using the command File > New Playlist. Drag the selected tracks into it. Open the playlist and look at the bottom to see the number of tracks, total size, and playing time.

Maybe you are looking for

  • File Server Configuration on Windows Server 2012 R2

    Dear All, I need your support in my scenario. Work Environment:  I work in a company where we have multiple departments. My Department is elearning. All Departments get Internet and Network Access from IT Department. My Department Requirement: I Need

  • Tuning of very small procedure

    Hi All, We are using the following procedure to get respective sequence number by passing the table name as parameter: ================================ CREATE OR REPLACE procedure SEQ_GEN(Tbl_name in varchar2, SEQ_NO out number) is seq_name varchar2(

  • Scripts for starting/stopping managed servers

    All, Could someone provide me with some sample scripts for starting/stopping managed Weblogic servers?  I'm specifically looking for ways to start/stop them WITHOUT starting the AdminServer.  I'm running WLS 10.3.6 on Windows Server 2003, and I have

  • Impact of GLOBAL_NAMES=TRUE?

    OK, To set up our environment, we have OWB10R2 with the runtime repository running on an Oracle 9.2 instance. Now, the instance in which the runtime repository is deployed includes schemas for our operational reporting copy of the source data, and ou

  • When I click systems preferences the folder doesn't open.  How to get access again to my systems preferences?

    When I click systems preferences, the folder doesn't open.  How to I again access systems preferences?