How to implement table in applet

hi friends
i have no idea ,how to implement tables in awt for applet can u suggest way to solve my problem.im using jcreator to implement my project.

Crosspost: http://forum.java.sun.com/thread.jspa?threadID=783376
You already got plenty of answers. Why do you ask again? Didn't you like the answers?

Similar Messages

  • How to lmplement table in applet

    hi friends
    im not known how to implement table in applet using " java.applet.* " class
    plz reply as soon as possible..

    friend
    my project is implemented in applet but as u suggest
    for Jtable concept then my project is workingSo you have a JTable and it works? What are you asking then?
    What is your applet built with AWT, Swing, something else?

  • How to implement Table Function Operator?

    Hello All,
    Can some one post me the steps on how to implement this table function operator ??
    Thanks ...

    I don't know what else to say then that what's writen in help (F1):
    To define a Table Function operator in a mapping:
    Before you deploy the mapping containing the Table Function operator, you must manually create the table function in the target warehouse. The Table Function operator is bound to the actual table function object through the code generated by the mapping.
    1. Drag and drop a Table Function operator onto the Mapping Editor canvas. A table function operator called TABLEFUNCTION is added to the Mapping Editor canvas.
    2. Connect the appropriate source attributes to the input group of the table function operator.
    3. Right-click the Table Function operator and select Open Details. The Table Function Editor is displayed.
    4. From the Groups tab, select Add to add an output group

  • How to implement table pagination/navigation in ADF pages?

    Hi,
    I am developing an ADF application, where I have a requirement to implement table pagination like the one used in Google (<< < 1 2 3 ... > >>). I have around 1 million rows and the user needs to navigate to different sets using the buttons at the bottom of the table. I know that in ADF the scroller loads the data depending on the range but I haven't found anything like the one used in Google.
    There is an implementation of dropdown in trinidad table but our application is using the ADF table. Any light in this direction will be a great help.

    Search the forum fro pagination or page ranging. Lots of discussion here.
    Generally you have to write it yourself, theres no way to use rich table this way.
    Timo

  • How to implement Table with Common Cell Section

    Hi,
    I have requirement of displaying mulltiple rows in single column cell for certain columns in each row of Table.
    This has to be a read only table, with alternate design support in 7.02
    The Data Source contains all the elements to display in table as seperate columns (Data1..Data7).
    I have checked at Grouped Column design, its bit different from grouped column.
    Header1     |  Header2 | Header 3  | Header 5 | Header 7
                                     | Header 4  | Header 6 |
    Row-Data1 |     Data 2 | Data3      | Data 5     | Data 7
                                     | Data4      |  Data 6    |
    Row-Data2 |    Data22 | Data33     | Data55    | Data77   
                                        Data 44   |  Data 66  |
    Please let me know, if you have any idea of achieving this form of table in WD Java..

    Hi,
    I don't know how to do this with WD Java Table UI element, and you could build simple html table using webwidget UI element but that is not available on 702 as far as I know, plus this case the filtering, sorting and other features have to be done also manually using your own algorithm.
    Here is what I just built on 730 using WebWidgets:
    I checked also the grouped column, but that worked only for the header of the column, and behaved like colspan, while what you need is probably rather like rowspan.
    I know it is not a big help, maybe someone else knows how to do this with Table UI (if it is even possible).
    Still, perhaps someone else is interested who is using a higher release like 730.
    I created a webwidget UI element and bound to its "html" property a string context element that I called "widgethtml".
    After this I added this code to the wdDoModifyView() hook method:
    StringBuilder sb = new StringBuilder();
    sb.append("<html><head>")
      .append("<style type=\"text/css\">")
      .append(".AlternateTable{width:100%; border-collapse:collapse;}")
      .append(".AlternateTable td ,th{padding:7px; border:black 1px solid;}")
      .append(".AlternateTable tr:nth-child(n){ background: #9BBB58;}")
      .append(".AlternateTable tr:nth-child(n+3){ background: #E9EEF4;}")
      .append(".AlternateTable tr:nth-child(n+5){ background: #558ED5;}")
      .append("</style>")
      .append("</head>")
      .append("<body>")
      .append("<table class=\"AlternateTable\">")
      .append("<tr>")
      .append("<th rowspan=\"2\">Header1</th>")
      .append("<th rowspan=\"2\">Header2</th>")
      .append("<th>Header3</th>")
      .append("<th rowspan=\"2\">Header5</th>")
      .append("</tr>")
      .append("<tr>")
      .append("<th>Header4</th>")
      .append("</tr>")
      .append("<tr>")
      .append("<td rowspan=\"2\">Data1</td>")
      .append("<td rowspan=\"2\">Data2</td>")
      .append("<td>Data3</td>")
      .append("<td rowspan=\"2\">Data5</td>")
      .append("</tr>")
      .append("<tr>")
      .append("<td>Data4</td>")
      .append("</tr>")
      .append("<tr>")
      .append("<td rowspan=\"2\">Data11</td>")
      .append("<td rowspan=\"2\">Data22</td>")
      .append("<td>Data33</td>")
      .append("<td rowspan=\"2\">Data55</td>")
      .append("</tr>")
      .append("<tr>")
      .append("<td>Data44</td>")
      .append("</tr>")
      .append("</table>")
      .append("</body></html>");
      wdContext.currentContextElement().setWidgethtml(sb.toString());
    Cheers,
    Ervin

  • How to implement table like structure in MIDP?

    I am a starter of midp, and now need to implement something using MIDP 1.0.
    I would like to know can I have table like structure in MIDP, just like HTML; or I can only work with List/Form (one dimension display). I can't find related information at api doc come with wireless toolkits

    not really knowing what you want to acomplish I have this suggestion: check Mobile Information Device Profile (JSR-37) at http://www.jcp.org/aboutJava/communityprocess/final/jsr037/index.html . This might shed more light on applicable classes/methods/interfaces within MIDP 1.0.

  • How to Implement table view if I not know table columns ?

    I need to create table with WebDynPro IView, columns of which is defined by user input.
    I'm nivice.
    Better if you provide sample how to do it.
    Or, any detailed explanation is welcome.
    And, how to create Hierancical table - format of which depends from user input?
    Hierancical table - sectioned table made by 'group by' SQL operation.
    thanks

    thanks Pedro 
    but I did not understand one important thing, to some complete understanding:
    does a way to visualize SQL Select query - to define big? dynamically hand coded program?
    Or -does exist table controls that can show result of SQL query ?
    Does exist class structures that can own abstract Data from query,
    like result set which includes scheme of data, (collection of fields and types) ?
    does exist such a third-party libaries?
    evidently, such dynamic programming is used in almost every task ,
    using same and well known methods in pure programming languages (not WedDynPro)
    so  must they exist methods to automate such a big programming ?
    something useful
    Re: Table binding at runtime
    How to add columns in table at runtime?

  • How to implement Tool TIP in Table Control

    Hello Everyone,
    Can you please tell me how to implement a tooltip messages in table control columns.
    The Tooltip contains a simple message like "Doublde click on column.
    Thanks in advance.
    Edited by: Suruchi Razdan on Jun 6, 2011 7:57 AM

    Hello,
    In table Control->first Header Row has chance to maintain the Tooltip option.
    In table control columns maintain Double click options in attributes .
    Regards,
    Praveen

  • How to implement row level security using external tables

    Hi All Gurus/ Masters,
    I want to implement row level security using external tables, as I'm not sure how to implement that. and I'm aware of using it by RPD level authentication.
    I can use a filter condition in my user level so that he can access his data only.
    But when i have 4 tables in external tables
    users
    groups
    usergroups
    webgrups
    Then in which table I need to give the filter conditions..
    Pl let me know this ...

    You pull the Group into a repository variable using a session variable init block, then reference that variable in the data filters either in the LTS directly or in the security management as Filters. You reference it with the syntax VALUEOF("NQ_SESSION.Variable Name")
    Hope this helps

  • How to implement the shared lock in a  table view

    Hi,
    How to implement the shared lock in a  table view.for multiple users to edit on this same table.
    Thanks in advance
    Swathi

    Hi,
    Please refer this link to find solution to your querry.
    Hope it helps.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c322c690-0201-0010-fb86-811c52b0acc2.
    Regards,
    Rahul

  • How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table

    Hello,
    How to Implement Sort, Filter funtinality in Normal web dynpro ABAP Table ?
    Thanks

    hi,
    Check out this link for sorting in Table.
    Sorting option in WebDynPro ABAP UI Table
    steps to follow :
    ->Have the data in internal table (itab).
    ->Now use sort command for the particular column which ever you want to sort.
      e.g sort itab descending by <Column>.
    ->Now you can bind the internal table with the Context Node which is binded to Table.
    I hope it helps.
    Thanx.

  • How to implement extension for a mara table

    Hi All,
    Recently we appended mara table with couple of fields. But in order to make use of these two fields in all bapis and other functions how to add these fields to those bapis (i mean how to make extensions). Some where i read that we have to add these fields to BAPIPAREX. Can some body explain how to implement extensions.
    Thanks

    Actually i added these two fields to bapi_te_mara. But how this structure will be used in bapis with the help of extension in and extensionX tables in the bapi or example bapi_material_savedata.

  • How to implement copy functionality in advanced table

    hi all, i have a advanced table with some data populated, all the rows has a checkbox where the user can select the rows which he wants, my requirement is how to implement copy functionality, i,e i need to show the same set of rows which the user selected in the same advanced table. can any one give me an idea of how to do this

    You can copy the key of the selected rows to the copy page and based on those keys render the rows. On this copy page, once user commits after any modification to data, read those rows and save with new keys.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to tell embedded jinitator applet is still running when window closed

    Hello, we are trying to accomplish the same thing that is mentioned in this post from Metalink. I've searched for a solution and hope someone here can help. Instead of restating the issue I think David Wilson does a good job of explaining what is needed. Can anyone please suggest a possible solution?
    From: David Wilton 07-Oct-05 01:08
    Subject: How to tell embedded jinitator applet is still running when window closed
    How to tell embedded jinitator applet is still running when window closed
    Hi,
    We run an oracle 10g forms application through 9iAS over an intranet. All users are running windows 2000 professional.
    We run separate frame = true but I would like to switch to separate frame = false
    With separate frame = true if the user clicks the outer windows "X" close button (forms mdi window) the user is prompted to save changes before the application ends.
    BUT
    when using separate frame = false
    If the user clicks the upper window "X" button (no longer form mdi window but regular browser window) the window and application is abruptly closed.
    I'm interested in using a onbeforeunload function to confirm if the user wants to close the window. This would be placed in the basejini.htm file. This could always ask if the user wants to exit or not. If they click OK then the window closes but if they click "Cancel" you are returned to the forms application exactly where you left. something like event.returnvalue="do you really want to exit?";
    However if the user exited using the normal exit form method then the applet is already closed before the onbeforeunoad event fires and there is nothing to go back to and I want the window to close automatically. This is accomplished using close.html file in post forms trigger.
    So what I want and what I think many may also want is the check if the embedded applet is still running and if so prompt the user to return to the application or continue to close. Of course If the applet is no longer running then just close because there is no reason confirm closing anymore.
    Does anyone have a html/JavaScript solution that can be placed in the jinitiator.htm file? or similar?
    Thank you
    David
    [email protected]
    From: Andrew Lenton 07-Oct-05 08:58
    Subject: Re : How to tell embedded jinitator applet is still running when window closed
    I don't know if this is exactly what you are after but you can add the following to the top of your basejini.htm file and it should prompt the user before exiting the IE window.
    <BODY %HTMLbodyAttrs%>
    %HTMLbeforeForm%
    <SCRIPT>
    <!--
    window.onbeforeunload = unloadApplet;
    function unloadApplet(){
    message = "Warning! Please exit the Java Applet prior to
    exiting the browser"
    return message;
    //-->
    </SCRIPT>
    From: Oracle, mohammed pasha 07-Oct-05 09:55
    Subject: Re : How to tell embedded jinitator applet is still running when window closed
    David,
    Well I could not understand your complete requirement.
    Refer to Note.201481.1 How to Close the Browser Window When Closing Forms And How to Simulate SeparateFrame By Javascript
    Note.115905.1 How to Close Browser Window When Closing Webforms Applet
    Kind Regards,
    Anwar
    From: David Wilton 07-Oct-05 14:37
    Subject: Re : How to tell embedded jinitator applet is still running when window closed
    Thank you for your reply and yes you did not understand my question fully.
    Sorry if this is a long reply
    I am able to close the browser window using information in notes 115905.1 and 201481.1, this is not the issue. We implemented this several years ago. It is workable for both separate frame = true or false.
    It is most important to not allow the user to end their forms application by closing the windows browser, they must close using normal form exit commands.
    What I want is to have separate frame = false, the big drawback to this option is the user can exit the application and bypass all forms code by pressing the windows "X" close button. This is why we need the code as just provided by Andrew Lenton above in this thread.
    BUT Andrew's code will always prompt the user before closing the window and I do not want that. I want the user to be prompted only under scenario 2 listed below.
    Here's the 2 case scenario for exiting the application.
    1. If the user closes properly and uses exit form which fires all normal form triggers including post_form with it's call to close.html file.
    All uncommitted changes are saved or rollback and the users session is ended normally both on the database and in the application server.
    All browser windows will close, great all is good. And without Andrew's code the window will close but with Andrew's code the user will be prompted to close or not, if they select Cancel the window will remain but the applet has already ended so why prompt? ...This is what I want to avoid.
    2. In the forms app. if the user clicks the windows "X" close button with uncommitted changes. The browser just closes the changes are rollback without prompting the user to save. The users sessions are now lost and still running in the database and application server until they are timed out.
    If I use Andrew's code then the user will be prompted to continue to close or go back, if they click Cancel to go back then focus returns to the forms application and the user can continue to work. If the user clicks OK then the window closes and unfortunately their sessions are still lost until timed out.
    So what I desire is to add to Andrew's code to check if the embedded applet is still running and prompt the user to close or not accordingly.
    Something like:
    Basejini.htm like
    </HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    function maximizeWindow()
    window.moveTo(0,0);
    window.resizeTo(screen.availWidth,screen.availHeight);
    function confirm(){
    If(document.embeddedapplet.closed())
    Win.opener = self;
    win.close();
    Else if
    event.returnValue = "Closing Forms Application. OK to continue?";
    </SCRIPT>
    <BODY %HTMLbodyAttrs%, onload="maximizeWindow()", onbeforeunload="confirm()">
    %HTMLbeforeForm%
    I hope this explains my requirements.
    David
    From: Oracle, Evelene Raechel 10-Oct-05 06:45
    Subject: Re : How to tell embedded jinitator applet is still running when window closed
    Hi,
    Note.199928.1 How to Alert User on Closing Client's Browser Window in Webforms
    Regards,
    Rachel
    From: David Wilton 11-Oct-05 17:40
    Subject: Re : How to tell embedded jinitator applet is still running when window closed
    I'm sorry this is not helpful at all.
    Note 199928.1 is only an alert which does not stop the closing of the window and still displays as an alert if the user does close properly using exit form ... so why would you want to display the alert then?
    This is exaclty what I do not want and why I want to determine if the applet is still running before displaying any kind of message.
    David
    From: Oracle, Evelene Raechel 17-Oct-05 12:23
    Subject: Re : How to tell embedded jinitator applet is still running when window closed
    Closing thread.
    Thanks,

    Hello,
    I had the same issue last year - wanting to provide a warning on closing the browser, but only if the Forms session is still running. The approach I took is described below, see also the thread where I originally posted this at Closing brower window
    Hi there,I've had a similar requirement - or rather, the two conflicting requirements: to warn when the browser is being closed, but for the app to be able to close the browser without a warning being fired.
    To always provide a warning when someone (the user or the Forms app) tries to go to a different page (e.g. your close.htm), use Javascript like:
    function confirmExit(){
    if(appletRunning==true) {
    msg="Closing this window or navigating to another page will end your SomeGreatApp session.";
    window.event.returnValue=msg;
    And make a call to confirmExit() in the onBeforeUnload event of your main page.
    You'll notice I first check an 'appletRunning' variable before displaying the warning. This Javascript variable is set to true by my app when it starts up, using an embedded Javabean that calls out to Javascript. Once that variable is set to true, then the warning will be displayed if the user tries to shut the browser by clicking on the 'x' button, or to go to a different URL.
    When my app is shutting down, it uses the same Javabean to set appletRunning back to false. It then navigates to a close.htm - which will be done without a warning being displayed.
    See Re: How can a Javabean call Javascript function of the basejpi.html?? for example code on how to call Javascript from a bean embedded in your Forms app.
    Hope these ideas help you out, it's worked for me (so far, anyway!!)
    James

  • How to adjust table order in OBIEE.

    now i design logic model in admin tool. tableA join tablleB (tableA.id = tableB.user_id)
    after i design it, i drop tableA.id, tableB.user_id) into answer. then i check sql log in analytics web applications.
    the sql is like below, my questions is if i want to adjust table order i how to implement it ? "from tableA, tablleB" to "from tablleB, tableA"
    select tableA.id , tableB.user_id
    from tableA, tablleB
    where tableA.id = tableB.user_id

    up....

Maybe you are looking for