Office-landscape drawing applet. tough one?

Hello almighty guru's!
I'm creating a Java applet that is going to be an build-it-yourself office-landscape.
The applet will have a "draft view" where the user can define their workspace by length and height and draw a sketch of their location. The sketch consists of objects like walls,
windows and doors. Different objects can be placed on the sketch by selecting them from an object pane.
In addition, the applet will have a "design view" where user can select the items and place them on the workspace. Items such as chairs, tables, PC's, etc (stuff that belongs in an office). All items are to be dragged and dropped from an object pane on the left side.
Items can be scaled, rotated, inverted, duplicated, etc. when placed on the workspace.
A "toolbox pane" will exist to enable the user to perform the various functions on an object.
A "propterites pane" will exist where the user can set the properties of each individual object that has been added to the workspace.
Items are typically image files loaded from the disk.
Any suggestions on good ways of implementing this system would be highly appreciated.
This is how I was thinking of doing it
======================================
- the "draft view" (workspace, ground level, floor) is a class implementing JPanel(ImageIcon?), where lines etc. can be drawn (lines reprecenting walls from above of course).
- I will need some way of keeping track of the objects that has been dragged onto the workspace (doors, windows). An array of objects within the class?
- the object pane is a class implementing JScrollpane which lists all items available
- each of the items found in the object pane should be classes (implementing ImageIcon?) - with properties (for scaling, rotation, invertion)
The "design view" would be implemented pretty much the same way, only with the "draft view"-workspace in the background and a different set of items that the user can add to the workspace (chairs, tables, etc.)
How do you guys think this applet would perform? I need to think speed/performance, since possible hundreds of "items" may exist (objects with different properties).
I have to redraw the "draft view"-workspace and the "desing view" workspace with all its objects each time a paint() is done - this will be slow?
I have browsed though many of the messages posted here before, and found some relevant ones.
Especially, "keeping track of multiple images on screen": http://forum.java.sun.com/thread.jsp?forum=20&thread=249113
.. but I need more info. I want to think this one through thourougly before I start so I don't get stuck half-ways ..
Bj�rn B�rresen /* hoping for some constructive feedback */ :)
PS! If my lack of english skills has managed to make something diffuse, please let me know so I can clearify.

Thanks for your replies guys. Yeah Erik, it would be nice to do it in 3D, but we'll do the first version in 2D, just to not make the project bigger than it is. 3D will be a version 2 thingie :)
I'll send you an e-mail on thursday Noah (when I'm back on work). I've read some of your replies in here and must say you're a resource in this forum! =)
anyone else wanna have a go, please feel free :)
- Bj�rn

Similar Messages

  • Office Web Apps - how to disable office web apps features for one web application

    ENV: Sharepoint 2010 farm with office web apps + fast search
    I have the requirement for one web application to open all its documents in client applications - I can enable feature "OpenInClient". This web application uses team site template and other web application also uses team site template. ( feature
    stapling ruled out)  Now I can run powershell cmdlet to enable this feature on all the currently existing site collections. But the requirement is to enable this feature for all the future site collections. This web applications has 60 k site collections
    and atleast more than 10 site collections get created each day and they dont like the option to run a powershell script each day to activate this solution.
    Is there any other way to by default activate new site collections on this WA to open in client applications by default (can we disable this office webapps features only on one web app)?
    VM

    I have learnt from this forum that it is not possible to turn off Office web apps on single web application. The line of control lies at farm level and then at site collection.
    Disable
    Office Web Apps on web application
    VM

  • HP Office Jet J6480 All In One - will not scan with Mac OS 10.8 .3

    I have been unable to get my HP Office Jet J6480 All In One to scan after upgrading to 10.8.3.I have followed other posts and have installed the most up to date driver (http://support.apple.com/kb/DL907) but each time i try to scan from the HP device manager or the photosmart studio, it says "Sorry, scanner could not be intialized. (scanner not found)"  I have tried making sure there are no other updates by clicking on settings in the device manager and clicking check for updates but it tells me "server not availalbe - the software service is currently not available. please try again later" and i have gotten this error for the last week.
    I followed the second set of instructions found here: http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/HP-Software-Update-Server-Unavailable/td-p/18... to try to resolve that issue and have installed the software found at the link. I rebooted my computer and am still having the same problem.
    Note: My printer is wireless and i have not hooked it up via a cord. Will that make a difference?
    My printer seems to be printing fine.
    Thank you for any help you can provide.
    Sara
    This question was solved.
    View Solution.

    Try scanning from your Mac.  Use Image Capture app in your Applications folder.
    Click once on the scanner on the left side, then click on Show Details along the bottom.  Along the right side you will see LOTS of options for scanning and saving.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How to enlarge picture on my hp office jet 6600 all in one printer

    how do i enlarge pictures from my hp office jet 6600 all in one printer

    Hi,
    Are you talking about copy, scan or print ?
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • HT201269 Bit of a tough one...I have a hard drive, iPod and iphone synced to an itunes on a computer that's been irreparably broken. Just bought a macbook pro and want to try and salvage everything onto the itunes on there. Any ideas?

    Bit of a tough one...I have a hard drive, iPod and iphone synced to an itunes on a computer that's been irreparably broken. Just bought a macbook pro and want to try and salvage everything onto the itunes on there. Any ideas?

    Yeah it seems to be fine although I'm a bit reluctant to fire it up with the Mac just incase. Thanks for the response btw

  • How to load 4x6 photo paper into a hp office jet # j6480 All-in-one​?

    how do i load 4x6 photo paper into a hp  office jet # j6480 All-in-one?

    Hi jdz198,
    You will load the photo paper face-down on the right side of the paper tray. Here is a document to follow.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • How do you set the time and date for the fax on the HP Office Jet 4622 All-in-one Printer?

    I installed the HP Office Jet 4622 All-in-one Printer and everything works wonderfu.  However on the test page for the fax the time and date are showing Jan-00-00 00:00AM.  I do not know how to change the date and time.  Please help.  Thanks.
    This question was solved.
    View Solution.

    Use the Setup (wrench icon) button on the front of the printer to look through the settings menu to set the printer time and date.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How can I create a drawing like the one pictured from a photo?

    How can I create a drawing like the one pictured from a photo?

    OK, you are getting closer. Now, use your result, and place a Layer above that. Use the Pen Tool to create the "pen strokes" basically tracing over your background image. Then, when you have created each Path (or Sub-Path), choose Stroke Path, with probably the Pencil Tool and a Brush size that is small enough.
    Not sure which versions of PS these are good for, but here are some plug-ins, that might be helpful.
    AKVIS Sketch
    EdgeLine
    Sketch Effects
    Sketch Master
    I see that one of my old favorites, Flaming Pear's India Ink is not around any more.
    Good luck,
    Hunt

  • Ideas for integrate two landscape that individually has one XI system

    does anyone have the Ideas for integrate two landscape that individually has one XI system?
    our scenario is: in one customer side we have a xi as integration approach, and the other one also has one xi, we need to integrate them two landscape together
    and use one of the xi server as a central access points.
    my concern is :  is it a good idea to reach this goal ? since this is a
    task like;   app in landscape 1 ---> xi1 -
    > xi2 ---> app in landscape 2
    are there any other solutions ?
    thanks a lot !!

    Hi
    I guess its a XI-XI Scenario.You need to integrate two XI's
    For Reference
    XI to XI communication
    idoc to file scenario
    Thanks

  • Help removing background...tough one.

    Hello adobe gurus...
    My 1st post...and it's a tough one (for me anyways).
    I know how to delete a backround...but I can't figure how to loose all the green in this, make it transparent and just keep the chimp. It's the gradations of the backround and his hair that are the problem.
    Any help with this is VERY much appriciated. The gauntlet is thrown down.
    Thanks, all!

    You might want to download the the freeware PSE add-on GML. This tool extracts an item from a picture and places it on a transparent background.  It works especially well in extracting fine areas such as hair, as you can see in this example. I added a white layer at the bottom so you can better see the result.
    I tried GML Matting on your picture and added the white backgrond layer.
    Refer to forum topic http://forums.adobe.com/message/2104909 for more details. Also there user Terri_F offered another method that might work for you.
    You can download GML Matting at http://graphics.cs.msu.ru/en/science/research/imageprocessing/matting

  • Draw 20% of one image and 80% of another?

    Hi all,
    I'm creating a UI functionality whereby a user holds down a button and an image of a glass slowly fills up.
    The way I'm thinking of implementing this is to have two different images, one of the empty glass and one of the full glass. As the user holds down the button, the image of the first is slowly replaced by the image of the second. E.g., after one second, 20% of the full image is shown at the bottom, 80% of the first is shown at the top.
    The timing stuff I think I can do with a thread, so I'm not too worried about that. However, what I need is a simple method, or maybe a whole class, that can take two images and draw x% of one on the bottom and y% of the other on the top.
    Can anyone think of a simple way to implement this?
    Thanks,
    Tim

    Hmmm... after playing with that a while, it doesn't look like that will do the trick. As far as I can tell, the drawImage methods will always scale the image if you pass it in a rectangle of a different size. So trying to get 50% of a full glass on top of an empty glass results in a squished full glass.
    Instead I realized I could do it using Graphs.clipRect, like so:
    public class OverlayedImageIcon extends ImageIcon
         private Image overlayImage;
         private float overlayPercent;
         public OverlayedImageIcon(URL url)
             super(url);
         public void setOverlayImage(Image image){
              this.overlayImage = image;
              loadImage(overlayImage);
         public void setOverlayPercent(float percent){
              this.overlayPercent = percent;
         public synchronized void paintIcon(Component c, Graphics g, int x, int y) {
              super.paintIcon(c, g, x, y);
              Shape oldClip = g.getClip();
              int subtractHeight = (int) ((float)getIconHeight() * overlayPercent);
              g.clipRect(0, getIconHeight() - subtractHeight, getIconWidth(), getIconHeight());
            g.drawImage(overlayImage, x, y, getIconWidth(), getIconHeight(), getImageObserver());
            g.setClip(oldClip);
    }Thanks for pointing me in the right direction, though!

  • Would like to know name of app used in iPad commercial landscape drawing demo       drawing

    I hav sever drawing (graphic) apps but would like to find out name of app used to make landscape drawing in the recent iPad commercial

    Penultimate  it's what I use its really really nice

  • Error: OXfOaf 8004 for HP office jet 5510v all in one printer fax copier scanner

    HP office jet 5510v all in one printer, fax, copier, scanner. Error message: see above subject for  error info. My printer is like frozen...can only shut off by unplugging. Help..please and thank you!

    Use the Setup (wrench icon) button on the front of the printer to look through the settings menu to set the printer time and date.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Help with a driver to enable HP Office jet 5610 all in one printer to work with ubuntu

    trying to scan and up load to my computer, but my HP office jet 5610 all in one printer does not work with Ubuntu.. Need new driver or something.

    This is a Firefox help forum, so getting your printer working on ubuntu is beyond the scope of this forum. I would recommend something like [http://www.ubuntuforums.org/ www.ubuntuforums.org/] for help

  • WHAT IS THE BEST NAD EASIER WAY TO REPLACE THE SKY IN A LANDSCAPE FOR A DIFFERENT ONE?

    WHAT IS THE BEST AND EASIER WAY TO REPLACE A SKY IN A LANDSCAPE FOR A DIFFERENT ONE?

    depends who clunk you can get away with.
    easiest is magic wand and use the layer properties to make it 'multiply' or 'lighten' or 'darken' etc as suits your images.
    a step on from this would be to use the layer blending options. it's the easiest way to get a good overlay,
    paste the new sky image into your image and scale it to fill the whole area, then double click the layer
    then use the blending options especially noting the 'blend if' sliders at the bottom which you can use to tell it to allow different tones to show through.
    this mixed with holding the l'alt' key as you adjust the sliders allows you to fade from 0-100% of certain tones being visible through the layers, so you can for example allow you new sky layer to be seen in between branches of a tree etc. fiddle with it and you'll see what it does.
    combine this with a layer mask where you can paint out bits that you definitely don't want the sky to show through.

Maybe you are looking for