Creating Undo Option in drawing application

Hi !
I am developing a drawing tool.
& I want to add undo/redo menu so that it will undo/redo any drawing made by user & I am using BufferedImage for storing the drawing.
can anybody post any example or any drawing program with undo/redo option.
Please Help me out !
Thanks in advance

If it's DPS no. There is no native search available.
You'd have to do the entire thing in HTML.
Bob

Similar Messages

  • Best way to create SVG file from drawing application?

    I am developing a drawing application that allow the users to draw and edit static two dimensional images such as Rectangles, Ellipses and Text. I have a superclass SVGShape that contains all the common features of a shape such as x1, x2, color etc. I then have SVGRectangle as a subclass of SVGShape.
    I want to know what would be the best way to create an SVG file from this? An idea I have at the minute is to have an abstract method getSVG() in the SVGShape class, and then implement the method in the subclasses. I will then create a new class called SVGManager which iterates through the list of shapes (Btw I'm using MVC, my shapes are stored in a Collection) and uses the getSVG() mehtod in each shape to build up a SVG file.
    What do you think of this? Any better ideas?
    Thanks guys

    I used a visitor for this in a similar project, so that when the svg library is used in a applet or browser and the writing functionality isn't required, it may be omitted from the bundle.
    Pete

  • How to implement "Undo" option using acrobat SDK

    Hello,
         I want to implement "Undo" option in my application which will restore last modified data.
         I am reffering to acrobat 7.0 SDK. I am trying with AVUndo functions from SDK.
         I am not getting basic thing to start the implementation.
         Please suggest me a way for implementation of "Undo" option.
    Thanks in advance.

    Look at the Stamper sample. It also demonstrates use of the AVUndo API.

  • How to Create a Drawing Application?

    I wish to create a drawing application on Flash. I want to
    open an .exe file where a user can select options and draw within
    the .exe. How can I achieve this? Is it actionscripted?

    you can use actionscript drawing methods to do what you want,
    ActionScript 2.0 Classes - Movie - MovieClip - Drawing
    Methods
    but it is not easy for a beginner.
    if you want to find an easier way, try GG marker in my
    components package.
    Download
    GG
    Sample

  • I would really find a draw application "iDraw" maybe, very useful to create diagrams and overlays on photographs. Is Apple likely to add a module to ilife or iWorks? Failing that, can anyone suggest a freeware, or shareware app?  Studio8 update? alan b

    I would really find a draw application "iDraw" maybe, very useful to create diagrams and overlays on photographs. Is Apple likely to add a module to ilife or iWorks? Failing that, can anyone suggest a freeware, or shareware app?  I recall an app some years ago,Studio8 ?  It would be really useful for work and home use. regards,alan b

    Describe exactlhy what you want to do with photos?  There are some apps, like Pages, that can add text and graphics over photos.  Describe what you are wanting to do or post an example from somewhere else and we may be able to suggest an app.
    OT

  • Google Docs Draw Application

    Hey Mozilla! =)
    The Google Documents draw application allows one to collaborate on design elements in what's essentially real-time, however Firefox has a keyboard shortcut that makes the use of this site somewhat annoying.
    Pressing the 'Shift' key allows for multiple-select within Google Draw, however when this action is used upon an image object in the draw document, a new window spawns in Firefox to display the original image. With as many objects as I'm working with, it's kind of cramping my style.
    Is there a way to disable this hotkey for this site?
    If not, it would be nice as a feature request. I'd love some options that allow users to adjust their hotkeys as they'd like; or disable them altogether. :)
    Cheers,
    K

    Hi,
    Unfortunately the Google Docs app is not available on the Photosmart 7510 e-AiO printer. Sorry about that
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • Creating jvm-option with asadmin

    Hi,
    I am trying to create the following JVM option using asadmin:
    -Dproperties.dir=C:/Projects/Project1/myproperties
    so I used the following command:
    create-jvm-options "-Dproperties.dir=C:/Projects/Project1/myproperties"
    The command doesn't work. It ends up in the server as two properties:
    "-Dproperties.dir=C
    /Projects/Project1/myproperties"
    including the quotes ("). I also tried:
    create-jvm-options --"-Dproperties.dir=C:/Projects/Project1/myproperties" but it just gives the error:
    --"-Dproperties.dir : Option does not have an exact match
    Can anyone help?
    thanks
    Steve

    Configuring JVM Options
    To set JVM command-line options in the Administration interface:
    # In the left pane, click the application server instance name.
    # In the right pane, click the JVM tab.
    # Click JVM Options.
    # To add a JVM option, type it in the text field at the top of the screen and click Add.
    # To delete a JVM option, click the checkbox next to it and click Delete.
    # To edit a JVM option, edit the text in the JVM Option field and click Save.
    For information about specific JVM options, see http://java.sun.com/docs/hotspot/VMOptions.html
    Can you please try this and see if that works.

  • Recently when creating a new blank page, application freezes. have been using for years without a problem. Upgrade?

    recently when creating a new blank page, application freezes. have been using for years without a problem. Upgrade?

    When something that used to work stops doing so, the most likely culprit is corrupt preferences. Go to HD > Users > (your account) > Library > Preferences, delete the com.apple.iwork.pages.plist file & then restart Pages. In Finder, hold down the Option key while clicking on the Go menu & your user Library will appear about halfway down the list. Or you can choose Go to Folder from the Go menu in Finder & paste this line in the box:
    ~/Library/Preferences

  • Help: flash actionscript drawing application

    Looking for developer help who can develop a project a little further based on Carlos Yanez basic drawing application.  He provides all the source code for the basic application.  I need the exact simple application but the ability to choose a background image from a file on the server as the canvas and I want to save the created image on a server file instead of on the client machine. The ability to change the pencil drawing size would be an additional plus.  I work with php and mysql so I would like to use them to store the file parameters, even as a blob in mysql, along with some additional user (server) defined variables (I can do the php/mysql side if I can get the file there, I understand there is an swf to png ByteArray class that might be able to save on server .   The project is for an opensource group so the final product would need to remain as such, I would be able to pay for the modifications mentioned above.  The source files are available at the links below.  Thank you.
    http://flashtuts.s3.amazonaws.com/080_DrawingApp/Src/preview.html
    http://active.tutsplus.com/tutorials/games/create-a-basic-drawing-application-in-flash/

    2.5 years later, would it be possible to use this application within another and turn on and off the drawing functions when not specifically at this 'function' of the application?
    Possibly by killing the canvas.addEventListener(s) and then setting tham alive again on return to this function.
    Could it easily be made a back end section, on initial fire up if it did not have the stage items, it gave an error.
    Very green to flash. Thanks for ant comments.
    (If Mr Graffiti had added much more, on his quick  job, he would have been in competition with Adobe PaintBrush)
    Thank you

  • Create undo tablespace while at mount state, possible?

    Oracle 10g (10.2.0.1.0), on RedHat 4 (both 64 bit)
    My test db’s undo tablespace is corrupt (no RMAN or user backups).
    DB fails to open, fails during "Doing block recovery for file 2 block 209910"Is there a way of creating undo tablespace while at mount state?
    I am pretty confident it’s not possible, also searched the net and found no fix, I thought I will ask.
    I get error:
    CREATE UNDO TABLESPACE UNDOTBS1_new DATAFILE  '/u01/oracle/oradata/TEST_DB1/undotbs2_01.dbf' SIZE 512M
    ERROR at line 1:
    ORA-01109: database not openp{code}As a last option, I will open the db with *'reset logs'*, wondering is any thing else I can try to fix the issue.
    Thanks for any input.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    your problem is not to create un UNDO, your problem is that your UNDO is corrupted ! ;)
    You must recover undo because it may contains needed data.
    As there is not backup, you may try to set undo to manual, and then open the db and recreate the undo
    but this may fail and you may have to allow undo corruption in initialization (_corrupted_rollback_segments), but this is an unsupported operation (hidden parameter)
    Could you contact support ?
    is your db a production one ?
    Edited by: Leo Anderson on 1 sept. 2008 15:25

  • Undo Option in Planning Workbook

    Hello Techies,
    I have created a Planning Workbook and cells are input ready(Editable Mode),
    Now further i type values into the Input Ready Cells and move on to the next cell, here if i want to do a "CNTRL + Z" or "UNDO"
    I cannot perform it.
    Excel Undo Option gets disabled and i cannot undo the entries using the CNTRL+Z keys.I have to manually go to that cell and do the changes.
    Is there any way to Achive this in planning workbook.
    Qucik Response would be Appreciated.
    Regards
    Kiran

    Hi Kiran,
        You can use a button for the plannign operation "Reset data", which resets the planning layout data.
    Then you will get actual data of the query before modifications. But this is for is all previosly unsaved modifications and not only for your cell wise "undo".
    Check whether this suffices your requirement or post your input again here in this forum.
    Regards,
    Balajee

  • Technique to undo a character format application?

    Hi,
    Seems that answers to complicated questions are a bit sparse in these parts, but I'll try again anyway
    I'm wondering if there is any technique to reliably undo a character format application change; that is, an application of properties to a range of text with SetTextProps(). It is fairly simple to remember a list of original properties (PropVals) and the original text range (TextRange), then reapply those original properties to the whole range. However, within a text range, each character can have its own unique set of properties. So, remembering one set of original properties is not enough... seems I have to remember the properties of every single character in the range, the reapply character-by-character, in order to ensure that the new property application is completely undone.
    When you apply a character format in the GUI, FM reliably allows an undo, restoring each affected character to its original state. Surely it isn't remembering a PropVals array for every single character (?)  I'm just wondering if there is another trick here. It's entirely possible if FM is internally using another trick, it isn't one that I can feasibly replicate.
    Thanks,
    Russ

    Hi Jang (you might need to look at this on the forum websie),
    Effectively, I want to be able to restore a range of text to its original format, after the original format is completely overwritten. For example:
    Here is someTEXT
    Imagine that someone applies a character format that wipes all that out:
    Here is some text
    I want to restore the text to its original format. In the GUI, the FrameMaker Undo command successfully does that. I have a script that applies formatting and I'd like to replicate the undo, if its feasible. Naturally, the FM undo will not undo a script action.
    I am talking about text ranges only. By the way, how do you store a "safety paragraph?" Using the clipboard is not an option in this case.
    Thanks,
    Russ

  • Source code for "Creating an Extended Web Dynpro Application"?

    Hello!
    I'm a rookie in the field of SAP Netweaver and I'm justing getting started with some tutorials. My problems with "Creating an Extended Web Dynpro Application" are to massive to be posted on this forum in this stage. What I want to have some help with is to find the source code for that tutorial so I can get som guidence from there.
    Following text is cut out of this page:
    http://help.sap.com/saphelp_nw70/helpdata/EN/5d/f42fef2eec724597a03b6bcc670c2c/frameset.htm
    Creating an Extended Web Dynpro Application
    You can download the Web Dynpro project for the current tutorial from the Software Developer Network SDN (http://sdn.sap.com -> Web Application Server -> Web Dynpro -> Sample Applications and Tutorials) in two versions: one skeleton version you can use for exercises and one final version (solution) for an immediate build, deployment and run on the Java engine of the SAP Web Application Server.
    How hard I try I can't find the specific source code on sdn.sap.com
    Does anyone have a clue where it is?
    Thanks!
    Best regards
    /Johan Månsson Lindströ

    Hi!
    I did what you said but I seem to miss the IDE folder. This is what it looks in my Explorer
    C: > Program Files > SAP > IDE > CE > eclipse > (no folder called "examples")
    I also did a search in this eclipse folder for "examples" but I did'nt find the example I'm looking for
    I am running a newer version of NWDS:
    SAP NetWeaver Developer Studio
    SAP NetWeaver 7.1 Composition Environment SP03 PAT0000
    Maybe that's why things don't look the same?

  • I want to create home page for my application with short URL

    I want to create home page for my application with short URL
    as when I want user to use my application user must go to URL like this
    http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
    I want shorter URL for my application not to write full path .
    thanks in advance.
    Edited by: user611775 on Oct 31, 2010 10:21 PM

    Well,
    it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
    By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
    Timo

  • How to create the user on Internet Application Server(IAS) control console

    Hi All,
    My Client is asking me for How to create the user on Internet Application Server(IAS) control console 10.1.2( 10g release 2).
    If anyone have the document for How to Create the User on Internet Application Server (IAS) console 10g release 2 , then please send me the document and help me out from this Concern.
    Regards,
    Yadav@intelli.
    Edited by: 851080 on Apr 8, 2011 6:31 PM

    Are you using OID? Can you provide more details about your iAS environment?

Maybe you are looking for

  • How to use a USB-to-par​allel adapter to communicat​e with my switch device?

    My computer doesn't have a parallel port, so I must use the USB port and a USB-to-parallel adapter to communicate with my switch device. Unfortunately in WindowsXP printer configure that show USB001 Virtual printer for USB. How should I control my US

  • Ipod won't load new playlists?

    I have an older 60gb Ipod (version 1.2.1) and have the latest Itunes software. Everytime I connect my Ipod to my (windows) computer I'm told that it's updated but the music, and specifically my new playlists, haven't been loaded to the Ipod. What do

  • Manipulating attribute bindings in JSP

    Hi Can anyone tell me how to convert attribute bindings to numbers so I can do maths on them eg binding.value1 * binding.value2 - I get the following error if I try Attempt to coerce a value of type "oracle.jbo.uicli.binding.JUCtrlAttrsBinding" to ty

  • Using Multiple Currencies

    I am in the process of implementing Oracle Financials and came across a real stumbling block...any help would be greatly appreciated. It seems that the transaction from start to finish has to be in the same currency. When the PO is entered in a certa

  • Append structure komv

    I would like to append structure KOMV with my structure , for this method is impact sap standard or not? this method can be implement in sap? Please advise me. Thank you so much.