I can't think of any programs to write...

In case you need to know where I'm at. I've just gotten to the Handling Events chapter in Ivor Hortons book, Programming in Java 2, jdk1.3 edition.

You can start with simple drawing program as everybody does. You can put a lot of events there:
radio buttons for changing colors,
mouse events for drawing,
list events for choosing thickness.
Just everything. Try to develop imagination: very useful for future programming.
Actually, best thing is to get book with excercises in it, like Deitel "Java how to program". You can find a lot of helpful ideas there. Other way around, go to any university website and read homework assignments in programming courses. They are of course not that inspiring but might prove helpful.
Regards

Similar Messages

  • Can U Think of Any Situation Where U Find VENDOR Info. Populated for a STO?

    Hi,
    Can you think of any situation where you will find VENDOR information populated for a STO moving stock from a Plant to Store under the same company code?
    I got an error ("Enter goods for vendor XXXX only") and this was triggered by the fact that one STO had vendor information in the delivery document. The outcome of this was that every STO beneath this STO could not be GR, but every STO before and including the STO were GR without any issues....
    Your response is higly appreciated..
    Thanks

    SegeTx,
    I am not sure exactly what you mean when you say "Vendor information populated for an STO".  Is this a UB STO?
    Tell me exactly what transaction you are performing, and the data you are entering, when you get the GR error.
    Generally, when you set up master data for a STO, you have to assign a vendor to the plant. It is possible that somehow the source plant has become un-assigned from the vendor.   WB03, clik past any warnings, enter the plant.  In the upper right corner, there should be a vendor.  If nothing is there, then you have to re-assign the vendor to the source plant.  MK02 enter the vendor you wish to assign to the plant, and the purch org you should use for the STOs.  Execute.  Select  extras > addl purch data.  enter the plant.  Save.
    Best Regards,
    DB49

  • How can I use a Java program to write an executable Applescript

    I'm using a PC with Windows XP. I'm a private developer. I've written a project in Java and wish to deploy it to other people using email. I've written an Install program (the Main-Class) and successfully packed this in a jar file with the project class files and some data files all as described in the deployment trail in the Java Tutorials. A recipient with a Mac with OS X downloads the jar file and runs it to install the project class files and some data files. The install program then writes an Applescript file (Vocab.scpt shown below) on the Desktop to make starting my downloaded program easier but it doesn't seem to work and I think it may be because the script file is not "executable". Could this be the case? If so, how could I change my install program to make the script file executable or alternatively use some other system to start the downloaded program?
    Vocab.scpt:-
    # Script to start: Vocab Version: 1.0.0
    do shell script "cd /Applications/Vocab; Java Vocab"
    Many thanks for your interest. Unfortunately I don't have a Mac to experiment with this problem and although I have spent some days on and off trying to find an answer in the mass of information available on Apple's website I can only find small clues here and there to answer my problem (which I would have thought was quite a common one). In Windows a batch file (eg. Vocab.bat) is automatically executable.

    I didn't expect you to have your customer run the command. I would expect you to create the executable and install it. However, there wouldn't be any difference in what you are creating and the .jar file. Either way it is a faceless icon. For that matter, it is no different than a batch file on Windows. I'm not sure what they wouldn't understand with, "copy the Vocab.jar file to wherever you want and double-click it to run the program." In addition, you probably ought to point out that Java is not installed on Mac OS X Lion (10.7.x) and when they double-click the jar file (or whatever you send them), the system will ask if they want to install Java.
    What you really need to do is package up the app inside a Mac application package and provide the user with the application on a .dmg (disk image). Take a look here: http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Jar_Bundle r/Introduction/Introduction.html#//apple_ref/doc/uid/TP40000884
    I also found this which uses ANT to create the bundle: http://informagen.com/JarBundler/

  • Can't burn with any programs

    Hi everybody,
    as many of you, i can't still burn using iTunes or finder or any other software( also using an external drive).
    I've tried to repair permits, delete preferences,re-install programs, reset nvram or using different accounts.
    Could someone give any other ideas?
    Thanx a lot,
    Andrew

    Hi everybody,
    I've read in another apple post that this problem could be caused by the superdrive firmware update made last summer on my iMac , during Tiger period.
    I've got also a MacBook with Leopard 10.5.1 and burning works perfectly.
    Backing to Tiger on Imac, everything is ok....but this is a great defeat....
    Andrew

  • Example of creating  ALV double click event that can be used in ANY Program

    Once you get the hang of OO you can really create useful generalized code that can be used in a huge number of situtations.
    Double click on ALV is often wanted
    Right  here goes to implement a generalized double click action that returns the row, column and column name back to the caller.
    In your CLASS  in the DEFINITION part code as follows.
    CLASS zcl_dog DEFINITION.
    PUBLIC SECTION.
    METHODS:
      constructor
          IMPORTING       z_object type ref to zcl_dog,
                         i_parent     type ref to  cl_gui_custom_container,
    PRIVATE SECTION.
    on_dubbelklik FOR EVENT double_click OF cl_gui_alv_grid
          IMPORTING e_row
                    e_column
                    es_row_no,
    dubbleklik
          IMPORTING
                     e_row  type  LVC_S_ROW
                     e_column   TYPE LVC_S_COL
                     es_row_no  type lvc_s_ROID
                     program type sy-repid.
    code here any extra any methods you need.
    In the CONSTRUCTOR method of the implementation
    CLASS zcl_dog IMPLEMENTATION.
    METHOD constructor.
       CREATE OBJECT grid_container1
           EXPORTING
                   container_name = 'CCONTAINER1'.
        CREATE OBJECT  grid1
            EXPORTING
                  i_parent = grid_container1.
        SET HANDLER z_object->on_user_command for grid1.
        SET HANDLER z_object->on_toolbar for grid1.
        SET HANDLER Z_OBJECT->handle_data_changed_finished FOR grid1.
        SET HANDLER Z_OBJECT->on_dubbelklik FOR grid1.
    endmethod.
    METHOD on_dubbelklik.
    CALL METHOD me->dubbleklik
    exporting
                     e_row  = e_row
                     e_column =  e_column
                     es_row_no = es_row_no
                     program  = sy-repid.
    break-point 1.
    method dubbleklik.
      perform dubbleklik IN PROGRAM (program)
        using
        e_row
        e_column
        es_row_no.
      ENDMETHOD.
    endclass.
    This will now perform a routine called dubbleklik  in your application program whenever you double click a cell in the grid.
    In the application program just code the following
    DATA:  z_object type ref to zcl_dog,  "Instantiate our class
           grid_container1 type ref to cl_gui_custom_container,
    CREATE OBJECT z_object EXPORTING z_object = z_object.
    call ANY method in the class  which eventually displays the grid
    CALL METHOD z_object->build_dynamic_structures
            CHANGING it_fldcat = it_fldcat.
    form dubbleklik using
            e_row   type LVC_S_ROW
            e_column type LVC_S_col
            es_row_no type lvc_s_roid.
    break-point 1.
    endform.
    When you double click a cell you'should be at the break point in your routine in the application program.
    You've got the cell that was clicked so by reading your table you can examine the data and take the appropriate action.
    Cheers
    Jimbo

    I suggest you purchase a case and have a dedicated support engineer work with you directly:
    http://www.sdn.sap.com/irj/boc/gettingstarted
    Or
    http://store.businessobjects.com/store/bobjects/Content/pbPage.CSC_map_countyselector/pgm.67024400?resid=jFmmLgoBAlcAAALO-iYAAAAP&rests=1278687224728
    If this is a bug you'll get a refund, if not post your enhancement request in the Idea Place. Or the Rep will suggest a better way to create your report.

  • "Download Error" - Can't download/install any programs.

    I downloaded CC on my Win 8.1 machine (after a windows crash and upgrade to 8.1).  Previously it was working fine (on Win 8).  Now the CC desktop app connects to my account but the Apps tab has a red exclamation error and when you click the tab it says "Download Error."  and to "Please contact customer support."  (See below:)
    Apparently this seems to be a prevalent issue as I see multiple threads and support requests with this same error.
    I got on Chat and followed all the troubleshooting advice, uninstalled, reinstalled, used the Removal tool, deleted folders from the AppData locations, everything.  Finally was getting ready to do something else and the Adobe server disconnected my chat session. 
    I know it is not MY internet connection because everything else is up and running fine, including streaming radio progams and other chat programs.
    I tried visiting something on Adobe's siteand received the following error:
    So what is going on Adobe?  I need to get my programs back so I can get back to work.
    Edited to add - After another hour of being on chat support I got disconnected again.  Same error:  "Sorry, we're having technical difficulties."

    So after four hours and dozens of troubleshooting issues, I figured out what was wrong.  I am on a fixed-wireless system at home.  I have used this same system and network setup in the past for CC.  My average DL speeds are 2.0 Mbps.  Not super fast but it has worked in the past.  On the 3rd or 4th chat session I was told that you can't use wireless with CC and I need to be on a fixed wired connection.  Finding that as rediculous as possible, I decided to test my network.  I logged off and used my AT&T CELL PHONE as a hotspot (which gets me about 4.0 Mbps download speeds, albeit with a higher ping) and VIOLA the Apps tab is there and I can download programs.

  • Why can't I download any programs through creative cloud?

    I'm trying to download Dreamweaver fro a class and other programs but when I try to download them through creative cloud it's not responding. Creative cloud opens up but then there is a white blank screen and I'm unable to download anything. What do I need to do so creative cloud can start working again?

    You can refer to the following knowledge base:-
    Troubleshoot CCM Applet installation and download
    Creative Cloud Desktop - running but no icon
    http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html
    They have useful information. Hope it helps you.
    Regards
    Rajshree

  • Why can't I download any programs?

    I'm trying to download programs from Creative Cloud but I keep getting can't find the server messages. Here is the message.
    I've installed the latest Application Manager.
    I'm on  a Mac opperating OSX Version 10.7.5
    Cheers
    Col

    Ok, one customer reported success to me so that is unfortunate.
    A fix is in progress, but it is on the server side so clearing your local cache will not fix it. When fixed the urls on the Creative Cloud Apps page https://creative.adobe.com should start with http://ccmdl.adobe.com instead of https://ffc-crawler.oobesaas.adobe.com. This is only if you do not have the Adobe Application Manager already installed in which case you should see links like aam://SAPCode=PHSP.

  • Safari Crashed: Can no longer open any program

    Yeah, so basically that's what happened, no log, nothing, it just crashed, so I hit *Command Q* to quit and tried to reopen, except it wouldn't, in fact, nothing would. I would check the version of Safari and Leopard, but I can't, I can't access the drop down menu, Macintosh HD, or anything else, I can only type this on my other computer.

    This happened to me a couple of weeks ago. I had to do a hard shutdown as the computer got stuck in the shutdown mode. It came back up OK and everything works. But there had been some strange hard drive noises the night before. I ended up replacing my laptop in the meantime. I had also been editing my bookmarks. I think the problem has to do with Leopard being to intense for my old powerbook G4.
    So try to just shut down by the powerbutton. And restart.

  • Pop up says " Something went wrong" in the title then reads, "Please wait a moment and try again.  If the problem persists, try logging in." .  I can't think of any new updates on my phone but many apps are getting updated without me keeping track of them

    how can I fix this?

    I tried mine in Safe Mode and the pop up box disappeared for a few hours
    but then was back. This has been going on for over a week and it's driving
    me nuts!
    << Personal information removed to comply with Verizon Wireless Terms of Service >>

  • Is there any Program to write sms on computer and send by iphone

    I'm having trouble with my service provider. So I want to Write sms on my windows computer and send them via iphone by usb cable. Like pc suite. Can you help me?

    No.

  • Trojan virus on computer. Can't open any programs.

    Hi,
    The other day my kapersky antivirus detected a trojan on my Toshiba laptop. I deleted it. I also downloaded and ran malwarebytes. The computer has slowed down dramatically. I can't even open any program's now because the cursor shows as loading.
    Can you help me. My knowledge of computers is very low so please explain things for me in layman terms.
    Thank you so much

    Can you check the laptop's full model and part numbers from the label on the bottom? Don't include the serial number.
    Do your antivirus and antimalware programs show your computer as clean now?
    - Peter

  • Can't Open Any Programs

    I had been on Safari for awhile and had to leave the computer for about 10 minutes. When I came back the mouse is responsive, but nothing else is. I can't shut down any program or the computer. I did a forced shut down, and it starts back up just fine but now I can't open any program. The mouse moves around the screen but nothing else seems responsive. After 5 minutes, my screen saver comes on like normal.

    Hi
    what OS are you on - Leopard, Snow Leopard ?
    I suggest booting from the install dvd, repairing permissions (just in case) using Disk Utility from the dvd and using the 'repair disk' function too.
    You might also see what starting in Safe mode does for you - hold the Shift key on startup

  • Hello all.   Hope someone can help me. I recently downloaded some  updates for my imac.  Since doing this the computer starts up but I get no logon box.  The home screen opens but I can't open any programs or files. I've tried rebooting, no joy. Help!!

    Hello all..   I hope someone here can help.  I recently downloaded some updates to my imac.  Since then the computer starts but I get the home screen opening without the logon box.    I can't open any programs or files and if I click on the Safari tab it disappears from the dock.  I've tried rebooting with no joy.
    I contacted technical help at Apple and was told to hold down the ctrl and alt keys with two other keys, I think the S or P keys when powering up. This worked
    and the computer seemed fine but now the problem has reappeared.  Is there a way to removed downloaded updates from the computer or revert it to an earlier state?   Sorry for the long question. Hopefully one of you clever people can help.   Simon

    Clntxwhtby wrote:
    Hay thank you for your time . I do that every time I know I am online. It says that I am up to date . I have found that I have 10.4.11 version, and that my boot version is 10.6.2, and that my kernel version is 8.11.1.
    I have a hard drive icon on my desktop that says 10.6.2....
    I use to have iphoto, it doesnt open anymore, it says there is 1.2gigs on that disk.There are many things on here that are the same way. Where do I start?
    It's always good to go with one thing at a time and stay focused on that. Let's start with the OS you're running. Click on the Apple menu > About This Mac. What does it say under Mac OS X version ?

  • After system date/time reset macbook pro can't open any programs and access system preferences

    Hi,
    Booted my macbook pro 2009 and the time was reset to 2001, a prompt asked me to change settings or else the computer might function erratically. So i changed the date and time settings as suggested but then suddenly it stopped working. I restarted the computer but i could no longer open any programs. My dock was gone, the screen background was changed back to the original and i couldn't access the system preferences. Every time i click on the apple icon the screen just refereshes and that's it.
    My laptop hasn't been turned off for the last 48 hrs before this happened.  i was working and uploading huge files to dropbox and since my internet connection was really slow, i had to keep it on so it would upload continously. Was thinking this might have caused some malfunction.
    Has anyone experienced this kind of issue?

    You need to charge the computer, perhaps the battery went dead.
    Do a SMC and PRAM reset, see if that assists.
    Also hold the shift key after that upon boot, that will fix things
    https://discussions.apple.com/docs/DOC-3046
    If you get into your account, see if system preferences opens and try to set the time and date, align with Apple's servers, reset the screen saver and desktop picture see if it holds upon a reboot
    If not your going to have to delete your
    com.systempreferences.plist
    file in your
    "User"/Library/Preference folder
    Reboot the machine and then open System Preferences and reset your preferences.
    Now in 10.6, the "User"/Library/Preference folder is not hidden
    In 10.7 the "Users"/Library/Preferences folder IS hidden
    so in 10.7 you need to use the Finder > Go To Folder and type
    /Library/Preferences
    and click OK
    Then scoll down to the  file above, there will be two of them perhaps, one is a lock file the other one you can Trash, so do that and reboot.

Maybe you are looking for