Panels to be displayed when clicking on a button: general question

Hi there,
I want to design a GUI that will look something like:
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| A | B | C | D | E | F |
That should be two panels:
- bottom panel: just a some buttons (A, B, C...)
- top panel: to start with, it'll be empty/blank, but when a button is pressed, some content should be displayed (buttons, labels, etc)
So, my idea was to have a main UI class, where I would have both panels; and for each different button I'd also have a different class. These classes should just display their own panel within the "top panel".
And that's what I'm not getting.
In the main UI class, I wrote some instances for each possible class that I'd be calling. And each class would have a constructor:
UITesting(Panel aPanel, String aWord)
Where aPanel is the top panel from the main UI, and aWord just a word to display in a lable for example (just testing purposes).
My question:
how do I make visible panelA when I press the buttonA and so on?
Anybody knows where I could find a similar example or tutorial?
Thanks!

Try using a Card Layout.
Giving an Example with two buttons.
====================================
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;
public class TestDialog extends JDialog
     private JPanel p3 = new JPanel();
     private CardLayout cd = new CardLayout(0,0);     
     public TestDialog()
          init();
     public static void main(String[] args)
          System.out.println("Hello World!");
          TestDialog t = new TestDialog();
          t.setSize(200,200);
          t.pack();
          t.setVisible(true);
     private void init()
          JPanel p1 = (JPanel)this.getContentPane();
          p1.setLayout(new BorderLayout(0,0));
          JPanel p2 = new JPanel();
          JButton b1 = new JButton("Button1");
          JButton b2 = new JButton("Button2");
          p2.setLayout(new FlowLayout(FlowLayout.CENTER, 0,0));
          p2.add(b1);
          p2.add(b2);
          p1.add(BorderLayout.SOUTH, p2);
          p1.add(BorderLayout.CENTER, p3);
          p3.setLayout(cd);
          JPanel p4 = new JPanel();
          JPanel p5 = new JPanel();
          p4.add(new JLabel("Panel1"));
          p5.add(new JLabel("Panel2"));
          p3.add("Card1", p4);
          p3.add("Card2", p5);
          cd.show(p3, "Card1");
          b1.addActionListener(new ActionListener()
               public void actionPerformed(ActionEvent e)
                    cd.show(p3, "Card1");
          b2.addActionListener(new ActionListener()
               public void actionPerformed(ActionEvent e)
                    cd.show(p3, "Card2");

Similar Messages

  • My edited photos will not display when clicked on, a large triangle with exclmation comes up

    my edited photos will not display when clicked on, instead a large grey area comes up wiht a triangle /exclamation sign. 

    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption. 

  • How to maintain dynamic rows with data when click on Previous button?

    Hi,
    I have 1 aspx page and divided into 3 pages using panels.Each panel has "Next" and Previous buttons
    I have created and deleted dynamic table rows when click on Add button using javascript. whenever i click on Next button it will navigate to same page of next panel.
    when i click on previous button then it goes to previous panel but whatever i have added dynamic table rows in 1st panel that got removed.
    Can u please help me for how to maintain state of dynamic table rows with entered data when click on Previous button?
    How to get dynamic table rows with entered data in previous panel when click on Previous button?
    Please find the below javascript code:
    function insertRow() {
    if (index >= 2) {
    document.getElementById('deleteRow').style.display = "inline";
    else { document.getElementById('DeleteRow').style.display = "none"; }
    var table = document.getElementById("myTable");
    var row = table.insertRow(table.rows.length);
    cell1 = row.insertCell(0);
    t1 = document.createElement("select");
    t1.options[t1.options.length] = new Option('--Select--', '0');
    t1.id = "ddlYear" + index;
    cell1.appendChild(t1);
    for (var i = 1975; i <= 2015; i++) {
    opt = document.createElement("option");
    opt.value = i;
    opt.text = i;
    t1.add(opt);
    t1.style.width = "155px";
    var cell2 = row.insertCell(1);
    t2 = document.createElement("Select");
    t2.options[t2.options.length]=new Option('--Select--','0');
    t2.options[t2.options.length]=new Option('State Board','1');
    t2.options[t2.options.length]=new Option('CBSE','2');
    t2.options[t2.options.length]=new Option('ICSE','3');
    t2.options[t2.options.length] = new Option('Others', '4');
    t2.style.width = "155px";
    t2.id = "ddlCourse" + index;
    cell2.appendChild(t2);
    var cell3 = row.insertCell(2);
    t3 = document.createElement("input");
    t3.id = "txtCity" + index;
    cell3.appendChild(t3);
    var cell4 = row.insertCell(3);
    t4 = document.createElement("input");
    t4.id = "txtInstitute" + index;
    cell4.appendChild(t4);
    var cell5 = row.insertCell(4);
    t5 = document.createElement("Select");
    t5.options[t5.options.length] = new Option('--Select--', '0');
    t5.options[t5.options.length] = new Option('English', '1');
    t5.options[t5.options.length] = new Option('Hindi', '2');
    t5.options[t5.options.length] = new Option('Telugu', '3');
    t5.options[t5.options.length] = new Option('Others', '4');
    t5.style.width = "155px";
    t5.id = "ddlMedium" + index;
    cell5.appendChild(t5);
    var cell6 = row.insertCell(5);
    t6 = document.createElement("input");
    t6.id = "txtSpecialization" + index;
    cell6.appendChild(t6);
    var cell7 = row.insertCell(6);
    t7 = document.createElement("input");
    t7.id = "txtFnl" + index;
    cell7.appendChild(t7);
    index++;
    function DeleteRow(index) {
    var table = document.getElementById("myTable");
    table.deleteRow(index);
    // if (index = 2) { alert("There is no rows added.Please add the new row"); }
    Design:
    <tr style="font-size: 12pt" id="trSecond" runat="server">
    <td colspan="3">
    <table id="myTable" width="100%" border="0">
    </table>
    <tr>
    <td colspan="3" align="right">
    <input type="button" title="Add" value="Add" onclick="insertRow();" />
    <input type="button" id="deleteRow" title="Delete" value="Delete Row" onclick="DeleteRow(this);" style="display:none" />
    </td>
    </tr>
    Thank you.

    Put the button click into an action listener and build the new frame there. The code I have below isn't exactly what you're doing (it's amazingly oversimplified), but it's probably similar enough to get your wheels turning in the right direction.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class sample
         public static void main(String[] args)
              JFrame frame = new JFrame("Sample");
              frame.setSize(400,400);
              Container content = frame.getContentPane();
              content.setLayout(new FlowLayout());
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final JTextField text = new JTextField(10);
              content.add(text);
              JButton button = new JButton("Send");
              content.add(button);
              frame.setVisible(true);
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        JFrame myframe = new JFrame("Results");
                        myframe.setSize(200,200);
                        Container mycontent = myframe.getContentPane();
                        mycontent.setLayout(new FlowLayout());
                        String mytext = text.getText();
                        JLabel label = new JLabel();
                        label.setText(String.valueOf(mytext));
                        mycontent.add(label);
                        myframe.setVisible(true);
    }

  • IPhoto 6.0.5 crashes when clicking the Edit button

    On some of my albums....not all of them.... When clicking the Edit button or double clicking one of the photos in that album, to make it bigger so you can use the arrows to move throught the pictures, iPhoto crashes.
    It does this every time with certain albums. They are all jpeg, and the ones that are crashing worked fine before this last upgrade of iPhoto. Is there a known problem with this? I have looked around and seems as though people have had some problems similar to this but not exaclty the same.
    Is there something that can be done that I don't know about to remedy this?
    Any and all help/suggestions would be much appreciated.
    Thanks

    Scott:
    It may be a color profile issue. Download the Automator workflow "Embed sRGB Profile" file from Toad's Cellar and unzip it. Then export one of the problem files to the desktop and drop on the workflow application. Then import the file and see if it will edit OK. If so you can find the files in the Originals folder that are giving you problems and drag them onto the workflow application file. BUT, just in case make a temp backup copy of the iPHoto Library folder beforehand.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • Running abap reports in the background when clicked on Webdynpro Button

    Hi Experts,
    I have requirement where when clicked on a Button in a Webdynpro application, it needs to run an abap reports in the background and I need to pass some parameters to the report.
    Is it possible to do that? if yes, please guide me though.
    Reward points for useful tips.
    Sabbir
    Edited by: Sabbir Ahmed on Oct 17, 2008 8:05 AM
    Edited by: Armin Reichert on Oct 24, 2008 10:05 AM

    you can use rfc's model  for this na?
    pass the parameters to the RFC and through that RFC run the report,
    with regards
    shanto aloor.

  • Opening a Support document when clicked on a button in Webdynpro-ABAP.

    Hi All,
    We have a requirement that when clicking on a button it should open a file which has file name stored in a table. How to make this possible.
    The path of the file should not be hardcoded, since the user can change the file and its name anytime, he will just update the name in that table. Our report has to fetch that exact file.
    Please help me in this.
    Thanks,
    Selvakumar M.

    Hi Radhika,
    We will be having the file stored in the common shared path, file may be of either .Pdf or .doc.
    I have not used the file upload option before, so i am not sure about it.
    But my requirement is not upload, it has to open a file from a path. Sorry if i mistook the meaning of the file upload option.
    Thanks for quick turnaround.
    Selva M.

  • I want to do banners ,how can we do  when click the same button (next button)  it must show differen

    i want to do banners ,how can we do  when click the same button (next button)  it must show different images . cam any one help

    Check out my blog with samples on Edgehero.
    http://www.edgehero.com/articles/interactivity

  • Is there any function or way to get a text when clicked on a button

    Hi all,
    I need to get a file name when clicked on a button at user-command(just after the selection ends and the output came, there are some buttons on the screen).
    Any function, thanks.

    If you want user to supply a file name, you should popup a file selection dialog box. Depending on where the file might reside, use one of the following function modules.
    F4_FILENAME      
    F4_FILENAME_SERVER

  • I run DeviceDemo sample to send email, when click send email button after f

    I run DeviceDemo sample to send email, when click send email button after filling all fields, it took me to EverNote application, can not send email. does anyone has this kind experience? how to fix it?

    Hi,
    ADF Mobile cannot directly send emails as this is a security precaution of your mobile phone (imagine all applications could send mails without you confirming). Instead the send mail functionality launches the mail client you have configured and fill in the information you provided in the application. The mail function by the way is implemented through Cordova.
    Frank

  • Incorrect Website being displayed when CLICKING from Search engine

    When CLICKING on a Website address from using a search engine, or entering it directly, the WRONG address is displayed.
    It DOES have the correct address, but the DISPLAY is not the one I am looking for. Same if using the IE rendering Facility, same results if using AdBlock OFF.
    Only if using IE Directly as the Browser, is the CORRECT Website displayed.
    A friend of mine has NO problems in doing the same,
    for the same Website address, with FF.
    As far as I know, other Websites are not affected !
    (Well, none that I have used so far )

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • When clicking the back button on some website I get a response in a drop-down stating "Firefox prevented this page form automatically reloading. Could you tell me how to fix this please

    This applies particularly to CNN, when clicking onto a story at the home page, then clicking back to the home page. A black bar appears at the top of the screen, on the left side the message above and on the right side an "Allow" button and a X for closing that window. Clicking on the "Allow" results in the same notice being displayed.

    See:
    * Firefox > Preferences > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    For other OS see:
    * [http://kb.mozillazine.org/Menu_differences Windows: Firefox (Tools) > Options - Mac: Firefox > Preferences - Linux: Edit > Preferences]
    * https://support.mozilla.com/kb/Options+window+-+Advanced+panel#General_tab
    See also:
    * http://kb.mozillazine.org/accessibility.blockautorefresh

  • Crystal Report/STRUTS: Error (404) when clicking on Control Buttons (Print, Export, Next, Previous, etc...) on report viewer

    Post Author: jwenny
    CA Forum: Deployment
    Need help badly!!!
    We are using the crystal reports plugin for STRUTS.
    We are able to display the report in the crystal report viewer.  However, when we click any control buttons (print, export, etc...), then we get:
    JSPG0036E:  Failed to find resource /Report-viewer.jsp
    We then moved Report-viewer.jsp to the WebContents folder (root directory) and got a different error when we clicked any control button:
    Error:  400 page not found
    Does anyone know how to solve this problem?  For instance, is there a setting or parameter that needs to be set?
    Greatly appreciate any help!

    HI,
    Whenever we print the viewer does an auto postback, I believe due to this some of the values are getting missed. Moreover we are referring to the viewer and reportdocument object, it seems. So can you try this simple code in an application to see if it helps:
    ReportDocument rdoc = new ReportDocument();
    rdoc.Load("C:\TASKECrystalReports\Intraday.rpt");
    rdoc.SetDatabaseLogon("uid","pwd");
    rdoc.SetParameterValues("parameter name","value");
    CrystalReportViewer.ReportSource = rdoc;
    Helps?
    Thanks.

  • When click on "GO" button i got this error.

    Hi All,
    In searchpg have one lov and go button.
    when click on the go button, based on the lov the data displayed in advancetableRN.
    this advancetableRN is created with EO based VO.
    so when click on the go button i got the below error.
    plz help me its very urgent.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ManagerCustomTableEO.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2637)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.InstantiationException
         at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:308)
         at java.lang.Class.newInstance(Class.java:261)
         at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1174)
         at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)
         at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)
         at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)
         at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)
         at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
         at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
         at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
         at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
         at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
         at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2886)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2586)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1674)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:597)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at wnsgs.oracle.apps.pa.managerinformation.server.ManagerInformationAMImpl.CustomtablePronoLogic(ManagerInformationAMImpl.java:124)
         at wnsgs.oracle.apps.pa.managerinformation.webui.ManagerDetailsCO.processFormRequest(ManagerDetailsCO.java:46)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.InstantiationException
         at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:308)
         at java.lang.Class.newInstance(Class.java:261)
         at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1174)
         at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)
         at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)
         at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)
         at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)
         at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
         at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
         at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
         at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
         at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
         at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2886)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2586)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1674)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:597)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at wnsgs.oracle.apps.pa.managerinformation.server.ManagerInformationAMImpl.CustomtablePronoLogic(ManagerInformationAMImpl.java:124)
         at wnsgs.oracle.apps.pa.managerinformation.webui.ManagerDetailsCO.processFormRequest(ManagerDetailsCO.java:46)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    thanks
    Latha
    Edited by: Latha on Dec 21, 2011 2:10 AM
    Edited by: Latha on Dec 21, 2011 4:21 AM

    Hi all,
    plz help me if anybody have idea on this issue.
    its urgent
    latha

  • SALV class : Footer display on click of a button

    Hi,
         I am using SALV classes to display ALV report. Is it possible  to display the footer on click of a button in ALV report (on user command) ?
    i am doing the following, but it does not work. there is no footer displayed
    METHOD on_user_command.
    CASE e_salv_function.
    WHEN '&ACT' .
    PERFORM  set_end_of_page   CHANGING o_table.
    WHEN  (...)
    endcase .
    FORM set_end_of_page CHANGING p_o_table type ref to cl_salv_table.
       DATA: lo_footer  TYPE REF TO cl_salv_form_layout_grid,   
              lo_f_label TYPE REF TO cl_salv_form_label,      
          lo_f_flow  TYPE REF TO cl_salv_form_layout_flow.
    **   footer object   
    CREATE OBJECT lo_footer.
    **   information in bold  
    lo_f_label = lo_footer->create_label( row = 1 column = 1 ).  
    lo_f_label->set_text( 'Footer .. here it goes' ).
    **   tabular information   
    lo_f_flow = lo_footer->create_flow( row = 2  column = 1 ).   
    lo_f_flow->create_text( text = 'This is text of flow in footer' ).
    lo_f_flow = lo_footer->create_flow( row = 3  column = 1 ).   
    lo_f_flow->create_text( text = 'Footer number' ).
      lo_f_flow = lo_footer->create_flow( row = 3  column = 2 ). 
      lo_f_flow->create_text( text = 1 ).
    ** Online footer   
    p_o_table->set_end_of_list( lo_footer ).
    **   Footer in print 
      p_o_table->set_end_of_list_print( lo_footer ).
    ENDFORM.

    H Geetha,
                  Add ScrollContainer to your view. In that take textView. Bind the context element to textView. Or Take TextEdit and bind the context. I don't think there is any problem.
    regards,
    Siva

  • When clicking on a button on any website, that opens a new window in Internet Explorer, nothing happens. I have unchecked the " block pop ups" box, but that didn't help.

    This happened for example when clicking on "printable view" on my Roadrunner webmail.

    Thanks
    My system is Windows 7 SP1 fully updated with Norton 360 a/v
    My problem is as follows:
    Installed Firefox with no difficulty
    It opened normally
    Used and setup Google News UK as default page with no difficuly and page opened normally.
    But then trried to open individual items in Google News and every time got message Internet Explorer cannot open this site
    Set up a bare Windows 7 SP1 drive and installed Firefox and continued with same message when opening items on the page
    I also use both MSN and Yahoo browsers and neither have any problems
    I have repeated the process in Windows 8 beta with the same result
    Daniel

Maybe you are looking for

  • CD/DVD printers no longer made?

    I was looking through the current product lines but didn't really see any that would print directly onto CD or DVD's like in the past.  About a year or so there used to be a couple models but I never had the money even though the cheaper one was only

  • User define Function at Mapping Time

    Hello Everyone, My requirement is I input the one value to the user define function (at mapping time). That function calls the RFC to R/3 system and return the 3 output values. Now my question is how can I return 3-output value from the user define f

  • Remove server from mac pro

    I would like to remove os x server from my Mac Pro. I am a newbee and did not know that I should have not put it on this machine and now I would like to remove it. Thank you

  • How to round picture corners

    Hi, I love Adobe Photoshop Elements. I have gotten Version 10 lately and I have to say, Adobe does not make certain tasks easy. All I need is to have my pictures either cropped with rounded corners, or to have the pictures with rounded corners withou

  • Install 10.6 server on MacBook Pro?

    I run a traveling newsroom and currently run 10.3 server just fine on a G4 Mini for years. Now need to upgrade machines and server software so would like to run on a MacBook Pro. Apple doesn't OFFICIALLY support server on non-desktop macs, but I just