Help... how to make self-paint control

Dear All.
I really hope can find some helps from here as I'm a beginner in Java.
I'm making a project , in a dialog which must contains some self-paint controls. Just like a sheet contains some cards located in from column to row. e.g 4 column, 2 row of cards.
It must able to select, to change the text, to change color etc..
I have no idea how to do. Could anyone give me some hints and example? what control should I extends for?
Many thanks for help..

I have to make a dialog, that allow user to order the cards.
e.g. I will have 4 col x 2row cards.
each card shows a string and some data.
when user select the card, the background color or this card will be highlighed. etc.
user also able to re-arrange the card order , rotation etc...

Similar Messages

  • How to make a painting

    How to make a painting with Photoshop Touch
    Experiment with different painting styles. Use a variety of brush stroke effects to create different looks.
    1. After selecting the "Make a Painting" tutorial, press "Begin Tutorial" to start. Tap Adjustments > Saturation.
    2. Set the value to 100% to intensify the colors. Tap OK.
    3. Tap Add Layer > Duplicate Layer. You'll create the painting on this layer.
    4. Tap Effects > Artistic > Acrylic Paint
    5. Enter these values: Jitter= 85%, Size= 20%, Length= 0%, Tap OK. This creates a pointillist effect.
    6. Tap the target on this layer to hide it. Tap the bottom layer.
    7. Tap Effects > Artistic > Acrylic Paint
    8. For an abstract brush effect, enter these values: Jitter= 100%, Size= 30%, Length=138%. Tap OK.
    Tip: To enter the percentage by number instead of using the slider, tap the value field to open the keyboard editor.
    9. Tap the target on the top layer to unhide it and decide which effect you like best.
    Tip: To delete an unwanted layer, choose the layer in the layers panel. Tap Layer options > Delete layer to remove the layer.
    10. Tap the back arrow in the top options bar. This will prompt you to save. Press Save to save your project.
    Download the attachment to view the tutorial in PDF format.
    Janelle

    again thank's for your answer but I try all of things in this site and what can help me is this
    http://nonlinear.openspark.com/tips/xtras/multiuser/whiteboard/index.htm
    ifI could change size and the main page of it without any problem could you say me why it dose'nt work corectly after changing?

  • How to make Self stopping Counter with Multisim?

    Please help me to make Self Stopping Counter with multisim.
    Attachments:
    Make Self stopping Counter Circuit with Output as.doc ‏188 KB

    Hi,
    If you want the timer to pause at a certain count, you can build a circuit to disable the clock input.
    Tien P.
    National Instruments

  • How to make my SLIDER control the movement of animations: ( fast & slow)

    hello!
    i wanna do water dropping animations. using a slider, to controlled how fast and slow the animations can be.
    please help me!!!

    I need help about controlling my animations with slider.
    I already know about slider & water dropping animations, but how to make this 2 things interract.
    Right now i have slider and water dropping animations, but when i scroll my slider up and down, my animations still with the same speed.
    In my opinion, i think, i need to make one func/method that take var from slider and transfer it to water dropping var(controlling the speed of anim...).
    eg: (coding)
    //class bla...bla...bla...
    JLabel sliderValue = new JLabel("Value = 25"); // slider var
    JSlider sliders = new JSlider(JSlider.VERTICAL, 0, 50, 25);
    WaterDropPanel drop = new WaterDropPanel(); // waterdropclass
    JButton start = new JButton("Start"); // start anim...
    JButton stop = new JButton("Stop"); // stop anim...
    //waterdrop class...
    class BulatanPanel extends JPanel implements Runnable
    private Thread runner;
    int yPos = -20;
    int yMove = 4;
    void playAnimation()
    if (runner == null);
    runner = new Thread(this);
    runner.start();
    void stopAnimation()
    if (runner != null);
    runner = null;
    public void run()
    Thread thisThread = Thread.currentThread();
    while (runner == thisThread)
    yPos += yMove;
         if (yPos > 310)
         yPos = -20;
    repaint();
    try
    Thread.sleep(10); // var controlling the speed of anim...
         catch (InterruptedException e) {}
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D)comp;
    comp2D.setColor(Color.black);
    comp2D.fillRect(0, 0, 250, 240);
         comp2D.setColor(Color.red);
    comp2D.fillOval(110, yPos, 20, 20);
    // slider event handling... ( In my constructor)
    public void stateChanged(ChangeEvent e)
    sliderValue.setText("Value = " + ((JSlider) e.getSource()).getValue());
    I'M SORRY IF ITS TOO LONG

  • How to make a painting book?

    hi everybody I'm realy new in director and I want to make a paintting book  I found this example http://nonlinear.openspark.com/tips/xtras/multiuser/whiteboard/index.htm
    but i have 2 problem with it
    1) when I chane the size of it
    2) when I change the main page of it (green page) with my selected Image
    in these 2 situation it doesn't work corectly
    what I should do?

    again thank's for your answer but I try all of things in this site and what can help me is this
    http://nonlinear.openspark.com/tips/xtras/multiuser/whiteboard/index.htm
    ifI could change size and the main page of it without any problem could you say me why it dose'nt work corectly after changing?

  • Please help : How to make the anomalistic table just like below?

    Hi all,
    How to make the anomalistic table just like below? Anyone can give the way detail or thoughtway ?
    http://61.132.17.188/webber/table.gif

    This is just a suggestion.
    If you put your "JTable" in a "JScrollPane", then you can add any "java.awt.Component" to the corner of the "JScrollPane" -- using the "setCorner()" method (of "JScrollPane").
    I would suggest making a custon "JPanel" and overriding its "paintComponent()" method to draw a diagonal line (and the required text) on it.
    You can find out more about how to do this from the links I provided in my first reply.
    Hope this helps.
    Good Luck,
    Avi.

  • Help: how to make photo enlargements?

    hi there, i'm am currently constucting a website using iweb. i have managed to create a photo page with all the thumbnails i need.
    can anyone tell me how to make it so when someone clicks on a particular thumbnail and enlargement or the actual size of the photo opens up in a separate window as you find in regular galleries?
    also, is this an effective method, or does it take up a lot more memory when uploading the site, or would it just be better to have larger thumbnails that are more visable?
    any help is appreciated, thanks!
    MacBook2,1   Mac OS X (10.4.8)  

    This should be already happening if you are using a photo page template.

  • How to make a simple control value comparison a user event?

    Hey everyone,
    I am trying (with no luck) to figure out how to make an event out of a simple control comparison without having to put the controls inside a while loop to be polled or in the event structure.
    For example; how do I make an event when 'numerical control 1' equals 'numerical control 2'?
    I know that I could have these inside a while loop with the event structure and then wire the comparison to a boolean, then reference the boolean's value change event.  But rather, I would like to create an event for the comparison without the boolean and outside the while loop such that the loop doesn't have to run through the comparison each time, and doesn't have to poll the controls and bool.
    Thanks for the help

    Attached is a simple user event structure that I was thinking about.  Using this you can decouple the control from the comparison, it just works on valye comparisons.  Since it uses the event structure there is no polling and is very CPU friendly.  I have allowedfor the comparison to be linked to the "Value 1:value change event" and the compare button true event.  I hope this is what you were looking at.  Also since it is a user event which is dynamically registered you can register/unregister it at will durring execution making it a flexable event handler.  It might be alittle buggy because I have spent about 3 minutes developing it (particularry when passing values into the event structure there might be a state issue from the data flow so local variables are a better choice)
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA
    Attachments:
    CompareEventvi.vi ‏49 KB

  • How to make a table control header become two rows?

    Hi, all.
    May I know how to make the static header/label rown in table control on screen become two rows?
    As we know, normally a table control's first row is header, and starting from the second row onwards are it's content or data. So, now I would like to make the hedear/label become first two rows.
    Anyone know about it?
    Thanks in advance.

    Hai Lim,
    Kindly search in SDN.
    "You can't actually have two lines but you can create a title which you may be able to align with the headings to achieve what you want. On the table control tick the 'w/title' box. It then forces you to put an element into a line at the top of the table control."
    Regards,
    Harish

  • How to make appear all controls?

    in examples, some controls appears
    how to make these control appear in a new project?
    i'm looking for data i/o controls
    thanks

    Not sure what the problem is...if you see a control in one of the examples that you want in another VI just copy and paste. If you want to make a front panel template just create a VI template (option in the new...dialog) and paste and arrange the controls on the front panel of that...
    If there is code in the example that hides the control and you wonder how to make it appear again just go to the diagram, locate the terminal of the control, right-click on it and select show...
    If the problem is how to make all controls on a panel appear (if e.g. there are 100 controls hidden and you want to un-hide them all)...open a reference to the front panel of the VI, get a reference to all the controls using the get control refs property and then wire the array of references
    to an auto-indexed for-loop where you wire the references to a "visible" property and set the property to true...run it and all the controls will reappear.
    MTO

  • Help:How to make static text in JTextField??

    How to make a text to be displayed initially on a JTextField, yet we can not change the text (so the text
    is static)?
    The other question:
    How to make an input mask so that a JTextField
    has input pattern of XXX.XXX.XXX.XXX
    (which is the mask of IP Address) ??
    What I know that limiting input in JTextField can be done
    by extending PlainDocument....what about the cases above??
    Please reply if you know.
    Thanks a lot,
    Ted.

    For the first question, just call setEditable(false).

  • Please, I need help in this,How to make a tree control appear from right to left ??

    i working on Arabic project in which we use a tree control and i  want it to display its branches from right to left .
    i tried to rotate it but it doesn't work because the disclosure triangle still appear on the left .
    i ask if there is any thing to mirror the tree control ,and ask if this mirroing will work or not?

    You'll need to modify the layout logic of your renderer.
    Here's a simple example that extends the default tree renderer and overrides the updateDisplayList method(). It will probably need more work. Set textAlign="right" on your Tree control when you use this renderer. You'll also need to supply a disclosure icon that points in the opposite direction.
    package
        import mx.controls.treeClasses.TreeItemRenderer;
        import mx.controls.treeClasses.TreeListData;
        public class RightToLeftTreeItemRenderer extends TreeItemRenderer
            override protected function updateDisplayList(unscaledWidth:Number,
                                                      unscaledHeight:Number):void
                super.updateDisplayList(unscaledWidth, unscaledHeight);
                var startx : Number = data ? TreeListData( listData ).indent : 0;
                startx = unscaledWidth - startx;
                if ( disclosureIcon )
                    disclosureIcon.x = startx - disclosureIcon.width;
                    startx = disclosureIcon.x;
                if ( icon )
                    icon.x = startx - icon.width;
                if ( label )
                    label.x = 0;

  • How to make the common control button for all pages in TABCONTROL​?

    Dear all,
               I'm using TABCONTROL for my application. I'm having STOP and SAVE control. I have to show this button to all pages  in TABCONTROL.. How do i make it?
    Kindly help me?..
    Regards,
    Srinivasan.P
    Solved!
    Go to Solution.

    Hi srinivasan,
    If you want to keep "Save" and "Stop" common, Why do you want to keep them on Tab control? Is your tab control taking entire space on Front panel? If so, you can have SAVE and STOP on other vi, and you can call this vi (MODAL).
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • How to Make a Table control Field Editable but input disabled

    Hi All,
        I got a requirement that in table control one column should be in edit mode (i.e. input enabled) but user should not be able to type anything in that field or column rather he can select the value from F4 help (or pick list) associated with that field or column. How to do this ? Please dont say make sceeen-input = 0 for that field.
    Experts please help me out...........
    Thankx in Advance
    Rizwan Ahmad Siddiqui

    Hi,
    I suggest you to go for a drop down instead of a search help.
    Regards,
    Charumathi.B

  • Need a help: how to recover using backup control file?

    Please a help:
    First computer
    1. I create a database
    2. put it in archive mode,
    3. shutdown and made a cold backup
    4. Created backup control file (alter database backup control file to trace)
    5. I started up and created some archived log files.
    Second Computer
    1. I copied all files created in the step 3 above except the control file
    2. I create all the same map directory on the 2nd computer as in the 1st computer
    3. I recreate the control file from the script got in the step 4 above
    4. I Copy archived log files generated at the step 5 in the local directory in the second computer
    5. I set the logsource and set the autorecovery to on
    6. I recover the database: RECOVER DATABASE USING BACKUP CONTROL FILE UNTIL CANCEL
    Error got:
    the archived log file applied do not go beyond the first one?,How could I do to applied all archived log files copied from the first computer to the second computer to have the same data?
    Thank you very much

    archived log sequeces in the first computerSQL> select sequence#,first_change#,next_change# from v$log_history;
    SEQUENCE# FIRST_CHANGE# NEXT_CHANGE#
    1 553723 555484
    2 555484 557345
    Actions I did in the second Computer(after copied the former two archived log files from the 1st computer)
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    5 MAXINSTANCES 8
    6 MAXLOGHISTORY 292
    7 LOGFILE
    8 GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M,
    9 GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M,
    10 GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M
    11 -- STANDBY LOGFILE
    12 DATAFILE
    13 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF'
    17 CHARACTER SET WE8ISO8859P1
    18 ;
    Control file created.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Disabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 0
    Next log sequence to archive 0
    Current log sequence 0
    SQL> alter database archivelog;
    Database altered.
    SQL> set logsource C:\local_destination1_orcl
    SQL> set autorecovery on;
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 555611 generated at 01/18/2007 14:14:14 needed for thread 1
    ORA-00289: suggestion :
    C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC
    ORA-00280: change 555611 for thread 1 is in sequence #1
    ORA-00328: archived log ends at change 555483, need later change 555611
    ORA-00334: archived log:
    'C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC'
    Idon't know where the change 555611 is coming from?

Maybe you are looking for