How set tha table boundry and how set in panal

hi master
sir this is my table code
import javax.swing.*;
import java.awt.*;
import java.util.*;
public class fahimtable extends JApplet {
String[] columnNames = {"First Name",
"Last Name",
"Sport",
"# of Years",
"Vegetarian"};
Object[][] rdata = {
{"Mary", "Campione",
"Snowboarding", new Integer(5), new Boolean(false)},
{"Alison", "Huml",
"Rowing", new Integer(3), new Boolean(true)},
{"Kathy", "Walrath",
"Knitting", new Integer(2), new Boolean(false)},
{"Sharon", "Zakhour",
"Speed reading", new Integer(20), new Boolean(true)},
{"Philip", "Milne",
"Pool", new Integer(10), new Boolean(false)}
/** Initializes the applet fahimtable */
public void init() {
JTable table = new JTable(rdata, columnNames);
getContentPane().add(table.getTableHeader),BorderLayout.NORTH);
getContentPane().add(table);
initComponents();
private void initComponents() {
==========
sir this give me table but my need is the table in panal
now table cover the all applet
sir how set i table in panal and now i set tha table boundry and header
please give me idea
thank
aamir

Learn how to use the forum correctly. This is now your 6th posting on basically the same topic.
Not once have you bothered to reply to an old posting to state whether the answer given was helpfull or not.
You still haven't learned to use the "Code" formatting tags when posting code so the code retains its original formatting.
Twice you've been given links to the Swing tutorial, but apparently you still haven't bothered to read it. There is a section on "How to Use Layout Mangers" that will help you postion your components. The tutorial is full of working examples.

Similar Messages

  • How set tha table boundry and how set table in panal

    hi master
    sir this is my table code
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    public class fahimtable extends JApplet {
    String[] columnNames = {"First Name",
    "Last Name",
    "Sport",
    "# of Years",
    "Vegetarian"};
    Object[][] rdata = {
    {"Mary", "Campione",
    "Snowboarding", new Integer(5), new Boolean(false)},
    {"Alison", "Huml",
    "Rowing", new Integer(3), new Boolean(true)},
    {"Kathy", "Walrath",
    "Knitting", new Integer(2), new Boolean(false)},
    {"Sharon", "Zakhour",
    "Speed reading", new Integer(20), new Boolean(true)},
    {"Philip", "Milne",
    "Pool", new Integer(10), new Boolean(false)}
    /** Initializes the applet fahimtable */
    public void init() {
    JTable table = new JTable(rdata, columnNames);
    getContentPane().add(table.getTableHeader),BorderLayout.NORTH);
    getContentPane().add(table);
    initComponents();
    private void initComponents() {
    ==========
    sir this give me table but my need is the table in panal
    now table cover the all applet
    sir how set i table in panal and now i set tha table boundry and header
    please give me idea
    thank
    aamir

    Learn how to use the forum correctly. This is now your 6th posting on basically the same topic.
    Not once have you bothered to reply to an old posting to state whether the answer given was helpfull or not.
    You still haven't learned to use the "Code" formatting tags when posting code so the code retains its original formatting.
    Twice you've been given links to the Swing tutorial, but apparently you still haven't bothered to read it. There is a section on "How to Use Layout Mangers" that will help you postion your components. The tutorial is full of working examples.

  • How to verify lockout treshold and duration set bij local GPO using script

    Hi all,
    I want to succeed in veryfying the account lockout treshold and duration by checking registry.
    However this is impossible in server 2012 r2. previously these settings where visible in the registry but now it seems that they are hide in the SAM section which is not accessible.
    WMI RSOP does not contain information as it is no group policy.
    Any alternatives?
    Kind rergards,
    AL

    Hi AL,
    >>how to verify lockout treshold and duration set bij local GPO using script
    What does this mean? Does this mean that we are using a standalone server and want to check the account lockout policy set via local GPO?  
    >>Just found that using net accounts the local gpo settings are shown not i have to find a way to strip that using powershell to be able to veriy the correct line and content
    What do we want to achieve here? As you stated, we can run net accounts
    command to check password policy and account lockout policy.  Besides, we can also run command
    gpreult/h report.html with admin privileges to collect group policy result report to check this.
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to Concatenate Table name and Where condition at runtime

    I am passing parameter as User and Zone to Stored Procedure.How to concatenate Table Name
    and WHERE CONDITION in SQL Statement.i have different type of users and zones.

    Hi !
    declare
      cur sys_refcursor;
      r emp%rowtype;
      v_sql varchar2(512);
    begin
    -- do your logic here
      v_sql := 'select * from emp';
      open cur for v_sql;
      loop
        fetch cur into r;
        exit when cur%notfound;
        dbms_output.put_line(r.ename);
      end loop;
      close cur;
    end;In this example you can see how can be done this with cursor vars .. You should concatenate v_sql string according to your requirements.
    But as in further posts has already been mentioned , be carefull at publishing such kind of procedures and think on security.
    Also when you want dynamicaly change from clause , you should consider using different records to accept data ? Maybe all your tables has the same structure and then this problem will be smaller.
    T
    T

  • How to compare table data and table field

    Hi buddy,
        I have some question about how to compare table data and table field.
       1. I know there is one method:   CL_ABAP_UNIT_ASSERT=>ASSERT_TABLE_CONTAINS  , it use in unit test to compare the table data(A and B) , you can loop table A into structure A1, then use this mehtod it can compare whether table B contain structure A1.  but when I try to use this in main program it will dump.
              CL_ABAP_UNIT_ASSERT=>ASSERT_TABLE_CONTAINS(
                                                                                                        LINE    = A1
                                                                                                        TABLE = B ).
           Is there any method or FM can be used to compare the table data ?
        2. I also want to compare two table field , try to find out the different. How to realize this.
    Thank you for your sincerely answer.

    Hi Zongjie,
    What`s the difference, if you using loop A into wa_A, read table B into wa_B with all field, then compare with wa_A and wa_B.
    The question 2, seems no standard FM available here.
    Loop A into wa_A.
       Loop B into wa_B.
           if wa_A-field1 eq wa_B-field1.
           endif.
            if wa_A-field2 eq wa_B-field2. 
           endif.
       endloop.
    endloop.
    regards,
    Archer

  • I need know how operate the tables RSBKDTP and RSBKDTPH

    hi, i need know how operate the tables RSBKDTP and RSBKDTPH. i need kwon things like:
    - the diference between this tables
    - How operate the table RSBKDTPH and RSBKDTP ? What type the DTP's are inserted in this tables? How often are inserted DTP's in this tables?.
    Thanks in advanced

    The basic difference is
    RSBKDTP  - retrieves based on Object version (DTP  and OBJVERS are keyfields)
    RSBKDTPH - retrieves based on Time stamp (DTP  and timestamp are keyfields)
    according to your requirement you can consider the tables for statical reports on DTPs

  • How we create custom infotype and how to configure with its subtypes.

    hai abap-hr gurus,
    how to create custom infotype and how to configure with its subtypes. when i am creating infotypes i am not getting how to configure subtypes.
    plz help me for this with an example code.
    thanks..
    kiran kumar

    Hi Kiran,
        Please fallow the below steps to create the custom infotype. If you have any quires let me know.
    For Creation of Infotype first Go to Transaction PM01, Enter the custom Infotype number which you want to create, it should be a 4 digit number and have to start with 9xxx.
    then select the `Employee Infotype' radio button
    after that select the `PS Structure Infotype'
    then click on Create… A separate table maintenance window appears
    then Create a PS structure with all the fields you want on the infotype
    Save and Activate the PS structure
    now Go back to the initial screen of PM01
    Click on `All' push button. It takes a few moments
    Click on `Technical Characteristics’. Infotype list screen appears
    Click on `Change'(pencil) button
    Now select your Infotype and click on `Detail' (magnifying glass) button
    Give `T591A' as subtype table & also Give `T591S' as subtype txt tab
    Give your subtype field as subtype field & Save and come back to PM01 initial screen
    Click on `Infotype Characteristics' … Infotype list screen appears
    Click on `Change' (pencil) button & on New Entries
    and then Enter your Infotype number and short text Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference
    to fill yours). Now save ur entries
    Now the Infotype is created and ready to use.
    If you want to change the layout of the Infotype as per your
    requirement…
    In the PM01 initial screen…Select `Screen' radio button and give
    2000 as the screen name, then click on edit.
    In the next screen.. Select `Layout Editor' and click `Change'.
    Screen default layout appears…here you can design/modify the
    screen..change the attributes of the fields..etc.
    Save and activate. (Don't forget to `Activate at every level)
    Regards,
    Ramakrishna kotha.

  • Cursor arrow gone from solid black to having white lines go through it and trackpad is not working properly in mail and adobe acrobat - anyone know how this could have happened and how to solve it?

    Can anyone help me?  Concerned that I may have some kind of malware.  My cursor arrow and trackpad are behaving strangely,  The cursor used to be a solid black arrow but now seems to have horizontal white lines running through it.  The trackpad does not function normally either.  For example, when I use my trackpad to scroll up and down in mail  it sometimes works and sometimes does not.  In adobe acrobat it sometimes does not work.  In facebook, the cursor does not line up behind the menu keys as it should.
    Any one know how this might have happened and how I can stop it?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you boot, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How to attach a drawing and how to retrieve it

    Hi Friends,
                       I want to attach my drawings and doc's associated with that material in Material Master. please can any body explain the procedure how to attach the document and how to retrieve it. and also how to control the unauthorised access? thanx in advance full marks will be awarded.
    Edited by: sridhar kalepu on Mar 26, 2008 10:49 PM

    Hello Shridhar,
    You can do it by crating a material master. Then go to the additional data-->document data.
    Specify your document type , where you have attched your drawing.
    In this way you can attach your drawing to the particular matrial and it data.
    To avoid unauthorized access:
    Goto pfcg , create role and profile.
    use follwoing  auhtorisation object and restrict the user.
    Authorization Object C_DRAD_OBJ (Object Link)
    The following table shows authorization object C_DRAD_OBJ. This object controls which users can process which document info records, based on a combination of activity, object, and status.
    Fields     Possible Values     Description
    ACTVT
    (Activity)    01                     Create
                    02                     Change
                    03                      Display
                    06                    Delete
    DOKOB    You must enter the data base table for the objects here (for example, MARA for material record).
    STATUS
    (Document status)
    Regards,
    Nitin
    Reward points if useful.
    Edited by: nitin bhagat on Mar 27, 2008 6:21 AM

  • My Itouch 4 back camera doesn't work, it freezes when i try to open it, how can i fix this and how much will this cost?

    Can someone please tell me whats wrong, how I can fix this and how much it will cost me??

    If in settings, music, volume limit is off then restart your phone first. Hold the home and off button down until the apple symbol comes up.

  • How do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the onli

    how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon

    To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry.  If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.

  • The bottom of my macbook is falling off how do i fix this and how much does it cost?

    the bottom of my macbook is falling off how do i fix this and how much does it cost?

    Check this article http://www.apple.com/support/macbook-bottomcase/

  • How to apply OSS note and how to use it?--thanks

    Hi, morning all,
    I want to know how to apply OSS notes and how to use it, pls help me.
    Thanks.

    Applying OSS note is a critical activity in the system. Usually this task is carried out by the basis, as they maintain the system and the notes, support packs, etc.
    A OSS note has potential to impact the system in several ways. So it is better to work with the basis if  you need to apply a OSS note to be applied.
    Transaction code is Snotes. But pl dont attempt to apply by yourself.
    Reg your other question as how to use the OSS note, there is nothing like using aOSS note. Just apply and depending on what the notes do, it may change the config, or download a program or something.
    Ravi Thothadri

  • How to implement session varibles and how to use it

    how to implement session varibles and how to use it.ple help me

    Please see the below blog, Hope it helps!!!
    http://obieetraining11.blogspot.com/2012/06/create-initialization-block-for-session.html

  • I am trying to copy and paste a 734mb film on to an 8GB usb but it keeps saying "It cannot copy as there isn't enough space". How is this possible? And how do I put the film on the usb?

    I am trying to copy and paste a 734mb film on to an 8GB usb but it keeps saying "It cannot copy as there isn't enough space". How is this possible? And how do I put the film on the usb?

    Look at the USB stick in Disk Utility and check whether it may be partitioned or have other software on it taking up space.

Maybe you are looking for