Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: imp
  • Order by date
  1. imp

    (Hopefully) easy question about applet / servlet communication

    I'm trying to create a client/server app using applets and servlets. (This is my first time playing with servlets, so please forgive any very ignorant remarks.) It looks fairly straightforward to make applet/servlet communication work when the applet makes requests to which the serlvet...
  2. imp

    How to do fast graphics?

    I'm trying to do some animation with a pretty good frame rate. I've heard this can be done by doing all the "drawing" onto an array of ints (where each int represents the RGB(a) values of a pixel) and then dumping the array to a Component (Frame, Panel, etc.). I haven't been able to...
  3. imp

    Req: Help on design of zoomable image viewer.

    I'm planning to develop an image viewer / paint application with zooming capability (i.e. where you can zoom in x2, x3, etc., making the image in the viewport display bigger & smaller, and being able to use scrollbars to move around the zoomed-in image). Are there standard Java objects...
  4. imp

    FlowLayout contents not wrapping.

    I subclassed Canvas as well.
  5. imp

    FlowLayout contents not wrapping.

    I have NOT tried to create a custom Layout Manager yet. I think a Layout Manager would be the best approach, since otherwise I'll just end up having to do all that repositioning code in the "window resize" (?) event listener anyways, right? I guess maybe my question should be...
  6. imp

    snake algorithm

    I would say, split the snake up into "square" segments, with each segment occupying a coordinate on the map. When the snake moves, all you really need to do is add a new "head" segment 1 coordinate north, south, east, or west of the current "head" and remove the...
  7. imp

    FlowLayout contents not wrapping.

    I'm having layout problems, which I'm hoping will be easy to answer. I'm trying to make a row of smarticons in my Frame. I made an ImageButton class and created several instances of it that I added to a Panel that's set up with a FlowLayout. This by itself works great if I just add the Panel...
  8. imp

    How to avoid flicker? (tried double-buffering)

    <b>Excellent! Groovy! That did the trick!</b><br>So palbano, is there some book, web site, guru, or other source of important-but-not-obvious information such as &quot;<FONT FACE=monospace><font color=blue>Component.update ()</font></font> paints the background color before calling <FONT...
  9. imp

    How to avoid flicker? (tried double-buffering)

    <b>I made the below application to see if I could implement double-buffering to<br>avoid flicker during animation.&nbsp;&nbsp;I did the double-buffering, but I'm still<br>getting flicker.&nbsp;&nbsp;It appears to be caused by the MyFrame.paint () method<br>painting the Frame background before...

Part and Inventory Search

Back
Top