Java Core GUI APIs: Zooming/streching turtle

  • adrian_m_hanslik / 200 / Wed, 24 Jun 2009 20:09:00 GMT / Comments (1)
  • Hello there,

    I'm working on the well-known graphic demo 'turtle',
    which will be included in a larger project,
    where I have to simulate a route of a robot.

    As I'd like to insert functions like zooming, streching etc.,
    I'd like to know which classes are most suitable for that?

    At the moment I'm using the drawLine-method for the path.
    But it's hard to insert a zoom function to it,
    as I have to save all coordinates an calculate the changes,
    which is very time-consuming, it flickers, ...

    Are there any better ideas for a solution?

    Thank you very much
    Adrian
  • Keywords:

    zooming, streching, turtle, java, core, gui, apis

  • http://java.itags.org/java-core-gui-apis/66608/«« Last Thread - Next Thread »»
    1. Adrian M. Hanslik wrote:
      > Hello there,
      > I'm working on the well-known graphic demo 'turtle',
      > which will be included in a larger project,
      > where I have to simulate a route of a robot.
      > As I'd like to insert functions like zooming, streching etc.,
      > I'd like to know which classes are most suitable for that?
      > At the moment I'm using the drawLine-method for the path.
      > But it's hard to insert a zoom function to it,
      > as I have to save all coordinates an calculate the changes,
      > which is very time-consuming, it flickers, ...
      > Are there any better ideas for a solution?


      AffineTransform.

      > Thank you very much
      > Adrian
      >

      Remove my extraneous mandibular appendages to reply via email.

      jimsculley | Wed, 30 Apr 2008 10:54:00 GMT |

  • Java Core GUI APIs Questions

    • java laf not showing up

      I was writing a test app that is just a JFrame to test out swing. I imported the swing package, crea...

      By coffeecana, 1 Comments

    • Making Java GUI code open source?

      Hi I am a beginner to Java. I was wondering if this was possible.Say I write a calculator applet to ...

      By celendina, 3 Comments

    • Data Grid API

      Dear all,I am looking for a datagrid with some common features, such as sorting, filtering.I have fo...

      By hktonya, 3 Comments

    • how to implement resizing of tree node (or any Box...

      Hello,Each node of my JTree contains JPanels in a Box. But actually, this is a general question. Is ...

      By anilp1a, 1 Comments

    • Data from Graphics/Image

      Hello,I've a problem with retrieving data from a BufferedImage:first of all, I create an empty ...

      By benjamin_schmid, 1 Comments