How to create image swap buttons

I'm not sure where to post this question, but it involves
images and was wondering if Fw is the place to start.
I want to create a retro car radio navigation for a web site.
Old push-button radios usually had an indicator that travelled
behind the numbers on the dial when you turned the tuner knob.
Then, you could set a button to go to a specific station on the
dial. My web site navigation uses an image of the radio on an old
dashboard. When the buttons are clicked, the click state shows the
button pushed in and the indicator shows above the pushed button on
the dial when the user is sent to that web page. The button remains
in its "pushed" state until another button is pushed, at which
click the previous button returns to its "out" state and the second
button clicked goes to the new page and shows its "pushed" state.
And so on.
I supposed there are multiple options to do this, but I'd
like your recommendations on the fastest. I don't know javascript
but I used to use ImageReady to do this and ImageReady would create
the script in the generated html. Will Fw do this? Or is there some
better way?
Thanks,
Jack

Yes, Fireworks will make menu bars, but there is a better
way. It is much better to use Dreamweaver or another Web
development tool, instead of a graphics application. Fireworks HTML
is recommended for mockups and prototypes. The code it produces is
fragile, very ugly and does not lend itself to future maintenance.
Use Fireworks to create your images, then use Dreamweaver or
similar to put together a robust and maintainable navigation menu.

Similar Messages

  • How to Create a Persistent button on the top HTML gallery

    Hi,
    In my InDesign Folio I have an article with full page HTML photo gallery. The photo grid occupies the full screen. I want to create a Persistent button on the top of this gallery which user can tap to go to the Main Menu page. This button is  always visible at one place even as user scrolls up and down the gallery. I tried creating it on the top layer, and on the top layer for Master page, but the button disapperas when the HTML gallery loads.
    So the user does not see any button to navigate out of the gallery to another article.
    Any ideas how to create the persistent button ?
    Thanks in advance.
    -MP

    Depending on if you are using the HTML as either an article or in an overlay, you may be able to either use the standard navto and goto hyperlinks syntax or place a blank button on top of your link in the HTML.
    I am not sure if using the standard navto and goto syntax will work between an HTML article and an Indesign article. Maybe Bob Bringhurst, Bob Levine, or one of the staff members can clarify. If you are using your HTML in an overlay, you can add a transparent button on top of your link or image to return to whatever page you like.

  • How to put images on buttons?

    I am currently working a project and need to mount an image onto a button, so when the image is clicked on it makes the button event work?

    set icons? , do i have to have the image in the same
    folder as where the code is saved? I have not been
    able to find any code showing how to apply images
    onto buttons on a GUI.Did you atleast read reply 2 and 4?Have you ever read the JButton API?There's no necessity that the image has to be in the same folder.You use have to specify the absolute path of the image when you create an instance representing it.

  • How to create user defined button in alv report

    how to create user defined button in alv report
    thnks in advance.

    Hi,
    U can define it the the PF-STATUS ( Menu for ALV ).
    For that u have to define it in the EVENTCAT.
    form z_eventcat  using    p_i_eventcat type slis_t_event.
      data: i_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type     = 0
        importing
          et_events       = p_i_eventcat
        exceptions
          list_type_wrong = 1
          others          = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      clear i_event.
      read table p_i_eventcat with key name = slis_ev_top_of_page into
      i_event.
      if sy-subrc = 0.
        move 'TOP_OF_PAGE' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
      read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
      if sy-subrc = 0.
        move 'SET_PF_STATUS' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
      clear i_event.
      read table p_i_eventcat into i_event with key name = slis_ev_user_command .
      if sy-subrc = 0.
        move 'USER_COMMAND' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
    And in the DISPLAY
    call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
         i_callback_program                = v_progname
         i_callback_pf_status_set          = 'SET_PF_STATUS'
         i_callback_user_command           = 'USER_COMMAND'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         i_grid_title                      = v_gridtitle
         i_save                            = 'A'
         is_layout                         = i_layout
         it_fieldcat                       = i_fieldcat[]
         it_sort                           = i_sortinfo
         it_events                         = i_eventcat
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        tables
          t_outtab                          = it_final
       exceptions
         program_error                     = 1
         others                            = 2
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *MENU SETTINGS.
    form set_pf_status using rt_extab type slis_t_extab.
      set pf-status 'ALV_MENU'.
    endform.                    "SET_PF_STATUS
    endform.                    " Z_EVENTCAT
    Now double click on ALV MENU nad u can create a button in the application bar.
    Regards,
    Pritha.

  • How To Create On Submit Button For Master_detail Page ?

    I have adf page that is master And detail view.
    i want to have one submit button for master and detail block

    Duplicate of  How To Create On Submit Button For Master_detail Page ?
    Please don'r post your question multiple times.
    Timo

  • How to create a radio button on OA Page using Personalization

    I am trying to create a radio button on OA Page using Personalization. The item style , I can see is Message Radio Group.
    How to create Message Radio Button and bring them under one group.
    Thanks

    You should use jdev to define a radiogroup and radio buttons under that, wrap that definition inside a stackLayout in jdev, use personalization to add a stackLayout and extend the region which you had created earlier in jdev.

  • How to create a custom Button in a SNP planning book

    Hi Experts,
    I created my own Planning Book and Dataview in SNP with 3 Key Figures: KF1, KF2, KF3. Now I want to create one my own button with Macro so that when I press that button, the Macro will run to calculate: KF3 = KF1 + KF2.
    I know that I can drag this Macro to one of default events like: Default, Level Change, Start. But actually, I want to create my own button so that I can handle the event as I want.
    My question are:
    1. How to create a custom button on the toolbar of SNP Planning book and writing macro for the button?
    2. Please give me any document, material teaching about writing macro and relating to my above scenario.
    Thanks very much!
    Duyennx
    Edited by: xuanduyen on Sep 6, 2011 9:20 AM

    Hi,
    Access the transaction "/n/sapapo/advm". In the list select your planning book/ data view and click 'Start Macro Builder' button.
    In the Macro builder screen, drag and drop your macro from Macro depot to the work area.
    Right click on your macro name and select 'properties'. In the pop up, next to the Assigned Push button field, there is a button 'Choose'. Click that. It will display all the available icons. In standard system, it displays more than 1000 icon. Choose any one icon which is suitable for your macro function. Close the pop up and save the macro. This will assign a push button to your macro.
    In the Planning book tool bar, you can see the selected icon in the header tool bar. Just by clicking that icon, you can execute the macro interactively.
    And I don't know whether we can include/design our own icon. But there are already 1000+ standard icons to choose.
    Regards,
    Manimaran M.

  • How to create a radio button in ALV Reports

    Hi all,
    Best wishes to all..
    Kindly reply me to this question... that is "How to create a radio button in ALV Report"
    Thanks and Regards
    Anjali

    HI
    here is an example :
    PROGRAM ZUS_SDN_BCALV_GRID_DEMO_2.
    Based on: BCALV_GRID_DEMO.
    TYPE-POOLS: icon.
    TYPES: BEGIN OF ty_s_sflight.
    INCLUDE TYPE sflight.
    TYPES: button1    TYPE lvc_emphsz.
    TYPES: button2    TYPE lvc_emphsz.
    TYPES: button3    TYPE lvc_emphsz.
    TYPES: button4    TYPE lvc_emphsz.
    TYPES: END OF ty_s_sflight.
    DATA:
      gt_sflight    TYPE STANDARD TABLE OF ty_s_sflight,
      gt_fcat       TYPE lvc_t_fcat.
    DATA: ok_code LIKE sy-ucomm,
         gt_sflight TYPE TABLE OF sflight,
          g_container TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT1',
          grid1  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container.
          CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-DATA:
          md_cnt    TYPE i.
        CLASS-METHODS:
          handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
            IMPORTING
              e_row_id
              e_column_id
              es_row_no
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
          CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_hotspot_click.
    define local data
        FIELD-SYMBOLS:
          <ls_entry>    TYPE ty_s_sflight,
          <ld_fld>      TYPE ANY.
        READ TABLE gt_sflight ASSIGNING <ls_entry> INDEX es_row_no-row_id.
        CHECK ( <ls_entry> IS ASSIGNED ).
      Set all radio buttons "unselected"
        <ls_entry>-button1 =  icon_wd_radio_button_empty.
        <ls_entry>-button2 =  icon_wd_radio_button_empty.
        <ls_entry>-button3 =  icon_wd_radio_button_empty.
        <ls_entry>-button4 =  icon_wd_radio_button_empty.
        ASSIGN COMPONENT e_column_id-fieldname OF STRUCTURE <ls_entry>
                                                  TO <ld_fld>.
        IF ( <ld_fld> IS ASSIGNED ).
        Set selected radio button "selected".
          <ld_fld> = icon_wd_radio_button.
        ENDIF.
      Force PAI followed by refresh of table display in PBO
        CALL METHOD cl_gui_cfw=>set_new_ok_code
          EXPORTING
            new_code = 'DUMMY'
         IMPORTING
           RC       =
      ENDMETHOD.                    "handle_hotspot_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
          MAIN                                                          *
      PERFORM select_data.
      CALL SCREEN 100.
          MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'MAIN100'.
      IF g_custom_container IS INITIAL.
        CREATE OBJECT g_custom_container
               EXPORTING container_name = g_container.
        CREATE OBJECT grid1
               EXPORTING i_parent = g_custom_container.
        PERFORM build_fieldcatalog.
        CALL METHOD grid1->set_table_for_first_display
         EXPORTING
           i_structure_name = 'SFLIGHT'
          CHANGING
            it_fieldcatalog  = gt_fcat
            it_outtab        = gt_sflight.
      Set event handler for event TOOLBAR
        SET HANDLER:
          lcl_eventhandler=>handle_hotspot_click FOR grid1.
      else.
        CALL METHOD grid1->refresh_table_display
         EXPORTING
           IS_STABLE      =
           I_SOFT_REFRESH =
          EXCEPTIONS
            FINISHED       = 1
            others         = 2.
        IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    ENDMODULE.                    "PBO OUTPUT
          MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      to react on oi_custom_events:
      CALL METHOD cl_gui_cfw=>dispatch.
      CASE ok_code.
        WHEN 'EXIT'.
          PERFORM exit_program.
        WHEN OTHERS.
        do nothing
      ENDCASE.
      CLEAR ok_code.
    ENDMODULE.                    "PAI INPUT
          FORM EXIT_PROGRAM                                             *
    FORM exit_program.
    CALL METHOD G_CUSTOM_CONTAINER->FREE.
    CALL METHOD CL_GUI_CFW=>FLUSH.
      LEAVE PROGRAM.
    ENDFORM.                    "EXIT_PROGRAM
    *&      Form  BUILD_FIELDCATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM build_fieldcatalog .
    define local data
      DATA:
        ls_fcat        TYPE lvc_s_fcat,
        ls_hype        TYPE lvc_s_hype.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
        I_BUFFER_ACTIVE              =
          i_structure_name             = 'LVC_S_FCAT'
        I_CLIENT_NEVER_DISPLAY       = 'X'
        I_BYPASSING_BUFFER           =
        I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      DELETE gt_fcat WHERE ( fieldname <> 'EMPHASIZE' ).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
        I_BUFFER_ACTIVE              =
          i_structure_name             = 'SFLIGHT'
        I_CLIENT_NEVER_DISPLAY       = 'X'
        I_BYPASSING_BUFFER           =
        I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE gt_fcat INTO ls_fcat
           WITH KEY fieldname = 'EMPHASIZE'.
      IF ( syst-subrc = 0 ).
        DELETE gt_fcat INDEX syst-tabix.
      ENDIF.
      ls_fcat-fieldname = 'BUTTON4'.
      ls_fcat-icon    = 'X'.
      ls_fcat-hotspot = 'X'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON3'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON2'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON1'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      LOOP AT gt_fcat INTO ls_fcat.
        ls_fcat-col_pos = syst-tabix.
        MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
      ENDLOOP.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  SELECT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM select_data .
    define local data
      DATA:
        ls_sflight    TYPE ty_s_sflight.
      SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE gt_sflight.
      ls_sflight-button1 = icon_wd_radio_button.
      ls_sflight-button2 = icon_wd_radio_button_empty.
      ls_sflight-button3 = icon_wd_radio_button_empty.
      ls_sflight-button4 = icon_wd_radio_button_empty.
      MODIFY gt_sflight FROM ls_sflight
          TRANSPORTING button1 button2 button3 button4
        WHERE ( carrid IS NOT INITIAL ).
    ENDFORM.                    " SELECT_DATA
    Regards,
    Prasanth
    Reward all helpful answers

  • How to create multiple toolbar buttons in jsp ?

    hi all,
    how to create multiple toolbar buttons in jsp ?
    plz help me

    mgmt
    plzhttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • How to create a custom button/ double button

    First of all I am relative new to
    Java 2D programming; therefore,
    I am seeking some help and advice of
    how to create a complex double button
    a big one which is responsible for
    the use case and a small one which
    will show some help text if pressed.
    | |
    | Use Case _____________|
    | / |
    | | Help Case |
    | | |
    \ | /
    A 3D effect should distinct and signify whether the Use Case
    button area or Help Case button area is pressed.
    I am looking for some example or best practice that
    explains to me how to create a double button
    so that it can carry or depict at least a:
    1) Title
    2) Subtitle
    3) Pictogram (Graphic Icon)
    4) Round or organic borders
    5) 3D effect
    Thanks in advance.

    What you are asking here is something complex enough that nobody is going to explain it to you in one forum post. We are talking about creating your own custom button component. I would suggest you check out the book [Filthy Rich Clients|http://www.amazon.com/Filthy-Rich-Clients-Developing-Applications/dp/0132413930/].

  • ZLM00: How to create the logout-button?

    LS.,
    I am creating my own LM00 screens which work fine. There is one button hat I still have to add: LOGOUT.
    Of course I can create the button and give it a functioncode, but what do I have to let it do to make the user logout?
    I tried functions like:
    EXIT, LEAVE TO SCREEN 0, LEAVE PROGRAM, LEAVE, RETURN, STOP, CALL TRANSACTION '/NEX'.
    Also I tried to debug the original LM00 transaction, but it is not debuggable using /h /hs or /he.
    I have also searched for function modules that log the user out, but did not find any.
    Anybody any idea how to create the logout-button?
    Best regards,
    Tim van Steenbergen.

    Got it.
    Functionmodule SAPGUI_SET_FUNCTIONCODE does some part, but only works for a dialogsession. When trying this on a scanner, it did not do anything because this interface does not have a transaction box to enter the functioncode in.
    The trick that worked was call 'SYS_LOGOFF'.

  • How to Create a radio button?

    How to Create a radio button with the label “Maintenance of RSDDTREXHPAFAIL tab".Once the user chooses this then there will two options –
    Create and Delete.Table has three fields.When user chooses the create button then it should create a new entry and delete should delete an entry. If the entry exist then create should overwrite an entry. There is no update.

    hi...
    the sample code below should help you .....
    parameters:Maintenance of RSDDTREXHPAFAIL tab radiobutton group grp1.
    this will create the radio button on the screen with  the lable required.
    now in the user command  of the screen ..
    PROCESS AFTER INPUT.
        MODULE user_command_0100.
    MODULE user_command_0100 INPUT.
    *assigning the sy-ucomm value to ok_code
      ok_code= sy-ucomm.
    *clear the sy-ucomm
      CLEAR sy-ucomm.
      CASE ok_code.
    *when user presses CREATE button
        WHEN 'PB_CREATE'.
        if  Maintenance of RSDDTREXHPAFAIL tab = 'X'.
          here write query to fetch data into the internal table
         and then use modify command to modify the database.
        endif.
    *when user presses CHANGE button
        WHEN 'PB_DELETE'.
       if  Maintenance of RSDDTREXHPAFAIL tab = 'X'.
          HERE write the delete query.
       endif.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100 INPUT
    <b>plz reward pts if helpful.</b>
    regards
    vijay

  • How to create a "next" button out of image

    Hi all.
    I'm new to Dreamweaver and have no idea what I'm doing!  I'm a designer and not familiar with code.
    I've managed to get this far: I've created a teamplate and am using it successfully on subsequent pages.  My snag is that I want to create a "next" button out of an image.
    One forum poster suggested taking page_1.html and page_2.html and inserting a link between them. I get this, but in order to do so, it seems I have to detach my individual pages from the template in order to directly edit them.  Can I then somehow reattach them to the template so that I can continue to make other changes on one page that will update throughout?
    Any suggestions to a VERY green newbie that does not include copying and pasting code?  Is there a way to do this in design mode?
    thanks
    B.

    UPDATE:
    Nancy and Jon - and all future searchers with this question, I have found the answers!!!
    Here goes:
    MAKING A SIMPLE NEXT/PREVIOUS BUTTON OUT OF AN IMAGE IN DREAMWEAVER FOR THE CODE-RETARED DESIGNER:
    - Create a template which includes buttons for NEXT/PREVIOUS. The buttons should be sliced from a Photoshop file, or created using Div tags in Dreamweaver (see Tutvid.com for these tutorials - very good). The buttons should also be in their own separate Divs.
    - Select the individual Divs containing the buttons (one at a time), not the images themselves.
    - Go to Insert>Template Objects>Editable Region.
    - Give one Editable region the name of NEXT and the other editable region the name of PREVIOUS.
    - Save template file.
    - Go to page_1.html and now those buttons are selectable.  Choose the NEXT button and go to the properties panel and grab the little pick whip icon which is right beside the Link box. Drag and hold the pick whip onto your files panel and select page_2.html.  Do the same for each page.  From page_2.html onward, you also do this for the PREVIOUS button, only you select the page that comes before it, not the one after it.
    Viola!
    I really hope this helps out all you code-challenged designers like me!  I've searched everywhere and lo and behold, it was as simple as this.
    Thanks to you, Nancy, for twigging me into selecting the Div and not the graphic itself.
    BellyBuckle.

  • How to create a splitted button with a popup menu?

    Hi,
    i am trying to build a button which can be clicked and an action is called (a normal button) and an addion to that basic function: there is on the right side of the button a seperated area with an arrow. If this arrow is clicked a popup menu becomes visible and you can choose a special action. This type of buttons (i don't know the name) can be seen by example in Eclipse or the Windows Media Player 11 or in Windows Vista).
    Here is an example image about what i mean: http://s2.imgimg.de/uploads/button56b4941cpng.png
    Can you tell me how to create a button with this possabilities?
    Please help me,
    greetings from germany,
    picard90

    hii,
    if you are want completed to define the Popup, then you have to define accesible areas,
    1/ create Popup (example from void)
    public void createPopupMenu() {
    JPopupMenu popup = new JPopupMenu();
    popup.addSeparator();
    ShowsManFxMenuItem = new JMenuItem("Show Details");
    ShowsManFxMenuItem.addActionListener((new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    //..some actions
    validate();
    repaint();
    popup.add(ShowsManFxMenuItem);
    MouseListener popupListener = new PopupListener(popup);
    //here is your listener directly to prepared object "yourButton"
    yourButton.addMouseListener(popupListener);
    2/ create POpupListener (example is class)
    class PopupListener extends MouseAdapter {
    JPopupMenu popup;
    PopupListener(JPopupMenu popupMenu) {
    popup = popupMenu;
    @Override
    public void mousePressed(MouseEvent e) {
    maybeShowPopup(e);
    @Override
    public void mouseReleased(MouseEvent e) {
    maybeShowPopup(e);
    //only in this block you can restrict anything with popup items (test anything and then to display all, only one, parts of them)
    private void maybeShowPopup(MouseEvent e) {
    if (e.isPopupTrigger()) {
    popup.show(e.getComponent(), e.getX(), e.getY());
    //these parts you can ingnore, but can covered extended events from popup
    public void actionPerformed(ActionEvent e) {
    JMenuItem source = (JMenuItem) (e.getSource());
    public void itemStateChanged(ItemEvent e) {
    JMenuItem source = (JMenuItem) (e.getSource());
    protected String getClassName(Object o) {// Returns just the class name -- no package info.
    String classString = o.getClass().getName();
    int dotIndex = classString.lastIndexOf(".");
    return classString.substring(dotIndex + 1);
    3/ I removed all my addition
    ... kopik

  • How to set images as buttons?

    Hi,
    I am trying to create a GUI in which each frame/panel has few buttons.I am able to put an icon in the button.Now please can u tell me how one can set an image as button?I am using netbeans to do the above.
    Thanku..

    tara_730 wrote:
    I am able to put an icon in the button.
    can u tell me how one can set an image as button?Does not compute. An Icon is an image, so if you can put one on a button, you're done. What are you trying to do, and what have you managed to accomplish, in detail.

Maybe you are looking for

  • Want to retrieve lost contacts, but as a reboot and not an Outlook sync

    Hope this makes sense. Wife and I are both iPhone users, but access iTunes on a PC for updates. This point, as you will see, seems relevant. When I want to add new music I have to add it to my folder and sync my entire music collection instead of jus

  • How to delete pics from foto library? anybody

    Hi all, I deleted all my pics from the filmrol in the foto app, but now i am trying to delete the pics wich are in my fotolibrary but i cannot find a way how to do this, anybody?

  • Error when exporting design file

    I get the follwing message when trying to export a design file. Anyone knows why? Failed: TypeError: Error #1089 Thanks!

  • Nilibddc dll: opening tdms files with corrupt index files

    Hi there, i have a question regarding error handling, when using the nilibddc.dll. I want to use nilibddc.dll to open .tdms files. At the time i'm experimenting with some error cases and got stuck in one case: When i try to open a .tdms file with a c

  • I don't understand how is calculate 21 Mpx for camera

    Hi, In characteristics for Xperia Z3, there is: camera 20.7 Megapixel camera with autofocus 2.2 MP front camera ISO 12800  When I take a picture from the front, the image is 1920 * 1080, = 2 073 600 pixels which not correspond exactly to 2.2 MP. But