Results 1 to 2 of 2
  1. #1
    lulzim is offline Member
    Join Date
    Feb 2011
    Posts
    44
    Rep Power
    0

    Default GUI problem, interaction in Java!!!

    Hi guys,
    Does anyone of u have tried before how to make a simple interaction using shapes in java.
    For example: I want to create a rectangle and a button from where I make it increase the size of shapes slowly , i mean i want to show it while increasing the size slowly, it is interaction im sure u guys have heard about this.
    I was thinking using threads about this each 1 second ito increase the size of shape but it didnt work.
    I would appreciate if anybody show me a litle bit example how it might look.

    Thanks Lulzim

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    it didnt work
    Can you explain what the problem was?
    Were you calling some of the Graphics class draw... methods in a paintComponent method?

Similar Threads

  1. class design/interaction problem
    By wotupduck in forum New To Java
    Replies: 4
    Last Post: 03-20-2011, 05:54 AM
  2. GUI interaction
    By Glyph in forum New To Java
    Replies: 6
    Last Post: 10-19-2010, 07:43 PM
  3. Java interaction
    By satimis in forum New To Java
    Replies: 4
    Last Post: 06-30-2010, 05:14 PM
  4. Replies: 5
    Last Post: 01-10-2010, 02:47 PM
  5. program interaction possible?
    By Pierced1 in forum Advanced Java
    Replies: 3
    Last Post: 02-19-2009, 12:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •