How to implement the grid like this?

Dear All:
I have this grid view as following the sketch :
|DS1|DS2|DS3|DS4|
|------|------|------|------|
|sss |sss |sss |sss |
|sss |sss | sss |sss|
| -----|------|------|------|
|DS5|DS6|DS7|DS8|
|------|------|------|------|
|sss |sss |sss |sss |
|sss | sss|sss| sss |
Note:
1. the border is solid line and "sss" represents white space.
2. might have multiple rows or columns like this pattern.
3. smaller cells are labels and bigger cells are filled with a few different colors
4. when hovering mouse on each bigger cell, the tool tip text will be shown.
5. sizes of the cells are fixed and not changed when the container is resized.
Any clue for implementation? I appreciate all for reply.
Johnosn

Use a JTable. If your data is algorithmically derived, consider implementing your own TableModel. You may need to implement your own TableCellRenderer.

Similar Messages

  • How to implement the function like this?

    I'm sorry, don't know why the previous post was approved then deleted.
    User visit http://aa.com/show?id=1  then the player plays 1.swf
    User visit http://aa.com/show?id=2  then the player plays 2.swf
    User can only see the url id, but can't see which swf is played.
    Should I build a FMS server and a player embed in the browser? Thanks,

    it disappeared because both links are for the same american arilines page which makes it appear as if you're posting spam on behalf on aa and your question is only superficially related to flash.
    anyway, to use query strings to determine what to show on a web page (or which web page to show), the window.location string contains the full url.  among the ways you can use that to retrieve the query string is:
    <script>
    var qs=window.location.substring(window.location.indexOf("?")+1);
    if(qs=='id=1'){
    //window.location=embedding html for 1.swf
    } else if(qs=='id=2'){
    //window.location=embeddign html for 2.swf
    </script>

  • How to get the output like this in a single sql

    input is
    2 date range
    output is
    date week
    01-01-2000 1
    08-01-2000 2
    31-12-2000 54
    06-01-2001 55
    so on

    with sample_table as (
                          select date '2000-01-01' from_dt, date '2001-01-06' to_dt from dual
    select  to_char(from_dt + level - 1,'dd-mm-yyyy') dt,
            ceil(level / 7) week
      from  sample_table
      connect by level <= to_dt - from_dt + 1
    DT               WEEK
    01-01-2000          1
    02-01-2000          1
    03-01-2000          1
    04-01-2000          1
    05-01-2000          1
    06-01-2000          1
    07-01-2000          1
    08-01-2000          2
    09-01-2000          2
    10-01-2000          2
    11-01-2000          2
    01-01-2001         53
    02-01-2001         53
    03-01-2001         53
    04-01-2001         53
    05-01-2001         53
    06-01-2001         54
    372 rows selected.
    SQL> SY.

  • How to implement the Export to Excel funtionality in VC like in Webdynpro

    Hi
    I have requirement to display the BAR charts, Pie charts ,Line graphs based on the data retreiving from the R/3 thorgh VC.
    I hope it is possible .
    i have requirement like exporting the data whichis pulled from the R3 to display those charts, this data need to be exported to the Excel sheet by providing the button in VC. Like same way we have the privision in WEbdynpro exporting table data to excell sheet.
    How to implement the same thing in VC,
    Can any body help me
    Regards
    Vijay

    1) yes, it's possible
    2) Another one that's in the Visual Composer WIKI:
    https://wiki.sdn.sap.com/wiki/display/VC/Exportingdatafrom+VC

  • How can I put a music link in the page like this?

    How can I put a music link in the page like this?
    http://members.aol.com/trumanj/midi/tjsragtime.htm
    Thanks

    Hola JB
    No, I haven't...I'm trying to learn flash and it's been keeping me very busy...maybe it's the age..
    Len, I been trying to do it that way, but, as I just mention, Flash don't like me :)
    Thanks, I will do that for sure.
    Daniel Ulysses

  • HT201441 I found a phone that had been stolen, so I asked apple id to its original owner she said that she had forgotten and replace the apple id, how to solve a problem like this?

    II found a phone that had been stolen, so I asked apple id to its original owner she said that she had forgotten and replace the apple id, how to solve a problem like this?

    Send the original owner this link.
    (120249)

  • How to implement the spell check in oracle forms 10g or 6i...

    How to implement the spell check in oracle forms.
    Is there any different method is there.
    Please help me....
    Praveen.K

    Here is one different from Jspell..
    In 6i client/server you can call MS Word spell checker using OLE. Below sample code for 6i.
    For 10g you will need webutil to use same code. install webutil and just replace "OLE2." with "CLIENT_OLE2."
    PROCEDURE spell_check (item_name IN VARCHAR2)
    IS
       my_application   ole2.obj_type;
       my_documents     ole2.obj_type;
       my_document      ole2.obj_type;
       my_selection     ole2.obj_type;
       get_spell        ole2.obj_type;
       my_spell         ole2.obj_type;
       args             ole2.list_type;
       spell_checked    VARCHAR2 (4000);
       orig_text        VARCHAR2 (4000);
    BEGIN
       orig_text := NAME_IN (item_name);
       my_application := ole2.create_obj ('WORD.APPLICATION');
       ole2.set_property (my_application, 'VISIBLE', FALSE);
       my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
       my_document := ole2.invoke_obj (my_documents, 'ADD');
       my_selection := ole2.get_obj_property (my_application, 'SELECTION');
       ole2.set_property (my_selection, 'TEXT', orig_text);
       get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
       ole2.invoke (get_spell, 'CHECKSPELLING');
       ole2.invoke (my_selection, 'WholeStory');
       ole2.invoke (my_selection, 'Copy');
       spell_checked := ole2.get_char_property (my_selection, 'TEXT');
       spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
       COPY (spell_checked, item_name);
       args := ole2.create_arglist;
       ole2.add_arg (args, 0);
       ole2.invoke (my_document, 'CLOSE', args);
       ole2.destroy_arglist (args);
       ole2.RELEASE_OBJ (my_selection);
       ole2.RELEASE_OBJ (get_spell);
       ole2.RELEASE_OBJ (my_document);
       ole2.RELEASE_OBJ (my_documents);
       ole2.invoke (my_application, 'QUIT');
       ole2.RELEASE_OBJ (my_application);
    END;Call it like this: SPELL_CHECK ('BLOCK.MY_TEXT_ITEM' );

  • In XI ,file on application sever  how to do the scenario like file to idoc?

    hi experts,
    In XI ,file on application sever  how to do the scenario like file to idoc?
    thanks in advance
    gupt

    Hi gupta  ,
    The following are excellent websites giving step-by-step solution to solve u'r problem:
    How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    IDoc Packaging and Mapping Techniques
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    check this blog
    Idoc File -> SAP R/3 packaging
    How ToConfigure IDoc Adapters
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    Troubleshooting File-to-IDOC Scenario in XI.
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • How to implement the schema validation with XSD in adapter module

    Dear All,
    I am trying to develop a EJB as the file adapter mudule.
    Please guide me how to implement the schema validation of the source message with XSD.
    Or provide me the relative resources about this task.
    Thanks & Regards,
    Red
    Edited by: Grace Chien on Nov 19, 2008 8:23 AM

    Hi Grace,
    You can do the xml scema validation in PI7.1 version directly.
    To develop the adapter module for xml schema validation
    Validating messages in XI using XML Schema
    Schema Validation of Incoming Message
    Regards
    Goli Sridhar

  • 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 the Internationaliztion in VC

    Hi All,
    How to implement the Internationalization in VC. Based on the Portal user Lanugauge attribute. how to implement .? Is it possible to implement the Internationalization , changing the  displaying label data and Title names in VC application.
    Regards
    Vijay

    Hi Vijay,
    I think this help-entry should answer all your questions:
    Preparing iViews for Portal Translation:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/48e7428d877276e10000000a1550b0/frameset.htm
    If you have further questions, don't hesitate to ask!
    Regards,
    Christian
    don't forget the points

  • How to implement the search help exit to MM01 for Material by product hiera

    Hi,
    How to implement the search help exit to MM01 T-code for Material by product hierarchy,
    but system default it gives the data from MVKE table, my client wants from MARA table,
    i created the one Function Module, write this code in that FM.
    IF CALLCONTROL-STEP EQ 'DISP'.
    REFRESH RECORD_TAB.
    SELECT * FROM MARA INTO TABLE RECORD_TAB
    WHERE PRDHA = 
    ENDIF.
    I Face the problem what variable i have to pass in WHERE CONDITION, FROM THE MM01 T-code.
    is't require to IMPORT variable from MM01 program, what is that import variable, please give me the solution.
    thanks to all.

    Hi there..
    check my web blog on search help exit...
    [Search help exit code|https://wiki.sdn.sap.com/wiki/x/du0]

  • How to implement the pessimistic locking using toplink with sybase

    we want to allocate the unique primary key to each row when many user try to insert the records concurrently..So what we are trying to do is we calculate the maximum of Primary Key and incremented it by 1. Now we want to Apply the locking concept on the so that unique key will be allocated to each newly inserted row
    Can you please tell me
    1. how we can genrate unique primary key in toplink using sybase?
    2.how to implement the pessimistic or optimistic locking ?which one will be preferable?

    Hi brother
    I think that this link can help you
    http://download-east.oracle.com/docs/cd/A97688_16/toplink.903/b10064/database.htm#1007986
    Good luck

  • How to make an avatar like this,

    Hello Adobe Community, i'm new here, i have a big question. I want to know HOW to make an avatar like this:
    I want to know how to do that effect that who zoom in and zoom out etc. WITHOUT SNOWING, only that effect, if you can help me please!
    That zoom effect is AWESOME... send me a tutorial please!

    I thought you said you knew how to make animated gif.  A frame is the composite of the layers that have their visibility on for the frame a frame may be made using many layers. You use tools and filters on layers.You make frame using layers.
    Photoshop also supports any size layer. Layers can be  larger the canvas size can have image data out side the canvas.  Layer image data position above can be move relative to the canvas.  The Cloud logo animation has two layer one is masked is masked the mask is not linked to the layers image data it stationary over the canvas and is more on less a masks more foe the background canvas then the layer its on. The layer it is on image data is more off canvas then over canvas. Photoshop also notes layer position in a frame information, A layer potion can be change from frame to frame. I only create two frame for that animation.  The first and last frame, The first frame I had the top late image JJMACK high and off canvas to the left.  The last frame had it low and off canvas to the right. I then had Photoshop generate 138 frames between the two frames I created.  So Photoshop moved the top layer position across the canvas  left to right and high to low direction and the stationary layer mask masked it as if it were going through the background layers clouds.  The two layers are visible in all frames.

  • How Could I Make Something Like This.

    http://www.youtube.com/watch?v=vlRdjAwEzbU
    I Am Wondering How I could make something like this in AfterEffects CS4.
    Any Help Would Be Appreciated.

    dx394 wrote:
    Is There A Tutorial Anywhere About It?
    You could contact the animator or whoever posted the clip.
    Deconstruct the sequence. observe the moves and decide, with your present level of familiarity, how you would approach it. Scaling of the ten or so different layers is simple enough but acquiring the contents of the layers is not something you will do in AE.
    As Todd says, start small, figure it out one step at a time, move on to more advanced functions. Animting 3D layers is 9 times more difficult than 2D. when you add lighting and camera moves you raise the complexity level and rendering time to another power making your project about 27 times more difficult.
    bogiesan

Maybe you are looking for

  • Transferring PC library to MacBook Pro help

    Hi! I have an extensive library of both burned and purchased tunes stored in my home PC I-Tunes library. I have recently purchased an MacBook Pro laptop and when registering my I-Tunes account, not all of the music appeared in the library - in fact a

  • XSLT Mapper with BPEL??

    Hi there - I was advised by PeopleSoft tech support that JDeveloper contained an "XSLT generator" where you could put two XML files side by side and drag & drop fields between them to generate XSLT automagically. Turns out this is NOT included in JDe

  • Adding a folder splits tracks into new folder and artist folder of the same

    Ello all, I have an artist already in i-tunes, there are two tracks on one album. The same artist has sent me two more tunes which make up another album. When I go FILE>add folder to library and select that folder/album it puts the album folder into

  • Exporting data in tables to an Excel spreadsheet?

    Is there a script or another way to export or save a documents tables (multiple tables over several pages) to an excel spreadsheet? I have found a solution which involves exporting each spread as a html file which i can then open straight in excel bu

  • Ld.so.1: vi: fatal: relocation error: file e: symbol cur_term: referenced

    I got this message when i tried to install remedy on Solaris 7. T ld.so.1: ex: fatal: relocation error: file ex: symbol cur_term: referenced symbol not found Killed Then i took advices from others and set the LD_LIBRARY_PATH to "/usr/openwin/lib:/usr