How to know the nos. and variable name from Jframe ?

Hello Everyone,
I have just started java programming. I have one form (using jframe) and there are nos. of components like text field, radio buttons, list box, buttons etc.).
I want to know nos. and type of components (text field, radio buttons, button etc..) and variable name of these components ?
Is there any way class / method or technique for the same ?
With Thanks !
Prashant Shukla

Since if you are dealing strictly swing here, and no mixed in awt, all you have is JComponents, then where's the problem ... why do you even need to know which JComponent it is?
This what you have?
class StuffWithListeners  extends JFrame  implements ActionListener, KeyListener {
  StuffWithListeners() {
    jb = new JButton("GO");
    ta = new JTextArea(10,20);
    jb.addActionListener(this);
    ta.addKeyListener(this);
  public void actionPerformed(ActionEvent ae) {
  public void KeyPressed(KeyEvent ke) {
}Edited by: abillconsl on Dec 14, 2007 5:23 PM
null

Similar Messages

  • How to get the Calendar and Holiday Name from ALBPM engine

    Hi,
    I want to fetch the Calendar Name and Holiday Name that are defined in ALBPM studio/engine.
    How to fetch these through fuego ?
    Bibhu

    Hi,
    Thanks for your help.
    I have executed the code but it did not give me the calendar name as fetchAll() gives me an array.
    I could not find any such method which will give me the Calendar Name.
    The above code give the following result:
    Total Calendar Count: 2 (OK, since I have two calendar in my workspace)
    Calendar Name : fuego.components.CalendarRule@677770 (Want the Calendar Name not this format)
    Calendar Name: fuego.components.CalendarRule@d293b7
    Bibhu

  • How to know the balance and validity of internet data in iPad

    How to know the balance and validity of internet data in iPad?

    Sir I m using internet in ipad4 with airtel network
    They provide me 2gb data with the amount of 255 rupees
    And now I inserted the sim in my ipad4
    And start the surfing on safari n all
    And now I wanted to know how much data is balance.

  • How to find the job and job status from RSPCM

    hi all,
    suppose we got an error and in rspcm the process was failed.i want to know the status of that particular job.and if any i want to stop that job in SM37.
    plz tell me how to find the job and job ststus from RSPCM...and how to stop that job in SM37
    thanks,
    jack

    Hi Jack,
    RSPCM: T.Code
    This transaction is used to monitor the process chains
    First:
    here you need to add the process chains into the sheet
    Second:
    Then you can monitor the process chains in this transaction code
    Like you can see the :  status ,proces chain ,Last run date ,Last run time ,Log ID
    Status : Green when sucessful,Yellow when running & Red when you get errors
    Now when yoy click on any of the process chain in RSPCM you will go to the LOG VIEW as you see in RSPC transaction
    SM37:T.code
    This transaction is used for Job Overview
    you can see many options in SM37
    like Released,active,cancelled,finished,etc
    Just select the ACTIVE  jobs and also pass STAR in JOB ID & USER ID
    here you can only see the active jobs
    Goto Step in toolbar
    select the program displayed
    then chose option GOTO - Variant in main menu bar
    in the variant you can see the job belong to which Process chain
    if you want to cancel this job come back to SM37 Display screen
    Select the Job and select the JOB DETAILS tab in Tool Bar
    Collect the WIP ( Work Permit ID)
    Go to SM50 T.code and find the WIP
    in Main Menu Bar you find the option Cancel with Core choose this it will cancel the Job
    Regards
    Hari

  • How to migrate the RPD and catalog file from siebel analitics to obiee

    hi all
    How to migrate the RPD and catalog file from siebel analitics to obiee and obiee to obiee 11g
    Thanks
    Sreedhar

    hi sreedhar,
    you can migrate from siebel to obiee 10g...check this out http://debaatobiee.wordpress.com/tag/migration-siebel-analytics-obiee/
    Next install OBIEE 11g and migrate obiee 10g to 11g using this http://prolynxuk.com/blog/?p=424
    hope answers your questions.
    Cheers,
    KK

  • How to know the time and date when someone empty trash?

    someone delete very important videos on my mac PC , i need to know the time and date of what happens on my pc for 2 days ago to can know who delete these files and when the trash being empty
    also, i tried very hard to recovery these videos by using Data rescue program but i found old videos instead of the last videos hasa been removed??? i don't know how???!!
    so can anyone help me please

    Open the Console app located in HD > Applications > Utilities
    Select System Log on the left.
    Type trash in the search fileld top right corner of that window.
    That should reveal the date and name of the file or files that were deleted but they cannot be extracted from there.

  • How to know the printprogram and output type for perticular standard script

    how to know the print program and output type for perticular standard script and wt the proceure we will fallow to modifie the standard script..if possible u have any sample code plz share with me.....

    Hi Phani,
    To know the print program and output type for a standard script we have a table called TNAPR. So just you go to SE11 and provide the table name as TNAPR and choose display option.Then go with display entries option and in selection screen you have to provide the form name for whic you want to know the print program and output type.
    To modify a standard script first of all you have to copy the standard form for which you need modifications into Zform. Once you done this you can modify the layout set as per your requirement.Then what ever the modifications you have done in layout set for that you need to populate the data.For this you also need to do some modifications to the print program.so you have to options like directly you can modify the print program as per your requirement and other one is you can create a subroutine and do coding in that subroutine. Then you need call this subroutine in the Script Form.like this you can do modifications to the standard script........................... Reward me if its helpful..........
    Thanks & Regards.
    Laxman.P
    B'lore.

  • How to know the filename and extension of a file in PKCS7  envelope

    Hi! I've a programm that makes a PKCS7 file. I'm enveloping just one file at a time. I want to know if there is a way to know the filename and extension of the file INSIDE de PKCS7 envelope. Because I receive a file that has .p7 extension, but the real document, the one to be decyprted, I don't know its name nor its extension, and I need both for writing it (I will not just invent some name).
    Best regards!

    The construct of the PKCS7 structure you have, is defined in rfc2633. The part defining EncapsulatedContent is introduced in CMS [rfc2639], where no such attribute for a file name is saved in the structure.
    In some occasions, when it is critical, organizations add own object identifier and attibutes to save such descrptivie information as filename and extension.
    A practical approach is, on the signing side, sign the file A.ext to A-ext.p7m resp. A-ext.p7s
    You can not assume a global approach to get back the original filename (if you have no agreement on not the signing peer as above) of the encapsulated data. The reason is, the encapsulated data field is general and it does not neccesarily mean it was a file (a part of a stream or any definite sequence of bytes in general).

  • How to show the First and Last name of the user instead of user name

    Gurus,
    We have the full email id of the user as the portal user name. Right now we are using the "Item Attributes - Current User" to show the user name. We don't want to show this anymore. We would like to show the First and Last name of the user on the Portal page. How can i do this. Please post a reply if you have some idea about it.
    Thanks
    Raj
    ---------

    I believe this is possible using the security APIs. See http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/PLSQL/DOC/PLDOC_9026/INDEX.HTML and look for person_info (Returns user information, given a user name)
    under wwsec_api
    Suggest posting any follow-up questions to the Security forum - http://forums.oracle.com/forums/forum.jsp?forum=6

  • How to know the status of concurrent program from back-end in oracle apps

    Hi,
    Can you please explain me step by step how to know the status of the concurrent program from back end in oracle apps.
    Thanks,
    Raj

    When a record is being updated by a form, if you create a Pre-Update trigger on the block, the trigger will run for each record being updated.
    Same thing happens with a Pre-Insert and Pre-Delete trigger.

  • How to set the title and tab name of page in EXCEL format

    I have generated a HTML page in a popup. I want to show the page in Excel format in the popup.
    I did this by executing the command
             owa_util.mime_header('application/vnd.ms-excel',true);before the report.
    This is working correct only now you see the complete URL in the popup title and
    the "f?p=.." part in the excel sheet name.
    How can you change the title and the sheet name.
    I have already tried the following:
             owa_util.mime_header('application/vnd.ms-excel',false);
             htp.p('Content-Disposition: inline; name=overzicht.xls');
             htp.p('Content-Description: overzicht.xls');
             owa_util.http_header_close;but this does not change anything.
    Does somebody know a solution.
    thanks,
    Fred.

    Liam,
    I'm posting again because the issue is not resolved yet. I thought it was fixed but it isn’t.
    I followed other posts you had answered about blog meta tags, but still can’t get it fixed.
    For the BC Blog - unable to show blog post description "{tag_blogpostmetadescription}" for SEO.
    blog post <title> tag works fine but not the blog post description.
    As previous forum answers indicated:
    Went to:
    - Site Manager->Module Templates->Blogs->Blog Post Details layout and put the above code.
    - made sure in blog post SEO the title and description fields are filled out.
    - removed from my blog-template any call for the title and description.
    must be missing something.
    re: your comment about pasting code in editor?  Not sure what you mean - should I not paste code?
    Thanks for your reply and help
    Will

  • How to get the constraintlist and column name in a table?

    Hi,
    can anyone please tell me how to get the constraint type ,and it's imposed on columns names in a table.
    Thanks,
    Deekay

    Deekay wrote:
    can anyone please tell me how to get the constraint type ,and it's imposed on columns names in a table.To get constraint type:
    select constraint_type from user_constraints where constraint_name = 'YOUR CONSTRAINT NAME';To get constraint columns:
    SELECT column_name from user_cons_columns where constraint_name = 'YOUR CONSTRAINT NAME';SY.

  • How to get the system property - user.name from a client system

    Hi All,
    I have an application which would enable active users from the domain of the company. I want to get the name of the client from the system. I tried to run it on the local machine from Jdeveloper, it returned me the correct user name. But when the application is deployed on the Oracle Application server, and i hit the URL of the application, it returns the server URL.
    I understand that the JSP works on the server side here but help me out to get a solution. I want to read the user name from the client side.
    Thanks in advance!
    Akhil

    Akhil,
    I hope this will never work. Think about your requirement for a second....
    This would mean an application is able to see my user credentials without my knowledge. It's bad enough the know my IP if I'm not using TOR.
    To get your requirement to work you have to redefine it a bit. The user have to log in to your application. The application holds the name together with an ID of the session to know the user in further requests.
    Thats a basic security theme, described in the dos [Adding Security to a Fusion Web Application|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/adding_security.htm] .
    Timo

  • How to ask the I2C device alias name from the MAX

    Hi,
    How can I ask the I2C device alias name which MAX uses in Labview? If the VISA Alias on My System is for example I2C in MAX, I need to ask it in Labview and write it then to Device Reference In input of a I2C vi.
    BR,
    Jick
    Solved!
    Go to Solution.

    Here is a picture which should clarify the problem a bit more.
    As you can see I use "I2C2" as an alias in MAX and I need somehow query that alias in Labview and write it to the device reference in input node. How?
    BR,
    Jick
    Attachments:
    pic1.JPG ‏21 KB

  • How to get truck no and transporter name from header.text(vf03) to webi rep

    Hi
    making a stock received details bill wise with webi (bo 3.1)
    so require a truck no and transporter name along with consignor detail and bill wise detail.
    picking data from vbrk and vbrp tables.
    pls assist in this
    Thanks and Regards
    Ritu Raj
    BI/BO Consultant

    Thanks M
    Yes It is Sales and Distribution process and we are using ODBC Connectivity through database client for the connection parameter in the Universe designed to the R/3 ECC.
    So we dont have
    a) DS
    b) BW
    c) Data Connector
    So Universe is basically on the relational Data
    base where by linking VBRK,VBRP and various Master tables.
    (OLTP level universe)
    So the quesion remain as it is bcos we cant access functional module READ_TEXT in the R/3
    Pls suggest for the following Alternatives
    a)Using Crystal Reports
    b)Use BW (Currently it is not there,but soon be Implemented)
    What do you think?
    Bcos we dont want to refresh z table which could be developed from given functional module before running our report.
    Regards
    Ritu Raj

Maybe you are looking for

  • Sent this Letter to CEO, Emailed Support, Tweeted and Still NO Response

    Not sure how to get anyone's attention here, but the complete disregard for my situation guarantees that I'm taking my business elsewhere.   Hubert Joly CEO 7601 Penn Ave. S Richfield, MN 55423 RE: {removed per forum guidelines} and {removed per foru

  • Pulling information from an email and pasting it into the Subject line

    i have email requests coming in from project managers that are automatically created after they fill out a form. Outlook is set up with a rule on their machines to forward the request to my art dept. Problem is that the emails always have the name of

  • Operations in Routing

    Can I have two operations in routing?In one operation operation number can be 10 for other it is 20.For operation 10 i hv to show consumption of sfg & for operation 20 i hv to show production of FG.i will confirm by co11n first for operation 10 & the

  • Replace service module message

    I have an HP Officejet H470 mobile printer.  I really like it, but...    I have received the message to replace the ink service module (spitoon).  I have ordered the module and installed it.  I believe the new spitoon is installed properly.  The prin

  • Dunning run as periodic background job - TA F150

    Hi Gurus, do you know a functionality how to set up the dunning run (selection + printing) as as a periodic background job. The issue is, that the parameters have to be changed with each run. For example we would like to run the dunning programm all