How to create a application like windows paint

Hy to all!I have to create an application which i can use to draww lines by dragging the mouse!What shell i use?Applet,or what?And in the second part of the aplication i have to make a save and open options,which i can use to save and open the drawings that i made!Any help?
Jsut give me some directions from where to start!
Thanks

If you don't want to be labeled as a troll, cut down on your use of ! and ?
Anyway, here's something to start from (that I wrote)
Please make sure that you add comments acknowledging the source of this code. This is especially important if you are doing this as part of a school project
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=5165854

Similar Messages

  • How to create restore point in windows server 2008 service pack1

    hi i am bhaskar ... how to create restore point in windows server 2008 service pack1 and how to restore system from a restore point in windows server 2008 service pack1.. is this option available or not ? what is the difference between shadow copies and
    restore point ? instead of restore point we have this shadow copies option in windows server 2008 ?Bhaskar

    AFIK, Restore Points doesn’t exist in Windows 2008.
    Volume Shadow Copy option can be used to achieve:
    Creating consistent backups of open files and applications
    Creating shadow copies for shared folders
    Creating transportable shadow copies using a hardware provider — for backup, testing and data mining scenarios
    Quickly recovering and restoring files and data
    It is more like a file, data, application backup. 
    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX
    Blogs - http://blogs.sivarajan.com/
    Articles - http://www.sivarajan.com/publications.html
    Twitter: @santhosh_sivara - http://twitter.com/santhosh_sivara
    This posting is provided AS IS with no warranties, and confers no rights.

  • What's a good app to use to put two photos on a single page like Windows Paint?

    I have a OSX Lion with an iPhoto app. I would like to put two photos on a single page like Windows Paint. What's a good app for this? Is there a Windows Paint app for Mac or something similar?

    You can print two photos on a single page with iPhoto, you can put two photos on a single page with Pages, Word or any word processor. Or are you trying to edit two photos together?
    In order of price here are some suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate. You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • How to create report image like artwork demo

    Dear Pakars
    How to create report image like artwork demo ?
    Thanks
    Imansyah

    Hello,
    Are you asking how to include images in a report? If so, take a look at the declarative blob support documentation -
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Do you know how to create Front Panel like Web,

    Do you know how to create Front Panel like Web, I mean like we pointed the word and click it will do another process instead by clicking push button.
    If possible, i can click the link in the table... Any idea anyone
    Solved!
    Go to Solution.

    Hi ezam,
    can you define more clearly exactly what you would actually like to do, and ill have a further look into it. I think smercurio_fc has understood it as I have, and is right with the activeX.
    any way, give a shout back with exactly what you want to do and we see what we can do,
    Richard
    Richard S
    Applications Engineer
    Certified LabVIEW Associate Developer
    National Instruments UK&Ireland

  • How to create Automator application?

    I cannot figure out how to create an application in Automator that actually works.  
    What I have is a workflow that combines PDFs.   As a workflow it works well.
    I would like to create an application that does the same thing.   First I tried saving the workflow as an application.   I duplicated the workflow and saved it as an application.  Later I started at the beginning by creating a new application and building it up with the same actions that are in the workflow.
    With both techniques I got an "application" that sits on my hard drive.   The OS describes it as an application.  But, when I click on the icon, the icon blinks as if an application is opening.  But then nothing happens.   The computer remains in Finder.   The Automator "application" does nothing.
    I must be missing something.  How do I create an Automator application that opens?

    It won't. It runs the task in the background.
    My suggestion is to create two folders
    PDF Files
    Merged PDF Files
    Tell the workflow to merge PDFs found in PDF Files and place the merged PDFs into Merged PDF Files.
    Then dump a bunch of PDFs into the first folder. Click the application. Then check the second folder. You should see them all merged into one there.

  • How to create a pop up window while creation of the delivery note.

    Hello Experts
    How to create a pop up window while creation of the delivery note.
    As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
    For e.g.
    Str. Loc     Qty      UOM
    DE01        100        KG
    DE99          50        KG

    Dear all,
    i m having two document numbers for invoic of same types such as output type print program and smartform.
    biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
    Directly the cursor comes to initial stage of vf03.
    suggest what to do
    Thanks and regarnds
    ravi

  • How Tou2026 Create Custom Application in E-Commerce 7.0?

    Hi all,
    We want to set up SAP E-Commerce for ERP 7.0. For SAP E-Commerce for ERP 5.0 the following configuration guide is available:
    How Tou2026 Create Custom Application in E-Commerce 5.0
    What about SAP E-Commerce for ERP 7.0? Is this guideline also valid for 7.0?
    If not, where can I find the corresponding configuration guideline for SAP E-Commerce for ERP 7.0 (on the SAP Service Marketplace?)?
    Thanks in advance.
    Regards,
    AV

    Hello Av,
    Please see the Development and extension guide @
    http://service.sap.com/crm-inst
    => Release 7.0
    => Operate
    Regards
    Mark

  • How to create CRUD application using bapi in webdynpro java

    Hi All,
          I have implemented the CRUD application using bapi  Now i want to create, retrieve , update and delete the existing table by click on Insert, delete, retrieve ,and update button dynamically. i get null values from database,  Please let me know the logic and procedure for how to create CRUD application using bapi  Please any one help me..
    Thanks in advance

    Hi,
    Hey tell me one thing your BAPI having CURD methods. See you are getting data from BAPI and pull the data in Table in WDJ. So if u can do any action it will comes trough BAPI.
    If your BAPI having CURD methods. You can implement CURD methods in WDJAVA also.
    @ You said you are getting null values from the database. Please let me know what code you have to wrote for CURD. Please tell me.
    Hope this is help full for u
    Best Regards
    Vijay K

  • How to Create New Application for iPhone

    Hi,
    Can anyone guide me how to create New Applications for the iPhone.
    Regards,
    Mustafa Ali Qizilbash

    If you think Apple's is making a profit off the $99 it collects for the iPhone Developer Program membership, you're badly underestimating how much it costs to run the program.

  • How can I use iPAD like windows?

    I am used to MS windows, and I feel iTunes very complex and unpractical.
    How could I use iPAD2 like windows?
    For example, I would need to, but not limited to, transfer file by file from PC and iPAD and viceversa.
    Thank You, MaT

    Welcome to the Support Communities. Consider this file manager app:

  • Can anyone please guide me how to create a table like employe table with 10

    Hi,
    can anyone please guide me how to create a table like employe table with 10colums.
    after that we need to update the colums with personal details......like name1,name2,address,city,zip...etc.
    using the RFC we need to update the personal details coulums (either select query or Insert command)
    if you have any program logic similar to this requirement please share with me...that would br greatly helpfull to me...
    thanks in advance
    srinivas

    Hi....
    We are having one table and now i am going to update that table's fields...
    for that in RFC function module we need to enter the fields in importing parameters (which are mandtory in table)
    and in source code just write like following....
    ( try to under stand that it contains some previous used table nad field and stucture and work area and function module names)
    FUNCTION ZL2C_UPDATE_MYCUSTOMER.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(USR_ID) TYPE  USRID
    *"     VALUE(LOGO_ID) TYPE  KUNNR
      DATA ls_mycust TYPE zl2cmy_customer.
      DATA: name1 TYPE name1_gp.
      DATA: sharpoint_url TYPE url.
      ls_mycust-usr_id        = usr_id.
      ls_mycust-logo_id       = logo_id.
      SELECT SINGLE name1 FROM kna1 INTO name1 WHERE kunnr = logo_id.
        ls_mycust-name1       = name1.
        SELECT SINGLE sharpoint_url FROM zl2c_CUSDASHBRD INTO sharpoint_url WHERE logo_id = logo_id.
          ls_mycust-sharpoint_url = sharpoint_url.
          INSERT into zl2cmy_customer values ls_mycust.
          COMMIT WORK.
        ENDFUNCTION.

  • How to create an application with a 'Windows' like interface?

    Hi,
    I am trying to create an application with an windows like interface where menu selections need to open bound taskflows in a page/window but i can not get it to work. I did the following
    - i created a page template with a panelStretchLayout
    - added a menuBar with commandMenuItems
    - created a start page based on the template
    - created bound taskflows with page fragments for all menu items
    - placed a dynamic region on the start page which initially shows a taskflow with an empty/blank page fragment
    - change the dynamic region taskflow from every menuitem and added partial triggers on the dynamic region for every menu item
    When i run the application the first empty page fragment is showed correctly but when i select a menu item the correct new page fragment is showed but it keeps showing a loading data .... hint and seems to freeze. So no data is showed while the underlying datacontrols work while using the bc tester.
    Besides this problem i am wondering if i at all am going the right way with this with using a dynamic region? In the final application i will have a total of about 25 menu items over several menus and if they all will be showing in one main dynamic region with partial triggers set to all menu items it may get a bit complex? I saw you can also create a window in a popup which i like even more because it looks like an actual window but this is modal. I would like a bound taskflow to be opened whenever a menu selection is made.
    Any pointers or tips or the solution to not showing data?
    Kind Regards,
    Andre

    Hi Sascha,
    If have not encountered that problem. Are you sure you have a taskflow entry under the executables tag in the page definition of the page which has the dynamic region on it? I have one like this:
    <taskFlow id="dynamicRegion1" taskFlowId="${DynamicRegionBean.dynamicTaskFlowId}" xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
    During the selection of its initial value when it is rendering for the first time it should have the session bean already initialized. My bean looks like this:
    public class DynamicRegion {
    private String taskFlowId = "/WEB-INF/startTF.xml#startTF";
    public DynamicRegion() {
    public TaskFlowId getDynamicTaskFlowId() {
    return TaskFlowId.parse(taskFlowId);
    public String feitenTF() {
    taskFlowId = "/WEB-INF/feitenTF.xml#feitenTF";
    return taskFlowId;
    public String themasTF() {
    taskFlowId = "/WEB-INF/themasTF.xml#themasTF";
    return taskFlowId;
    public String feitCategorienTF() {
    taskFlowId = "/WEB-INF/feitCategorienTF.xml#feitCategorienTF";
    return taskFlowId;
    The startTF is the initial taskflow and the other methods are being called from my menu. The dynamic region has the menu items as partial triggers. That is all i did.
    Kind Regards,
    Andre

  • How to create a setup for window form application including the related sql database?

    i have created a simple window form application project that have only 2 form..
    1st one for login in which it'll check the userid n password from database.if both are correct then it will go to 2nd form.
    now i want this project to run in another computer.
    i created a setup file but its showing some error regarding the database instances connection..
    so if anyone can tell me in details how to create the setup file then it'll b a great help..
    thanx in advance..

    Hi,
    Consider the above scenario,I suggest you to use the SQL Server Compact+ ClickOnce Deployment, A Compact SQL database is a file that can be bundled with your application installation. Below is a link guiding you through the creation process of a SQL Compact
    database.
    http://technet.microsoft.com/en-us/library/ms173009.aspx
    The following link discusses setting up the necessary dependencies and prerequisites for SQL Server Compact. (Note, you will need to scroll to the section entitled Private File–Based Deployment.)
    http://msdn.microsoft.com/en-us/library/aa983326(v=VS.100).aspx
    A ClickOnce Deployment can help you publish your application attach compact SQL database into client machine.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create recovery disk for windows 8.1 after update from windows 8.

    My laptop came with windows 8 and i have recovery discs for windows 8.
    Now i've updated to windows 8.1, so i want to creat recovery discs for windows 8.1.
     So in future when i use recovery discs i dont have to download windows 8.1 again.
    Please tell me if there is any way to do this.....

    As colakid posted, in Windows 8 the ability to create a recovery CD/DVD has gone. Your options are to:
    create a recovery USB; or
    create a recovery image.
    Recovery USB
    Colakid's post talks you through how to make a recovery USB: from control panel, choose Recovery, then Create a Recovery Drive, and follow the prompts.
    However, the 'recovery USB' can be a bit misleading. When the wizard starts, there is an option to 'copy the recovery partition from the PC to the recovery drive'. If you do not check this option, you will still need installation media to reset your PC.
    Since you have upgraded from Windows 8 to Windows 8.1, you will probably not be able to check this option, as it will be greyed out (like it is in the picture in Colakid's post).
    If you go ahead and create the USB anyway, you will be able to boot to it, but you won't be able to reinstall Windows unless you have the installation media (or possibly a system image, though I haven't tried that).
    Recovery image
    The recovery image is an image of your computer that Windows will use when you select the 'refresh my pc' option. You can create a recovery image using the recimg.exe tool.
    First, open an elevated command prompt (type cmd and press Ctrl + Shift + Enter).
    Next, create the recovery image by typing:
    recimg /createimage [path]
    Where [path] is the folder you want the image in, eg C:\Recovery. You cannot set the file name - it will always be called CustomRefresh.wim.
    Let it run its course. When it's done, you can check that it is the current recovery image by typing
    recimg /showcurrent
    It's important to keep in mind what a recovery image contains. It will have your Windows system files (in their current state), and the desktop apps you have installed (so it makes sense to do this after a fresh install of Windows). It will
    not backup any Metro apps or user files, because these are not deleted during a system refresh. If you want a complete backup of everything on your computer the way it is now, you should make take a complete system image (which
    can be done from the File History settings in control panel - at the bottom left there will be a 'System Backup Image' option - or you can do it using any other backup software like Ghost or Acronis).
    In my case, I created the recover image straight after upgrading to Windows and it was about 6 GB.
    Prepare/Create and register an recovery partition, so the option Copy the Recovery Partition becomes available in the recovery drive UI  application.
    In elevated command run> RECIMG -CREATEIMAGE C:\REFRESHIMAGE< 
    This will create a new custom.wim in a folder Refreshimage.
    Now lets get ready to register the path of the image, so our create recovery drive option(COPY THE RECOVERY PARTITION FROM THE PC TO THE RECOVERY DRIVE) becomes available.
    >  In the folder you created there will be a> custom.wim<
    change it to>INSTALL.wim<
    > Create a folder In Cd/directory using Elevated command> mkdir c:\Win8.1-Recovery,>
    Win81-Recovery<.
    > Copy the  INSTALL.WIM. Put in the Win81-recovery folder created.
    > Run in elevated commad>REAGENTC /SetOSImage /Path C:\Win81-Recovery\INSTALL.WIM /Index 1<
    Do not copy the arrows if using copy and paste, that is my way of pointing out lines of code
    Information provided by the link below, thanks Keith. I simplified the process for easy following and added my own tweak from trial and error for the install.
    blogs.technet.com/b/keithmayer/a···ive.aspx

Maybe you are looking for

  • How to store numeric format data in a database

    In order to properly format a report generated from data stored in a database using a TestStand schema, I would like to add formating information for numeric values to the database. My intent was to store the numeric format string data in a separate

  • Key binding confusion

    I'm trying to use key bindings to navigate a table and do a few other things and I'm totally lost. The first picture in this thread gives you an idea of what my application looks like http://www.enginuity.org/viewtopic.php?t=8 In the JInternalFrame,

  • Razr settings for Outlook through Frontier email

    After many attempts and about an hour on the phone with Verizon tech support (did not know how to set up), through trial and error I was finally able to set the phone up to receive and send my local Outlook emails. These are the settings.  They work

  • Related to cess in excise

    Hi We r following taxinn procedure. In SD pricing procedure we have BED total and CESS total condition types r there, what is use of that conditions. I maintain education cess and high education cess in SD pricing procedure but I am getting cess in e

  • WebHelp OnClick Javascript problem

    Hello there, I wanted to insert an email feedback link into my webhelp file. So in my Master Page I added the following link in the header of the page: <a href = "Send feedback" onClick="parent.location='mailto:[email protected]?Subject=blah blah'">