Please help need advice with planned project!

Hi, im not sure if this is the correct forum to post this (there are so many!) just move it to the correct place if it isn�t.
I need some advice on the correct way of coding a feature that is essential to my dissertation project.
Basically the project is going to be a particle effect tool that works in a similar way to the particle flow tool works in 3DSMax if anyone has used it, if not here is a screeny:
http://www.artificial-studios.co.uk/DumpingGround/partview01.png
It allows you to visually represent your particle system by joining components together and linking them with connecting lines.
Now my questions is what would be the correct way to implement this in java? I am currently using a series of JSplitPanel's to split the main frame up then using a JPanel for the main area and other JPanels for the individual elements that you can move around and link up, here is a screeny:
http://www.artificial-studios.co.uk/DumpingGround/partview02.png
My problem is that when i add a new element via a right click menu I have to call revalidate on the main panel, this causes all the elements to return to their default position. The same thing happens whenever you move one of the JSplitPanes as it called revalidate.
So im wondering if im doing this the correct way, i see that there are many other kinds of panels provided with SWING and wondering if any of the others are perhaps more suited to my requirements?
I know that its definitely possible as Poseidon UML was coded entirely in Java and it has many of the features i am looking for:
http://www.artificial-studios.co.uk/DumpingGround/partview03.png
As this will be my first large GUI application i wasn�t sure where to turn so if anyone can me any advice whatsoever it would be greatly appreciated. Also if anyone can point me to any books or reading material concerning professional GUI design so that i may be able to code applications that look as professional as Poseidon or Netbeans it would be greatly appreciated.
Thanks,
Mike

Do you know about Data Access Object(dao)?
Assume you want to add hydrogen molecule to a panel, you create a new object with the class(class Molecule) representing a new molecule( H2, O2 or H2O).
You can also create a dao for this object of Molecule
class MoleculeProperty
           private int xLocation, int yLocation, ZLocation;
           public void setYLocation(int tempYLocation)
                       yLocation = tempYLocation;
           public int getYLocation()
                       return yLocation;
           public int getZLocation()
                       return zLocation;
           public void setZLocation(int tempZLocation)
                       zLocation = tempZLocation;
           public void setJustUpdated(boolean tempInput)
                   justUpdated = tempInput;
           public boolean getJustUpdated()
                   return justUpdated;
Either within your method paintComponent(Graphics g) or your panel for drawing molecules or method paint(Graphics g), it reads MoleculeProperty of Molecule and it can draw it in proper location.
After you have created a new Molecule, dao.setJustUpdated(true) . At the last line of method paintComponent(Graphics g) or paint(Graphics g), dao.setJustUpdated(false);

Similar Messages

  • HT5631 how do I verify my apple id? I can't sign in to it in mail and I can't make a new one because it just will not process I'm trying to set up iCloud between iPad and iPhone and having ALOT of difficulty pleAse help need it done by later on today!!!!!

    how do I verify my apple id? I can't sign in to it in mail and I can't make a new one because it just will not process I'm trying to set up iCloud between iPad and iPhone and having ALOT of difficulty pleAse help need it done by later on today!!!!!

    In order to use your Apple ID to create an iCloud account, the primary email address associated with the ID must first be verified.  To do this, Apple will send a verification email to your account and you must respond to the email by clicking the Verify Now link.  Make sure you are check the spam/junk folder as well as the inbox.  If it isn't there, go to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right click Resend under your Primary Email Address to resend the verification email.

  • My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to lissen I had to put on loud speaker or to use handsfree please help me out with this problem if some body have answer?

    My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to listen I had to put on loud speaker or to use hands free please help me out with this problem if some body have answer?

    Hi Venkata from NZ,
    If you are having an issue with the speaker on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • HT4972 the apps weve downloaded are not working.  please help,  extremely frustrated with our ipod 4

    the apps we have downloaded are not working,  please help,  extremely frustrated with our ipod 4

    See my previous reply for for the apps closing.
    For the wifi problem:
    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect OK before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network       
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Firefox is not able load any websites but others programs can. i tried everything given in the support forum but nothing worked out. so can you please help me out with it?

    firefox is not able to load any websites... i tried everything given in the support forum under the topic firefox is not able to load any websites but other programs can.. but still i am facing the same problem. so please help me out with this issue!!

    firefox is not able to load any websites... i tried everything given in the support forum under the topic firefox is not able to load any websites but other programs can.. but still i am facing the same problem. so please help me out with this issue!!

  • Please help me out with some fundamentals in BW

    Hello,
    Please guide me regarding the below mentioned questions.
    1. what is the key date in query designer.
    2. when do we perform attribute change run
        like once the master data is loaded then we perform attribute change run and load the transactional data ?
    3.what is the disadvantage of using aggregates.
    4. what is full repair options?
    please help me out with these questions

    HI,
    Repair full request :
    If you indicate a request in full update mode as a repair request, then it is able to be updated in all data targets. This is also true if they already contain data from initial runs or deltas for this DataSource / source system combination, and they have overlapping selections.
    Consequently, a repair request can be updated at any time without checking each ODS object. The system supports loading in an ODS object by using the repair request without having to check the data for overlapping or request sequencing. This is because you can also delete selectively without checking an ODS object.
    Posting such requests can lead to duplicate data records in the data target.
    Hierarchy/attribute change run after loading master data;
    When hierarchies or attributes of characteristics change, the aggregate affected by the change can be adjusted manually or calculated automatically in process chains.
    Aggregates:
    Aggregates are materialized, pre-aggregated views on InfoCube fact table data. They are independent structures where summary data is stored within separate transparent InfoCubes. The purpose of aggregates is purely to accelerate the response time of queries by reducing the amount of data that must be read in the database for a given query navigation step. In the best case, the records presented in the report will exactly match the records that were read from the database.
    Aggregates can only be defined on basic InfoCubes for dimension characteristics, navigational attributes (time-dependent and time-independent) and on hierarchy levels (for time-dependent and time-independent hierarchy structures). Aggregates may not be created on ODS objects, MultiProviders or Remote Cubes.
    Queries may be automatically split up into several subqueries, e.g for individual restricted key figures (restricted key figures sales 2001 and sales 2002). Each subquery can use one aggregate; hence, one query can involve several aggregates.
    If an aggregate has less than 15 components, BW 3.x puts each component automatically into a separate dimension that will be marked as “line item” (except package and unit dimension); these aggregates are called flat aggregates. Hence, dimension tables are omitted and SID tables referenced directly.  Flat aggregates can be rolled up on the DB server (i.e., without loading data into the application server). This accelerates the roll up (hence the upload) process.
    Disadvantage : The more aggregates exist, the more time-consuming is the roll-up process and thus the data loading process; the change run is also affected.
    Hope this info Helps.
    Thanks,Ramoji.

  • Please help me out with the function code of print option in module pool

    please help me out with the function code of print option in module pool, along with CASE condition.
    regards,
    asif

    Hi
    you can use the Function module
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = 'LP01'                       "'Printer name
        list_name              = 'TEST'
        list_text              = 'SUBMIT ... TO SAP-SPOOL'
        immediately            = ' '
        line_size              = '2000'
        no_dialog              = 'X'             "pass space to Pop screen for Print option
      IMPORTING
        out_parameters         = wa_pri_params
        valid                  = w_valid.
    "next call below things
      NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
         "and try to Print the values inside the new-page
      NEW-PAGE PRINT OFF.
    Prabhudas

  • Please help needed os x lion I wish to transfer photos from the iPhoto library to a album or folder then delete them from the Library but when I do this it also deletes them from the album ? how do I do this please.

    Please help needed os x lion I wish to transfer photos from the iPhoto library to a album or folder then delete them from the Library but when I do this it also deletes them from the album ? how do I do this please.

    Albums are not places to store photos, they're more like "labels" you can apply to photos to better organize them. A single image file can be in multiple albums... they are not copies, it's simply been labelled as being in all those albums. So what you're trying to do doesn't make sense, because it's based on incorrect assumptions.
    The iPhoto library will always show all photos that you have added to iPhoto.

  • How to access the activities created by an enduser especially when the enduser has left the organization?Please help me out with the possible solution

    How to access the activities created by an end user especially when the end user has left the organization?Please help me out with the possible solution

    Hi Ramesh,
    In the web UI we have business role IC_manger where you can search the activities based on employee responsible and you can use business transaction assignment functionality to assign those activities to any  other end user or team.
    Else you can also use Agent inbox functionality if you have configure the agent inbox for those activity.
    Hope this helps solving your query

  • Guys i need to get m itunes account unlocked its stopping mefor making in app purchases please help need to make a purchase within 30 minutes

    guys i need to get my itunes account unlocked its stopping mefor making in app purchases please help need to make a purchase within 30 minutes

    If you've tried to buy something and your've been charged for it (and it's not a temporary store holding charge) but haven't received it then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My apple account is disabled, please help me deal with as soon as possible!

    My apple account is disabled, please help me deal with as soon as possible!

    Change the password, but did not receive the letter to change the password

  • PLEASE HELP NEED SOME ADVICE

    i joined bt on the 17th may with my fone line tv n broadband and i was quite happy with the service 
    for the 9 days it was working but after just 9 days my vision went down and i rang up wasnt to happy went i was told i would have to wait till the 8th june for and enginer to come but fair enothe i waited as i need a new box 
    8th of june came and went without a sight of an engineer so i rang up again was on the fone for 2 hours and requested a formal complaint to b submitted on my behalf which i was assured was done and received another appointment for an engineer to come on the 17th of june which it today 
    anf guess what no sign of them so rang up n found out that my complaint hadnt beed submitted and told i need to wait till the 28th june for another engineer to come seriously pi**ed 
    also has to ring the billing department to sort out my bill as not had my services for nearly a month and been told from my £54 bill they deducted £30 so for nine days worth of services they charging me £24 which i think is unfair do u call this customer service its a joke seriously finkin bout going to virgin

    Hi Venus,
    I'll be happy to help you out with this and make sure that we get everything sorted out and your service up and going again.
    Could you drop me in an email please with your BT account and telephone number along with a link back to this thread.
    Just send using the contact us form in my profile under the 'about me' section.
    Thx
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • HELP PLEASE!  Major Problem with FCP Project

    OK I am starting to panic. I was editing a wedding video for a client on this 150GB proMAX external hard drive. Everything as fine until this morning. Now when I go to open the project I always get a fatal error.
    What happens is the project begins to load but then gets to one unrendered point on my timeline and it just hangs. I get that spinning ball of death and I'm not sure why. Then the program "quits unexpectedly." I have tried this several times and consistently get the same result.
    I have tried opening this project on my MacBook and the same thing occurs. Can anyone PLEASE help me with this issue? I would appreciate any help

    sounds like a corrupted clip.
    disconnect the proMAX drive first, then open the project.
    when the project has opened (with all media offline) then reconnect and mount the proMAX drive.
    now you can start to reconnect the media ... but do it in parts, not all in one go. by a gradual process you should eventually discover which clip is causing the crash .... when you find out the corrupt clip, recapture from source.
    good luck
    Andy

  • Recive deleted pictures with out icloud or any back up from last restore date please help need to find a very important picture

    i have problems with spelling
    There surely has to be a way to recive my pictures from deleted memory on my iphone 4
    i deleted my pictures from this weekend and need to view them but i deleted them with out having icloud or any back up app
    is there ANY one who know's how to get around this there has to be a way like a computer like a restore factor settings that lets you go back to the last time you took a picture
    Please Help Driving me insane

    Richie K wrote:
    im still not conviced i might go to the iphone store tomorrow and see there has to be a way thank you for you help if you come across anything like this please let me know
    Good luck, but they will tell you the same thing that anyone here will tell you.
    Unless the device was backed up (via iTunes or iCloud) after the pictures were taken but prior to deleting them on the device, they are gone.  There is no way to recover them once deleted without a backup.

  • Please Help Experts Advice Needed

    I just bought ram memory, specifications (1024mb pc3200 400mhz ddr ram). When I installed the memory and powered up all I got was a beep sound and nothing else. Before I complain to the seller I need advice from any experts in this subject to tell me what could be wrong and how to fix it. I replaced the memory that came with the mac mini which is 256mb of ram but had to place it back in to work with my computer to find a solution to this problem. I read in mac addict that anything above pc2700 ram would be compatible with the mac mini. I have a mac mini 1.42ghz powerpc g4 any help will be appreciated.
    thank u in advance for any help

    Sadly, just because it's in spec, doesn't mean it will work.
    Macs are EXTREMELY picky on RAM. The RAM itself may be good, but not compatible.

Maybe you are looking for

  • Reinstalling and backing up my macbook. Plus, how do I clean my screen?

    Hey guys, three questions. I've had my macbook for 8 months, and do you think I should reinstall the OS fresh? I'm not sure if it will make the macbook perform better and quicker? Plus, if I was to do that -- what is the best method to backing up my

  • Latest advice on creating .flv advice from Final Cut Express?

    IN our newsroom, we have a recently purchased MacBook Pro running Final Cut Express 4.0.1 for the creation of videos for our website - problem is the the website can only take .flv files and they can be no larger than about 20 MBs. I have looked at m

  • Extract a zip file

    I have a program that includes a set of around 50 photos.  I have zipped those files and included them in my build.  Now I'd like to extract those photos to a folder during the installation process.  I've reviewed the application builder, but can fin

  • Japanese not showing up

    Hi All, Ive installed my Illustrator 10 in Windows Vista Home edition......I have the Japanese IME installed and operational in Word, Web, ect.  When i try and use it in Illustrator the IME screens show up, and i appear to be tying the text in Japane

  • Limitations of the program?

    1. Are there limitations to how much video can be brought into iMovie? 2. Is it possible to insert still images on a different layer that will display along with video? Thanks!