Drawing with Asterisk

does anyone know how to draw with asterisk on an applet? i am writing a program that asks a user for a size of a square and then draws the square on an applet using asterisk.

TextArea.Insert("******",10);

Similar Messages

  • Draw with PL/SQL?

    Sorry for my bad english but this is my question:
    how to draw a parable with asterisks (*) receive 2 parameters (x, y).
    any help is great for me, thanks!
    Edited by: xDeviates on 20-ago-2011 9:52

    SQL>variable x number
    SQL>variable y number
    SQL>exec :x := 30
    PL/SQL procedure successfully completed.
    SQL>exec :y := 40
    PL/SQL procedure successfully completed.
    SELECT     CASE
                  WHEN ROWNUM = :y + 1 THEN
                     LPAD('x', :x+1)
                  ELSE
                        LPAD(RPAD('x', :x * SQRT(:y - LEVEL + 1) / SQRT(:y)), :x)
                     || LPAD(' ', :x * SQRT(:y - LEVEL + 1) / SQRT(:y))
                     || 'x'
               END
          FROM DUAL
    CONNECT BY LEVEL <= :y + 1;
    CASEWHENROWNUM=:Y+1THENLPAD('X',:X+1)ELSELPAD(RPAD('X',:X*SQRT(:Y-LEVEL+1)/SQRT(:Y)),:X)||LPAD('',:X
    x                                                         x                                        
    x                                                         x                                        
    x                                                         x                                        
      x                                                       x                                         
      x                                                       x                                         
      x                                                       x                                         
       x                                                     x                                          
       x                                                     x                                          
        x                                                   x                                           
        x                                                   x                                           
         x                                                 x                                            
         x                                                 x                                            
         x                                                 x                                            
          x                                               x                                             
          x                                               x                                             
           x                                             x                                              
           x                                             x                                              
            x                                           x                                               
            x                                           x                                               
             x                                         x                                                
             x                                         x                                                
              x                                       x                                                 
              x                                       x                                                 
               x                                     x                                                  
                x                                   x                                                   
                x                                   x                                                   
                 x                                 x                                                    
                 x                                 x                                                    
                  x                               x                                                     
                   x                             x                                                      
                   x                             x                                                      
                    x                           x                                                       
                     x                         x                                                        
                      x                       x                                                         
                       x                     x                                                          
                        x                   x                                                           
                         x                 x                                                            
                          x               x                                                             
                            x           x                                                               
                              x       x                                                                 
                                  x           SCNR
    Urs

  • Drawing with a pencil = circles and rectangles

    When I am drawing with a pencil, the line looks like the shape I want to draw, but when I stop drawing, the shape reshapes to another shape whick looks like circles and rectangles = it does not look like the shape I wanted to draw. What is the problem?

    at the bottom of the tools panel click the pencil mode icon and choose ink or, use the brush tool if you want no adjustment to your drawing.

  • Drawing with the Pen tools

    This question was posted in response to the following article: http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-73a0a.h tml

    Correction: same issue -- pen tool drawing shows up only on the digital image on the screen. Not when printed. Well sounded like a good theory.
    Problem remains: how to get pen tool drawing, made on photographs, to print.
    From: [email protected]
    To: [email protected]
    Subject: Drawing with the Pen tools o photographi
    Date: Sat, 5 May 2012 20:08:05 +0000
    Curt, believe I found the answer:
    Create a new blank page, the size of the photograph to be worked on. The blank page is what the pen tool responds to only.
    Add the photographic image to the new blank page (same size).
    Now you can use the pen tool over the photographic image. When finished drawing, flatten the image with drawing, and print. 
    Date: Fri, 4 May 2012 21:00:54 -0600
    From: [email protected]
    To: [email protected]
    Subject: Drawing with the Pen tools
        Re:  Drawing with the Pen tools
        created by Curt Y in Photoshop General Discussion - View the full discussion
    Perhaps you are talking about stroking the line? 
    Set the color and size with brush, then in Path window click on Stroke Path with Brush.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4380667#4380667
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4380667#4380667. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop General Discussion by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Drawing with mouse

    Hi everybody,
    I'm making a drawing application, everythings looks and works ok, except for one thing...
    My mouse cursor is hidden and a paintbrush like cursor follows it. This cursor is a movieclip, because the user chooses a color, and the tip of this paintbrush changes to the selected color.
    So far so good. But there's one problem... when I draw to the left the line is drawed with no problem, but when I draw to the right, the line is interrupted, and I don't understand why.
    I made one experiment, and with no movieclip "attached" to the mouse cursor, the line is drawed with no problem, both to the right and left.
    I'll give you the code that manages this feature, in hope that someone can help me on this.
    Thanks for your time...

    You're wright... it is here. The boardOut function is called too soon, but funny thing is that, if I don't have a movie clip following the mouse, it works OK. If there's a MC the mouse calls boardOut early, when the drawing movement is to the right.
    To the left the movement has no problem

  • Drawing with a custom profile stroke is not working for me. Does it work for you?

    Drawing with a custom profile stroke is not working for me. Does it work for you?
    I can only apply it on an existing stroke but can't draw a new one with the selected profile. In fact if I change the profile to other than the default Uniform I also can't draw a new stroke with any other width than the default 1 point. This doesn't seem normal.
    Using SC5 on a PC.

    Another question on the same topic.
    Once I add a new profile to the list is it possible to put it on top of the list. I need this because the Adobe people decided to put the list in a tiny scrollable window with only a few of the first profiles showing. If there is noting in the interface may be I have to modify some program files settings?

  • Delayed live screen drawing with tools in Photoshop. Video driver update?

    Delayed live screen drawing with tools in Photoshop CS5 on my iMac running system 10.6.7.
    Hi there. Recently, I've been having issues with the tools. There's a distinct DELAY in the live drawing. For example, if I open a random image, take the pencil, paintbrush, or even eraser tool, and I draw a large line across the image, I don't see anything. If I zoom in or out 1 click, I see the line. If I draw ANOTHER line, same thing - I need to zoom in or out to see it. With all of the tools. I've never had this issue before and it's incredibly frustrating (that might be an understatement as you can imagine - I use PS daily as I am a full-time designer.) Any ideas or solutions? I've already TRASHED my preferences and reset the tool. If it IS a driver issue (which is weird, because this issue just recently started happening) I contacted the driver manufacturer (AMD) and was told:
    "Unfortunately, Apple does not authorize us to release drivers for their products.
    All drivers are provided to Apple who then customize and release them to their customers.
    You will need to contact Apple to obtain the most current drivers for your product."

    You are correct - only Apple can deliver display drivers to you.  That's what you get with a Mac as Apple wants to be your "one stop shop" for support..
    Just curious:  Are you painting with large brushes and very small Spacing values?  That can cause some delay, though it normally catches up on its own - you don't have to do anything to make it happen.
    Have you tried disabling OpenGL Drawing in your Photoshop Edit - Preferences - Performance menu.  Restart Photoshop after making that change and before testing.
    -Noel

  • Using a keyListener to draw with arrow keys

    Hi!
    I am trying to create an interactive game where the user can
    draw a line using the arrow keys (similar to an etch-a-sketch). I
    have a start point acting on keyListeners that will move around the
    screen using the arrow keys, but I can't seem to figure out how to
    get the listeners to draw a line. Here is the correct code that
    moves the start point:
    information_txt.text = "USE YOUR ARROW KEYS TO DRAW";
    var speed:Number = 4;
    start_mc.onEnterFrame = function() {
    if (Key.isDown(Key.RIGHT)) {
    this._x = this._x+speed;
    } else if (Key.isDown(Key.LEFT)) {
    this._x = this._x-speed;
    if (Key.isDown(Key.UP)) {
    this._y = this._y-speed;
    } else if (Key.isDown(Key.DOWN)) {
    this._y = this._y+speed;
    How can I modify Action Script to get the keyListeners to
    draw on the arrow keys?
    Any help would be MUCH appreciated!!!
    Thanks!

    Thanks for your reply! That's awesome. you were right, my
    script is in AS 2.0... I guess I posted to the wrong section. But I
    could easily switch to AS 3.0. I am really just interested in
    drawing with the arrow keys and using that action script to draw
    onto my own stage/ image. I have tried messing with the script, but
    can't seem to get the "drawing" portions of the script to work.
    Any suggestions??
    Thanks again for the help!!!

  • CC14, all files open with asterisk in file name.

    CC14, all files open with asterisk in file name, need to save or cancel to close file. Is there a way to change that?

    No. It happens to any InDesign file. I created a new file in CC14, saved, closed, opened and it had the asterisk.
    If it is a time synchronization, how do I correct that?

  • Jittery lines when drawing with pencil tool in Flash

    When drawing with the pencil tool using an Intuos Wacom tablet, the lines are jagged and create several points along the jagged line, making the pencil tool unusable. Does not occur with any other program. Using Flash CC Pro 2014.

    Hi Jessy,
    Can you please provide the following details to understand the issue .
    What is mode of pencil you have set to draw like straihgten ,Smooth or Ink ,and if it smooth mode what is the smothing value you have set .
    Wacom driver version.
    do you see this problem in any previous version of Flash.
    Thanks!
    Latha

  • Drawing with a graphics tablet in Flash

    Hey community!
    I recently got the newest version of Flash and wanted to do some drawing with my graphics tablet, but whenever i try to draw a freehand line, using the pencil or paintbrush tool, then for some reason, it draws a straight line leading to the bottom left side of the screen, and i have no idea why it is doing this.
    When i use the tablet to draw in Photoshop, then it works absolutely fine, but not in Flash
    Any help will be lovely!!
    Thank you

    Hi,
    The issue is resolved in the latest update of Flash Pro.Please update Flash professional to 14.1.0.96 .Follow the instruction below for the same :
    Installation instructions
    Log out and log in to the CC desktop application. Update the application when prompted.
    You should see the list of new updates as soon as the new CC desktop application is launched.
    Install Flash Professional CC and Mobile Device Packaging app. On a high speed connection, it took me around 8 minutes.
    After the application is installed, you can launch the application directly from the desktop app by clicking on it.
    Thanks & Regards,
    Sangeeta

  • When I try to copy a drawing with text, it only pastes the text,  can anyone help me?

    When I try to copy a drawing with text, it only pastes the text,  can anyone help me?
    adobe illustrator cs5

    Are your drawing layers locked and the text layers unlocked?  So far it sounds as if the "Copy" command isn't grabbing anything but the text.  I've had a similar problem with text not coming across when I saved my vector art as a raster image: for that I had to remove a compound path or something from the text before it would come over.
    Make sure your layers (and sublayers) aren't locked, and check your compound paths and clipping masks to see if there's something funny going on.

  • How to draw with mouse on Html 5 canvas inside browser (using createJs).

    Hi Everyone,
    In Flash AS2/3 we can draw with mouse in browser (of course inside Flash Player). How can we do that in Flash CC Canvas using CreateJs (result must be in canvas not in flash player). Something like this http://www.codicode.com/art/how_to_draw_on_a_html5_canvas_with_a_mouse.aspx
    Thanks in Advance

    This is a bit more of a JavaScript / Canvas question than a Flash question. I realize you're using the Flash product but Flash CC is just giving you an IDE with limited JavaScript automation.
    In this mode you're expected to be familiar with JavaScript and CreateJS. Are you?
    If not, what you might want to do is look at a sister product for HTML5 Canvas automation called EaselJS. It's a JavaScript library that makes using the Canvas very easy. Have a look at the commands here:
    http://www.createjs.com/Docs/EaselJS/modules/EaselJS.html
    You might find you don't need Flash CC to perform what you want. Otherwise this conversation may tip so deeply into JavaScript and CreateJS that it might be more prudent to use the Dreamweaver forum.

  • How to replace a string with asterisks? This is related to my previous post

    I guess I now need to replace the middle segment of what is retrieved with asterisks.
    So, the string in the middle '99999988' should be replaced with '********'. I am basically trying to mask the middle sement string. The length of the original string is not known but the first segment is 6 characters and 3 segment is 4 characters. The middle sement can be anywhere between 5 to 10 characters. In the example below, its 8 characters.
    Can I use REPLACE or TRANSALE functions in here ?
      select substr('456712999999881234', 1, 6) a,
             substr('456712999999881234', 7, length('456712999999881234') - 10) b,
             substr('456712999999881234', -4) c
      from      dual;Thanks

    if the middle section is entirely numbers then translate(&lt;middle_section&gt;, '1234567890', '**********')
    otherwise rpad('*', length(col)-10, '*')
    eg:
    select substr('456712999999881234', 1, 6) a,
             translate(substr('456712999999881234', 7, length('456712999999881234') - 10), '1234567890', '**********') b,
             substr('456712999999881234', -4) c
      from  dual;
    A      B        C  
    456712 ******** 1234
    select substr('456712999999881234', 1, 6) a,
             rpad('*', length('456712999999881234')-10, '*') b,
             substr('456712999999881234', -4) c
      from  dual;
    A      B        C  
    456712 ******** 1234Although thinking about it, I'd just go for the rpad version; requires less processing that using the translate version, and works for more situations (ie. even if there's characters in the middle section, rather than just numbers)
    Edited by: Boneist on 16-Jul-2009 16:54

  • Correct Blackberry password is not accepted and it shows what I'm typing instead of masking it with asterisks!

    I'm locked out of my Blackberry again because it appears to be malfunctioning.  When I type the password, it shows what I'm typing, instead of masking it with asterisks, and reverts to the alphabet unless I press Alt+ the key.  Even when I carefully enter the correct password, it always says it's wrong.  I have 2 or 3 tries left.  Last time this happened a few months ago, it ended up wiping everything.  I would like to avoid losing some valuable audio files that are stored only on the phone.  Thanks!
    Solved!
    Go to Solution.

    I think you have a couple misconceptions about BlackBerry device passwords.
    1. When you have entered the password incorrectly about five times, the ****** mask will show you the actual characters you are entering with the intent to help you see what you're entering.
    2. Often users who have multiple numerals in their password will only press the ALT key for the first numeral and not those following, so for instance, if your password were "1234", you might have been pressing "Alt 1234" on the device, which makes the actual password to be "1ers".
    Does that make sense? Does it sound familiar to your usage? So check the way you enter your password on the device... do you think you are entering multiple numbers but actually are not?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for