Qestion

Hi
How usually GUI developers make the buttons in a JToolbar to control the contents of the pane?(Like a JTabbedPane)
Thanks
D

You might want to have a look at this tutorial :
http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html
thanks but what it has to do with my problem?The card layout itself has a method show which enables you to decide which panel is going to be displayed. You don't have to use setVisible type methods.
The preferred size is calculated with all possible cards so you have fewer resizing problems.
>
is this behaveior can be achived by JTabbedpane?
Of course, using a JTabbedPane is the most "professional" way to do. It's just that you seemed to be more inclined to use your own JButtons. If so, a card layout might come in handy.

Similar Messages

  • Im forget qestions sequrety apple id and in my account not set rescue mail. what can i do?

    Im forget qestions sequrety apple id and in my account not set rescue mail. what can i do?

    Forgotten Security Questions / Answers...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions
    Note:
    You can only set up and/or change a Rescue Email Before you forget the questions/answers

  • HT5312 I don't remember my security qestions

    I don't remember my security qestions, sorry answers)))

    Search that article for '2 out of 3' and either have a message sent to your rescue email address or contact the iTunes Store staff directly.
    (74963)

  • Hi are know someone how to do if i forget my answer at the qestions?

    Hi are know someone how to do if i forget my answer at the qestions?

    Click here for information. If the option to have the answers emailed to you isn't available or doesn't work(the email may take a few hours to arrive), contact the iTunes Store staff via the link in the 'Additional Information' section of that article.
    (89888)

  • What should i do if i forgot my security qestion and rescue email and i redeemed itunes gift cards?

    what should i do if i forgot my security qestion and rescue email and i redeemed itunes gift cards?

    any reply?

  • 8 Qestion. Looking clarifiction on doubuts for funda II exam.

    Answer are marked in bold letter. But I have some doubts written in ‘[ ]’ after q. If anyone can clarify it.
    Thanks in advance.
    29. Which two statements regarding the control file and Recovery
    Manager are true? (Choose two)
    A. The control file can grow in size.
    B. The control file can store RMAN scripts.
    C. CONTROL_FILE_RECORD_KEEP_TIME determines retention time for RMAN
    records.
    D. The RMAN catalog can exist solely in the control file of the
    target database.
    [ Is A also not correct ]
    73. What is the purpose of importing from an export, and specifying
    that no rows be imported and that the output goes to a log file?
    A. To verify space requirements in the target database before
    importing.
    B. To generate the SQL for the DDL operations that would occur during
    import.
    C. To check character set compatibility between the export file and
    the target database.
    D. To check for integrity constraint violations that would occur in
    the target database.
    [many dumps says B too ]
    Question: 92
    You want to drop the TBS1 table space from your database.
    You also want to delete the corresponding data files automatically,
    and not have to do it
    manually. What should you do?
    A. Use the DROP DATA FILE command.
    B. Use the DROP TABLE SPACE command.
    C. Ensure that all database files are Oracle Managed Files before
    using the DROP
    TABLE SPACE command.D. Ensure that the DB_FILE_CREATE_DEST initialization parameter is
    set before using the
    DROP TABLE SPACE command
    Question: 148
    You need to import all definitions of objects belonging to the
    TS_EMPLOYEES
    table space by using the export file expdat.dmp.
    Which import statement is correct?
    A. imp hr/hr TABLES=(ts_employees) rows=y
    B. imp system/manager FROMUSER=hr file=expdat.dmp
    C. imp hr/hr TRANSPORT_TABLE SPACE=y file=expdat.dmp
    D. imp system/manager TRANSPORT_TABLE SPACE=y
    TABLE SPACE=ts_employees
    [ is C & D both correct]
    Question: 168
    Your database runs in ARCHIVE LOG mode, and is backed up every Sunday
    night
    using RMAN scripts. On Friday your database crashes. Now you want to
    use the
    backups from last Sunday night to restore your database. How can you
    do this?
    A. You need to perform the restore manually, because your database
    was running in ARCHIVE
    LOG mode.
    B. Issue the RECOVER command from within RMAN. RMAN determines which
    data files to
    restore, and which archive logs to use.
    C. Issue the RESTORE and RECOVER commands from within RMAN. RMAN
    determines
    which data files to restore, and which archive logs to use.
    D. Issue the RESTORE DATA FILES, RESTORE ARCHIVE LOGS, and RECOVER
    commands from within RMAN.MAN determines which data files to restore,
    and which archive
    logs to use.
    [What about C]
    Question: 257
    Users in your development database complain that they are getting the
    following error while trying
    to execute a query on the SALES_HISTORY table:
    ERROR at line 1:
    ORA-00942: table or view does not exist
    While investigating the reason, you find that a hardware failure
    occured, resulting in the loss of
    one of the available disk drives used by the database. While waitinig
    for a replacement drive, the
    OBA removed the un-needed data from the database and during the
    removl the
    SALES_HISTORY table was dropped accidentally.
    Within few minutes a second hardware failure corrupted another disk
    drive, resulting in
    the loss of the current online redo log files and the logical back
    ups of the database. The redo log
    files were not multiplexed and the current redo log file is not yet
    archived.
    Which recovery method would you follow to recover the SALES_HISTORY
    table?
    A - Open Database complete recovery
    B - Cancel-Based incomplete recoveryC - Change-Based incomplete recovery
    D - Closed Database complete recovery
    E - Recovery using the backup control file
    [ But how that will restore sales_history table, as when it got drop implicitly issue  commit , switch redo log file]
    Question: 318
    Which statement is true regarding database writer process (DBWn)?
    A - It writes only committed data to the data riles.
    B - It synchronizes the database buffer cache and the data files
    regularly.C - It makes changes to data blocks in the database buffer cache when
    required.
    D - It is possible to configure more than one database writer
    process, but this is useful only on
    uniprocessor systems
    [ Is D also not correct ]
    When We select naming method TSN_name [local] only SqlNET.ora file get updated or tnsname.ora too ?

    IT Guru,
    You are already certified, then take care of the granted credential. Do you remember the ORACLE® CERTIFICATION PROGRAM CANDIDATE AGREEMENT ?
    Section 3.3 No Misuse of the Test
    You agree that You will not copy, publish, offer to sell, sell, publicly perform or display, distribute in any way or otherwise transfer, modify, make derivative works thereof, reverse engineer, decompile, disassemble or translate any Certification Exam or part thereof.
    Your credential could be revoked according to the
    Oracle Certification Program Fraudulent Activity Policy
    Oracle reserves the right to take action against any candidate involved in fraudulent activities, including, but not limited to, fraudulent use of vouchers, promotional codes, reselling exam discounts and vouchers, cheating on an exam, alteration of score reports, alteration of completion certificates, violation of exam retake policies or other activities deemed fraudulent by Oracle.
    If Oracle determines, in its sole discretion, that fraudulent activity has taken place, it reserves the right to take action up to and including, but not limited to, decertification of a candidate's OCA, OCP and/or OCM credentials, temporary, indefinite or permanent ban of a candidate from Oracle certification programs, notification to a candidate's employer, and notification to law enforcement agencies. Candidates found committing fraudulent activities forfeit all fees previously paid to Oracle, or to Oracle's authorized vendors, and may be required to pay additional fees for services rendered.
    ~ Madrid.

  • HT2731 how i know my answer for securtiy qestion

    how i know my answer for securtiy qestion

    Go to https://appleid.apple.com to send the answers to your rescue email. You can also contact support if you'll have a hard time doing this or if you'll need a reset.
    http://www.apple.com/support/itunes/

  • Qestion for implementing Runnable

    HI,
    I have a function which executes multiple methods and store the result from those methods in List<Stirng> before the last methods executes I need to insert these List<String> values in a database with my dao object.
    I was wondering if I do the following:
    new Thread(new myInsertWorker()).start();
    executeMyFunction();
    Would I improve the performance on my program since it is very important for this last function to be fast.
    My question is if I insert the strings as a separate thread how do I need to write the thread to be as simple as possible and not cause any performance issues?

    Here is my code, I am new to concurrent programming, therefore I move slowly :) and check my code with someone else to prevent issues I am not aware of.
    Can I improve this simple piece of code to make sure if it does fail or hangs my application will not be affected?
    Thank you
    public class LogMessageWorker implements Runnable {
        List<LogMessage>_messages = new LinkedList();
        LogMessageDAO _logMessageDAO=null;
        public LogMessageWorker(LogMessageDAO logMessageDAO, List<LogMessage> messages){
            this._messages = messages;
            this._logMessageDAO = logMessageDAO;
        public LogMessageWorker(LogMessageDAO logMessageDAO, LogMessage message){
            this._messages.add(message);
            this._logMessageDAO = logMessageDAO;
        public void run() {
            try{
                _logMessageDAO.add(_messages);
            }catch(Exception e){
                e.printStackTrace();
    }This is how I call it:
    try {
                Thread logMsgThread = new Thread(new LogMessageWorker(logMessageDAO, logMessages));
                //logMsgThread.setPriority(Thread.MIN_PRIORITY);
                logMsgThread.start();
            } catch (Exception e) {
                e.printStackTrace();
            }Edited by: kminev on Dec 3, 2009 2:06 PM

  • Accounting documents qestion from VF03 customer billing

    Hi
    I am from SD back ground. Please some one can guide us how the accouting documents are creating automatically from customer invoice -
    >list of document in accouting -?
    1) accouting document
    2)profit center doc
    3)controlling doc
    4)profitability analysys doc
    5)special purpose ledger doc.
    i know first one accounting doc from accout determination while posting to G/L account.But some one with sales/AR back groung experts give me complete details.
    Please  try to answer the question only and any links or any documentation.
    Thanks
    Kris

    When you post any Billing document and customer invoice in SD the GL account assigned in SD for Sales and Cost of sales and Customer and Stocks are posted according to the Billing document and Sale order calculations
    now as soon as a FI document ( accounting Document) is posted there are some documents known as
    Controlling document , Profit center document and COPA document and Profit center accounting document
    are automatically created based on the configuration done by the FI consultant
    so it flows from the GL posting to Profitability and special purpose ledger posting automatically once a billing document and invoice is posted
    Regards

  • Flex Tree component qestion.

    Hi, this might be a piece of cake for you guys. But I could not figure out how to expand the tree by default when you bring up your app.
    Thanks.
    K

    Set openItems
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Install new Test Qestion Items in TestAuthor (Authoring Environment)?

    Hi everyone!
    Does enybody know, is it possible to add new (external) test question types to the existing ones in test author (Authoring Environment).
    I would like to add some other question types eg.:
    -define order of possibilities;
    -choose the most fiting behavour or attribute;
    Now there are the following test and rating types: MC (multiple choice) MR (Multiple choice item with two or more right answers), MR Explicite (Multiple choice item with two or more right answers, where the participant is required to make explicit decisions) Fill-in Item (Item with open answer) and Rating.
    So is that possible to add NEW test question types to Test Author and also LSO(because later I'd like to play evaluate and collect results of the tests in LSO)
    Regards A Heger.

    Hi  Andras Heger  ,
    Presently its not possible to add new templates...
    as you cannot configure any things while setting up new type of questions.
    Those five are the supported levels..
    Thanks and Best Regards
    Moyeen

  • Qestion Regaring SRM InfoProvider: ITM_DELIV_DATE

    Hi All,
    I'm hoping to get some help here:
    0DSDEL_DATK (Requested Deliver Date.  This is a field in BW) is in DEC format while the source infoobject from SRM, ITM_DELIV_DATE, is in DATS format (yyyymmdd).  The infoobject ITM_DELIV_DATE (in SRM) is assigned to the infoobject 0DSDEL_DATK...  It returns X in queries executed.
    Thanks!
    Philips

    Hi Philips,
    this is quite a normal situation in the SRM world.
    As the formats are different, the system returns in Standard Query a X.
    You need to convert the incoming data to the BW format. Then all data
    is available in right format, esp. when you want to have reporting accross
    all connected source systems (SRM as well R/3).
    Thanks,
    Claudia

  • Qestion: Table about Infoobjects

    Hi
    The situation is:  I get an Infoobject name in the run time, and I need to know if the Infoobject has a master table and what the table name is.
    Is there a table which contain such kind of infomation?
    Thanks
    Best regards

    dynamically build table name like below
    if vendor is table name..
    then table would be /BI0/PVENDOR ---> table
    and do select * (table).
    check sy-subrc

  • Qestion about the requred dcs SAP_BUILDT SAP-JEE SAP_JTECHS

    hi all,
    I use nwdi to transport and deploy my web dynpro projects.
    the nwdi is 2004s (7.00), but the dev system and production system are 2004 (6.40)
    which version of these required DCs should I use: 6.40 or 7.00?
    Thanks!
    Regards,
    Hui

    Hi,
    It is recommended to keep NWDI always on the highest SP level. But it is also possible to have an NW 04 JDI for NW2004s developments inside the tracks.
    For more details refer,
    /people/marion.schlotte/blog/2005/10/25/jdi-software-vs-jdi-content
    Regards,
    Srinivasan T

  • SAP SD Recruiting interview qestions

    Hi Friends,
    Here are some more questions pls. provide some best examples on this.
    i would appreciate for your responses.
    1) Describe how you would develop a complex project plan.
    2) How do you increase morale within the project team?
    3) Describe how you managed a change in the project scope.
    4) Have you had to perform multiple roles on a project and if so how did you approach the task?
    5) Give an example of having to talk the client into something, when they wanted something else.
    6) How did you handle the need for a resource with a specific skill set, when that resource was not available for your project?
    thanks
    Ranga

    Ranganath,
    The questions you have asked are asically supposed to be answered by your own real-life experinces on projects, clients or with your fellow team-members.
    How can you rote-learn such questions?
    Besides the experiences may differ from one individual to another.

Maybe you are looking for

  • Built-in iSight - how do you know for sure it is off?

    I have a new iMac with built-in iSight. I have been checking into security software for my iMac and came across the program called Undercover by Orbicule. One of the functions of that program is that is utilizes the built-in iSight camera to take pic

  • How do you set up priority queueing on a 3400 metro switch?

    running IOS 12.2(40)SE. This seem to do strict priority queueing only which means that that queue will be serviced until it is emptied, then other queues will be serviced. We will be pumping lots of voice calls through a few of these 3400s on a metro

  • Improper Code Indenting - How to make it stop!?!?

    Hello all, I don't know how I'm just noticing this, maybe it only happens on newly created pages in CS4. But I've noticed that the code indenting isn't the way it used to be. There are times when after hitting enter, you'd expect the next line to be

  • Beware! Verizon Trade & Upgrade Event Scam Alert

    Do not be fooled into renewing a 2-year contract by the Verizon Wireless Trade & Upgrade Event like I was. I purchased a new iPhone 5s because I would be break even with the $200 Verizon Wireless promised to give me for trading in my iPhone 4s. Howev

  • Demo database

    So that we may better diagnose DOWNLOAD problems, please provide the following information. - Date/Time 8/15/02 7:30pm - Browser + Version internet explorer 6.0 - O/S + Version windows xp A book on Oracle9i I am reading states that the oracle9i trial