How to display image when we click the mouse.

Hi i am new java programming . And i need your help to slove my problem.
I am asked to write a program which displays 2 images in a window.And when i click any one them ,that image should be displayed in a new window in full screen.Any kind of help is appreciated.Thanks in advance.

We'd be glad to help, but first our prerequisites are that you post your current code and ask a very specific question concerning this code. These questions are answerable while "And i need your help to slove my problem." aren't. They're too overly broad to pin down.
Much luck!

Similar Messages

  • Now that I've upgraded to Lion, about 50% of the time when I click the mouse it acts as if I've right clicked.  How do I get back to the way it was?!

    I am working on two macbooks and an imac.  I upgraded all the software last weekend and am now running all three computers on Lion.  Over the last week, about 50% of the time when I click the mouse (whether it be the "pad" mouse on the macbooks or the standard mouse on my imac) it acts as thought I've right-clicked.  How do I stop this insanity?!  I want my old no-right-click mouses back!
    Thank you for any guidance!
    Jennifer

    Try this,
         Go to to the Trackpad System Preference and look at the Point and Click tab.  
         Uncheck the box that says "Tap to Click"
    I found my track pad to be way too sensitive and I was finding myself in web pages I did not choose to go to.  Unchecking that box will make it so you have to press the track pad to make it click something as opposed to just tapping it.  It is more effort but also less sensitive to random taps.
    Jay

  • How to Display a Calender upon clicking the dropdown list inside a table co

    Hi,
    I have a Listbox inside my table control and I need to Display a Calender upon clicking the dropdown list.
    Can any body help.
    Srinivas

    Hi,
    Try this:
    On your customizing screen,
    PROCESS ON VALUE-REQUEST.          
        Field T_ZT-SDATE
          module create_dateselect.
    In your main program:
    module create_dateselect.
    data:p_date like sy-datum.
    CALL FUNCTION 'F4_DATE'
       EXPORTING
         holiday_calendar_id = 'CN'                   
         display = ' '
       IMPORTING
         select_date = p_date
       EXCEPTIONS
         OTHERS = 4.
    t_zt-sdate = p_date.
    endmodule.
    Regards,
    Pole

  • Why does the hand tool come up when I click the mouse?

    I am a very knowledgable individual of InDesign but this is a stumper. I cannot use any single tool that I have. When I press the buttons on the side, for instance the text tool, the image that should appear for the cursor does, but once I click the mouse, the hand tool comes up and drags my page around. This is even when the hand tool is not even selected. I am not pressing any buttons on the keyboard or anything, this is quite frusterating. I am trying to do this job and can't even edit previous files or make a new one. Should I reinstall, or what? Please help!! Thank you.

    What Al said (Hi, Al -- long time no see!).
    Here's a link for CS4: Adobe InDesign CS4 * Setting preferences
    Be sure to read everything, including comments.
    Similar link for CS3: Replacing InDesign Preferences

  • How to display image from wamp if the data type i use is blob?

    please help me with the problem of displaying image from wamp if data type is blob. Thanks

    Don't store the images in the database. Store the image file names in the database and put the images in a folder.

  • The USB ports on my iMac work fine in some locations, but if the iMac is in my office, nothing happens when I click the mouse.

    The USB ports on my iMac (purchased in 2013) were working fine.  Suddenly, clicking my mouse elicits no response.  When I move the iMac to the Apple store, it works fine -- and it works fine in other rooms in my house.  Why won't it work in my study?

    Have you tried plugging the mouse into another USB port on your Mac?  Try gently wiggling the connector at each end of the calble while trying to use the mouse.
    OT

  • How to display images for right click menu items

    I am trying to display some image to the left of my right click menu items.I have searched the help but did't find anything wich can add an image to the menu items. If anyone knows how to do it, Please share 
    Thank to all.
    If you are young work to Learn, not to earn.

    Hi Mr,
    you should have searched the topic 'Programming with Menu Bars'
    Use the ATTR_SHOW_IMAGES attribute to add a column in the menu in which images can be placed. Then use the ATTR_ITEM_BITMAP attribute to specify an image to use for a submenu or menu item

  • While using Firefox when I click the mouse or when typing like this I get the Mac spinning color wheel and any action is delayed about 10 seconds.

    I'm on an iMac, 10.4, Firefox 3.6.20 and the problem is occurring with greater frequency. When I installed 3.6.20, it ran perfectly for a short time, but now the spinning color wheel happens on almost every mouse click and it makes using Firefox an impossibility. I tried the Apple installed Safari and had no difficulties. It does not occur when I use Thunderbird 2.0.0.17 either. I will appreciate any help because I rely on Firefox. Thanks.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js [3] files with a number and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js
    * [3] http://kb.mozillazine.org/Multiple_profile_files_created

  • Tracks are panning to the right alone when I click the virtual keyboard

    Hello,
    This is a very weird problem I think. It started happening sometime ago and I really have no idea how to fix it: When I click the virtual midi keyboard multiple times, the track start panning to the right alone. Does anyone have an idea how to fix this?
    Thank you a lot

    Hi
    You should find these in the User Home folder library (which is hidden by default in Lion):
    1) In the Finder, use the Go menu whilst holding down the Option (Alt) key... the Library will appear in the 'Go' menu.
    2) Navigate to (<user>):Library:Application Support:Logic:Project Templates
    You should find the ones you are looking for in there
    HTH
    CCT

  • I am trying to create a button in flash that will display 4 separate images at the same time when clicked.  I can't get the images to stay on when I take the mouse of the button.  I need the actions script code to make this happen.

    I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time.  I can get the images to appear when I click the button but they will not stay on the screen.  I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code.  It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
    Thank you in advance
    AP

    It is not clear how you are trying to realize this from your description.  If you are trying to create this within a button symbol it will not work.  Explain your approach and if there is code involved, show what you have so far.

  • How does this happen: The picture of recent apps you get when double clicking the home button showed in Settings-Wifi that I had been connected to a network I have not been near for two months. Its not a recent "image" of Settings-Wifi. Can anyone explain

    How does this happen: The picture of recent apps you get when double clicking the home button showed in Settings-Wifi that I had been connected to a network I have not been near for two months. Its not a recent "image" of Settings-Wifi. Can anyone explain?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • How do I change the Latest Headlines bookmark from BBC to RTE so that similar options are displayed when I click the icon?

    I want to change the Latest Headlines bookmark to RTE and have similar options re. articles pop up when I click the icon. I've tried right clicking and changing the site location but nothing changes.

    You can visit the RSS Feed site of RTE and subscribe to that feed to create a bookmark:
    http://www.rte.ie/rss/news.xml

  • What should I do if the iphoto keeps on saying that "Plz wait for import to complete" when i click the close button but it is not importing photos? How can I close the iPhoto? I try to switch my mac off but it doesn't work. Thanks.

    What should I do if the iphoto keeps on saying that "Plz wait for import to complete" when i click the close button but it is not importing photos? How can I close the iPhoto? I try to switch my mac off but it doesn't work. Thanks.

    You should be able to select Force Quit from the menu beneath the Apple icon in Finder
    and choose to Quit iPhoto from there, without messing up the Mac OS X in the process.
    OS X - Support
    Not sure if rebuilding the iPhoto library would help this issue. However if you had to
    turn off the computer without the correct method (unplug, etc; instead of menu choice)
    the system may have accrued damages and should be checked, maybe repaired by
    use of the Disk Utility in the system. Or restart the computer in Safe Boot mode, then
    run 'repair disk permissions' while it is running in that reduced mode; then restart after.
    •Understanding Safe Mode - tuts+ computer skills tutorial:
    http://computers.tutsplus.com/tutorials/understanding-safe-mode--mac-59897
    •OS X: What is Safe Boot, Safe Mode?
    Suggestions on how to use Safe Mode in article, to resolve issues, may be helpful.
    There likely are other means to rectify troublesome applications, including reinstall.
    Be sure to backup your music, image, video, and other work on an external drive
    or suitable device as a precaution against loss should there be a hard drive failure.
    iPhoto - Mac Apps - Apple Support
    There should be some tips and help information using iPhoto via this tiny Support link.
    Good luck & happy computing!

  • When I click the launchpad, (I have icons on 2 pages) how do I return to the 1st set when the system seems to automatically shift to 2nd page?

    When I click the launchpad, (I have icons on 2 pages) how do I return to the 1st set after the system seems to automatically shift to 2nd page?.
    I'm not aware of anything I might have done, but it's annoying to want to use an icon on the 1st page, only to see all the icons on page 1 shift rapidly to the left
    and I can't find a way to shift back to page 1.
    Is there a way of getting all my Launchpad icons onto 1 page by adjusting their size?

    Thanks for that. I think the 2 little white dots were hidden by the white frame round the desktop picture on my screen
    As you can see from the pic, there is a broad white frame around the image.

  • How to display records when clicking button in alv

    I am using screen painter to create two buttons
    'classical' and 'alv'.
    When i click the first button control should move to
    corresponding classical program.Evan i got the answer
    I am not able to display the "select-options button" in the
    output as in classical report program.
    It displays all records instead of selecting particular records from select-option button.
    So how to display the select option button(i.e in the classical view program) while "clicking the classical button " .
    plz send me the coding....

    hi,
    try this.
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
                     VBELN FOR V_VBELN MODIF ID G2.
    SELECTION-SCREEN END OF SCREEN 100 .
    PAI.
    module mod_name.
    case sy-ucomm.
    when 'BUTT!'.
    call selection-screen 100.
    when 'BUTT2'.
    """"your ALV logic"""".
    endcase.
    endmodule.
    if...any doubts revert back.
    Regards
    Sandeep Reddy

Maybe you are looking for

  • How to find out whether a program is running in Hyper-V virtual machine or not?

    If I want to make a program which only running in Hyper-V virtual machine, how can I find out whether the program is running in Hyper-V  virtual machine or not?

  • Refresh Choice List in an af:query

    Hi, I have several tabs in my application and on one of them i can update a list of value that is used in other tabs to query on view criterias. The VO that is used for the LOV is in a Shared Application Module so i created a button to call a functio

  • Error when use Bean in JSP... Help!

    -- JSP File -- <%@ page import="com.puppet.javabean.database.DBBean" %> <jsp:useBean      id="connectionPool"           scope="application"           class="DBBean" > <jsp:setProperty     name="connectionPool"           property="Driver"           pa

  • Adding an error to the ActionError in struts

    In my application I am trying to add an error message to an ActionError. That message is in a String varibale , how do i add that,if it is an hardcoded message it works fine. here is my code String errormessage = (String)detailids.get(1); errors.add(

  • Names of some viruses

    i just wanted to know some names of some viruses which infect n-series. and what effect they have on ur phone. At last a nseries phone im truely happy with THE N82