Netbeans - Why do I need to make separate library projects and import?

I'm running through some of the some of the tutorials for netbeans like [acrostic example|http://www.netbeans.org/kb/60/java/javase-intro.html] and I can't seem to grasp the organization.
When and why do I need to create a separate library project and import when the MyApp project I created has a node for libraries?
When and why would I just create another class in MyApp source packages node as opposed to importing the class from a separate library project?
Java's organization seemed simple until I tried the IDE. Help.

Thanks so much for the response, I really have been having problems with this.
georgemc wrote:
Well, for starters, a lib project can be shared amongst many other projects. For another, you won't be deploying your app alongside NetBeans, so you'll need to provide all the libraries as well as your app when you do deploy. Having them all kept in a lib project makes this very simpleAfter pondering it I'm comfortable with the idea that MyApp's Library node shows what classes I have imported and that those classes, being custom classes, should be in a separate project.
>
When and why would I just create another class in MyApp source packages node as opposed to importing the class from a separate library project?I don't know. Not really sure what's prompted you to ask this one, to be honest. What do you mean?Ok, bear with me as I try to explain my confusion... If I right click on the Source Packages node of MyApp it presents me with the option to create a new java class. So why not just put all my custom classes and packages in the Source Package node of MyApp instead of putting them in library projects and importing them?
I tried this, assuming all classes within a package would have knowledge of each other, thus obviating import, but that doesn't seem to be the case. Is that it?
>
Java's organization seemed simple until I tried the IDE. Help.Maybe you started using an IDE to soon? They're there to make your life easier. If that's not happening, you don't need it yetI might seem quite green, but I have to dive in to this because the application I am attempting to make requires the nice GUI editing of netbeans and will grow in complexity with time.

Similar Messages

  • Do I need to make separate projects -Noobie question

    I am working on a project, trying to do something I've never done before. I have about eight hours of footage that I need to edit down to about 45 minutes for a presentation. I have used iMovie to select the clips I want. That part is done and it seems fine. Now I need to create a DVD (using iDVD) so that I can play each piece separately. I tried it and I got continuous play. How do I build my DVD in iDVD so that I can play each clip separately? I was thinking that I might need to make separate iMovie projects for each clip I want to use and then send all those projects to iDVD rather than send one project to iDVD that contains all the clips, but I'm not sure if that's the way to go or not. I am a very experienced Mac user, but I have little experience using iMovie and iDVD. Help is appreciated.
    TIA,
    Thad

    Try a double click on the desired clip. Should bring up the inspector and then select the "clip" tab. Verify its duration. Then export using QT. Like this:
    click here
    or you may be able to use the precision editor like this:
    click here
    Again, I prefer using iM6 for this reason (much easier to address single clips when exporting to the desktop) IMO.
    Message was edited by: SDMacuser

  • Order types, why do we need to create our order types and not use the stand

    HI
    Order types, why do we need to create our order types and not use the standard ones during implementation.

    Hi Raj,
    Well there is no hard and fast rule that you have to copy nad create a new order type. Its just to meet our own requirements that we copy the standard and make the changes if required to meet our business needs.
    And by this way we keep unchanged the standard order type for further use.
    If you are sure that the standard order type satisfies your need you can directly use that only.
    I hope this clarifies the issue.
    Do reward if find useful
    Regards,
    Abhi

  • Am running Tiger 10.4.11; just got Snow Leopard 10.6.3 (regular OS disk, not an upgrade); when I install Snow Leopard, will it wipe everything?  overwrite Tiger?  Do I need to make backups of applications and files to reinstall after Sno Lprd loads? thx!

    Am running  Tiger 10.4.11; just got Snow Leopard 10.6.3 (regular OS disk, not upgrade).  When I install Snow Leopard, will it wipe everything?  overwrite Tiger?  Do I need to make backups of applications and files to reinstall after Snow Leopard Loads?  thanks!

    Hi Donald,
    No it doesn't erase anything by default, it does what we used to call an  Archive and Install feature, which can give you a new OS, yet preserve your files and settings if you have enough room on your HD...
    http://docs.info.apple.com/article.html?artnum=107120
    But it does it automatically unless you specifically erase the Disk, but will replace Tiger completely for the OS & several Apple Apps like Safari, Mail, etc, yet preserve your old settings for those!
    If you think you may need Tiger to run any APPs that do not work in SL/10.6, then clone or backup first.
    I would recomend 2 things before installing though...
    Make sure you have enough RAM & HD space.
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 2GB at least)
        * 5GB of available disk space (I say 30GB at least)
    If it's a core Duo & not a Core2Duo, then it'll only run in 32 bit mode.
    "Try Disk Utility
    1. Insert the new Mac OS X SL/10.6 Install Disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214

  • Why do we need to make Delta Green some times

    Hello Exoerts,
    Today a delta was running for a long time and i killed the job in source and made the delta red and repeated again,
    when discussing with some senior colleagues, they said, you should not  make delta always red. Is there any situation like
    we need to make delta green and request for another delta. I dont understand the total scenario.
    Can any one explain me.
    Full points assured **
    Thanks in advance

    If we records were showing zero, they asked me to do red and then go for  new delta again
    and more situation like, the job has not yet created in source system for some reason and the delta got failed , even in this scenario, they asked me to do Green.
    I am not sure about this..
    Just want to confrim .
    Please let me know..
    Thanks

  • Why did ps touch does not show saved project and my old project disappear?

    Why did ps touch (ipad 4) does not show saved project and my old project disappear?

    OldGhias,
    Have you found a solution yet? I don’t know if I will be of any help but I was curious and no one else has chimed in yet.
    I don’t quite understand all of your statement.
    To clarify, you were making SimpleSave backups from Win95 and cannot see them all on the Win7 laptop?
    Or
    You were copying files over (SimpleSave utility not used) and you cannot see those files on Win7 but you can on the Win95 machine?
    Do you have another Win7 machine you could connect the external to, to see if the files are still not showing (one that is not locked for work)?
    On the drive that shows full, can you see it in Disk Management showing the correct size of the drive and also another CD drive? Not your real CD/DVD drive, it’s actually a CD emulator that is attached to the HDD for encrypting the backups and all SimpleSave’s have them.
    Lastly, did you reformat the SimpleSave drive to Fat32 first?
    My understanding is that USB support was quite limited on Win95 machines. Since Win95 is Fat32 and the SimpleSave drive is by default NTFS, I would think it would not work.

  • Full screen video cover on Retina and SD iPad? Do I need to make separate HD and SD versions?

    Hi guys,
    I like using after effects to bring my covers to life, however, I've found that when I render the video in 2048 x 1536 then it errors and doesn't play on a standard resolution iPad. As a result I have to create an SD and an HD folio and watermark them so the user can tell the difference in the app.
    Is there a better, more streamlined way to do this without rendering the video at it's sub-retina resolution? Cheers

    Your problem is that the program wants a good video card and a fast hard drive and lots of memory and you have none of the above. If you upgraded the RAM to 8 gigs and installed a solid state hard drive you might make the program useable but the real bottleneck  is going to be the Intel HD graphics, which cannot be upgraded. 
    You do have an open slot to add one 4 gig memory module. This is an easy relatively inexpensive upgrade. See here:
    https://www.youtube.com/watch?v=L7FvZ-JduRM
    http://www.crucial.com/usa/en/ct51264bf160b
    I would try this a step at a time. Next would be the solid state drive. That would cost maybe $150. Post back if you need more help. 
    If this is "the Answer" please click "Accept as Solution" to help others find it. 

  • Why Was it needed to make ArchLInux so hardcore to install?!?

    I know that You all get me alredy wrong, but let me few moments to explain my self!
    I am not a expert in LInux administration nor a begginer user of Linux and I feel dumb whit all other Linux distros.
    The ONLY one Linux OS gived me freedom to work and enjoy it is ArchLinux, but not with new installer
    wich need me to do EVERYTHING by myself just to pruff to noobs that win is only workable os there(*buntu's are not!)?
    For three days i'm trying to mount the root  and swap partition and I just don't get it!?
    What was the Logic to make it that way? ArchLinux was not bare bone enogh and keep midiocre users away?
    Please rewrite the "Installation guide"!
    I'm not the only one with complains!
    Thank You verymuch for the few moments You spend reading this!

    This has been covered extensively here already: a search would have told you that.
    Having to do "EVERYTHING" yourself is seen by the majority of the Arch community to be part of the Arch Way,
    not an excuse for whining.
    Closing.

  • Why can't we just have separate log ins and be done with this nonsense?

    As the topic says...
    This common login is supposed to be one reason why Adobe can't implement NNTP. But what function does it serve? I've commented in another thread, and below is more or less, what i said there...
    That, i think, was the most assinine idea anyone ever came up with. I see no reason for not having separate log ins for store and forums / downloads. In fact, i can't think of one good reason to combine the two.
    If i were a user of the Adobe store, i would definitely prefer to have a separate login and password for that area. I think most people would. I see a lot of aliases in the forums. In the store, you'd want to use your real name for tax and audit purposes. Moreover, what's to stop people creating two identities anyway? So, the whole purpose of a common id is meaningless.
    Am sure, that even at this stage, it wouldn't be too difficult to separate the two. For instance, whenever i open the forums i see a welcome at the top of the screen. Right above 'Home'. Yet, i still have to login to the forums... what give? Idiotic.
    Adding to the above, doing away with this single log in would also mean an end to this frustration of suddenly getting logged off, randomly staying logged in, etc., etc.

    jochemd wrote:
    JayJhabrix wrote on 2009-05-24 08:05:
    This common login is supposed to be one reason why Adobe can't implement NNTP.  But what function does it serve?
    It reduces the number of accounts people have to remember. I am very
    glad I do not have to have separate accounts for the Adobe site, the
    WebX forums, the Fusetalk forums, the Acrobat.com site, the
    Photoshop.com site, the trainers portal, the Community portal, the
    Partner portal etc.
    I remember the days those were all different accounts and I am glad they
    are gone. I can't wait until the prerelease site and the EDS site are
    fixed to work with the Adobe ID as well.
    In my reply to Kaguyen, I wrote:
    I agree that having a single loging procedure for all the forums was logic and necessary. However, I still completely fail to understand the logic behind tying the Adobe Store and the Forums login procedures. By its very nature, the former needs strong security measures that are not only unnecessary, but also completely absurd in a public forum. I gladly accept being logged out of my bank account and of the  Adobe Store after a fixed period of inactivity. However, I see no reason for, and strongly object to, being logged out of any public forum after any period of time.
    I would very much prefer remembering separate login data for each than been constantly logged out of the forums. Even more so as the login procedures currently in use were not tested properly before being implemented, and logouts occur unpredictably, including many cases where the user is active. Following your logic, why not have just one username and password for everything, including bank accounts, large stores such as Amazon, taxing purposes, etc?
    But separating them just isn't going to happen. And you know it isn't,
    because it isn't a technical decision but a policy choice. So I would
    very much appreciate if you stopped whining and detracting attention
    from issues that do stand a chance of changing.
    Jochem
    Now this is really a gem. I do hope you are not a member of the Adobe higher quarters, and that you are not officially speaking for Adobe, because a company that isn't able to recognize and correct a bad policy decision is doomed. Also, I hope you are willing to explain to us mere mortals which of the very many issues people are (in your words) whining about do stand a chance, however slight, of changing.

  • Why do i need to turn off the printer and restart it every so often to get it connected and ready?

    E-print works great when it's connected but it keeps disconnecting and I need to re-start the printer in order to print what I've sent it from my cell phone. How can I fix this?

    Hello bobdoss63,
    In that case I suggest you to print HP Network Configuration Page and make a note of the Printer IP address, Subnet Mask and Default Gateway as printed in the page.
    Next open Internet Explorer browser and type the printer IP in the address bar and press Enter key. This will open printer information web page also known as EWS (Embedded Web Server) page. Here click on Network. If the printer is in Wireless, select Wireless and one of the settings displayed talks about Manual IP configuration.
    At this setting select Manual IP and enter the Printer IP, Subnet Mask and Default Gateway. Then select Manual DNS and enter the following addresses
    8.8.8.8
    8.8.4.4
    Save the settings and turn OFF and turn ON the printer. Try re-enabling the webservices and check the result,
    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.

  • Why does Apple continue to make their OS less and less user-friendly?

    This might be dead horse I am beating, but I didn't feel like searching the forum to see if this has already been discussed ad naseum. I'm really starting to lose my patience with Apple and their insistence on removing useful features from their OS.  I've already lost track of all the things that they have un-engineered in recent updates.  One of the ones that I thoroughly disliked was the removal of cover flow from iTunes... of course that is a program and not the OS, but just one example.  Now I am realizing that the column view in Finder has been changed as well.  Used to be that you could change the width of the columns at will and now they seem to be fixed and immovable, which really p!sses me off.  I don't like Icon, List or Cover Flow view in Finder and use column view almost exclusively and was always changing the column width to suit my needs, i.e. when the file name was too long to read and i could simply change the width to read it all.  Now I can't do that and I am really getting sick and tired of things that are really useful that I use all the time being taken away and it's like Apple is taking steps backward.  Probably 10-15 years ago, that was the norm for something like this, immovable columns and people b!tching about not being able to change the width and then we get that ability and now it's taken away again!  Why are they constantly regressing?  How is that improving the UI of their OS?  I just don't understand it....
    Please free to chime in, correct me or whatever...

    Well you can tell them at http://www.apple.com/feedback/macosx.html
    Anything you post there will be read by Apple. Whereas what is posted here they will never see. So go for it. Give them both barrels.

  • Need to make browser full screen and close window

    I need a script to make users browser display the course in full screen. Also need a button that user can click to exit the course. The captivate one is not working.
    Thanks in advance.

    Hello,
    I hope you do realize that this could lead to a (great) decrease in quality? As Captivate is all about bitmaps you only have optimal quality when the published SWF is watched in the resolution it was created in.
    You can by tweaking the HTML-file and changing width/height to 100%.
    Whereas closing: this is not only depending on Captivate but almost totally on the browser, there is a thread in the FAQ about it.
    Lilybiri

  • HT201269 why do I need 2 emails when setting up and apple id

    when seeting up my apple id I need to have 2 emails addresses, why is this?

    Hello Joannesean2002,
    You need only one Email address for creating an Apple Id and the Second Rescue Email address is optional and is required to reset password and security Questions in case you forget the Password or Security Questions. So if you have only one email address then still you can create your New Apple Id.
    Hope this answers your question.

  • HT1414 i am in the process of getting my iphone4 unlocked from att to use it on straighttalk. why do i need to "back up" the iphone and all of this? i dont have an apple computer sooo, im a little confused on why i need to do this. can someone please help

    Can someone please explain and help me? I am unlocking an iphone4 from at&t to use it on the straight talk network. They've confirmed my request to do this and I am now a little confused as to what to do next. They want me to back up the phone using itunes on either a MAC or PC. I do not have an aplle computer but I do have an acer. Sooo, can I use it to do this? Or do I even have to do this to unlock and switch the iphone4 over to a new network? If I do have to what can I do to do this because like I said I do not have a computer by apple? Can anybody walk me through what I need to do next please? I've been waiting to do this for a very long time and I now have the option to have an iphone and use it. Thanks to my awesome boyfriend who Gave me his old iphone when he swapped back to an android. Hahahaha! Please anybody!? Because I sooo don't know what I'm doing and really do not want to mess the phone Or the process up. Thanks to any and all who read this and help me! It is greatly appreciate it!

    Install iTunes on your Acer and you can back up the iPhone. Or back it up to iCloud. If you do not back it up you can get it unlocked, but you will lose all of your content.
    You can get iTunes from http://www.apple.com/itunes.
    Even after unlocking I'm not sure it will work on Straight Talk, because last time I checked ST used Verizon as its carrier, and an AT&T iPhone 4 is not compatible with Verizon's network. You can probably use it on Net 10 or T-Mobile once it is unlocked.

  • I need to make an A2 poster and want to know what application to use as well as knowing how to make it that size

    I have been set the task in university of making an A2 poster that has to be printed, the main crux of the question is that I don't know wether i should use keynote or pages and how do I make the properties of the page A2?

    Keynote for video screen based presentations,  Pages for print, thats what they are designed for.
    In Pages:   File > Page Set Up: select custom sizes from the paper size drop down menu then Input the dimensions, click the plus button to add the size as a preset

Maybe you are looking for

  • How to get the result from graph  based on table prompt?

    I have one report in which I am having one table and three Graphs. I have added table prompt for one column i.e department. In that I have given three values. The values of my table changes as per the table prompt. But my requirement is my graphs sho

  • Classic Starts Up automatically at Login

    Ever since I installed the software for my Canon scanner, classic automatically starts up when I log in. It is not marked to automatically start up in the preferences menu and no matter what I've tried, I can't get it to stop. I have to wait until th

  • "su" changed in 10.6

    Hi all, I used to run a shell script I wrote on 10.4 to check if a user on a server hadn't set their password... something simple like: echo "password" | su user and if it returned "Sorry", I'd mark it down as protected. As of 10.6, it looks like eve

  • [svn:fx-trunk] 10216: Change Label verticalAlign to use "top" if there is too much text.

    Revision: 10216 Author:   [email protected] Date:     2009-09-13 08:20:06 -0700 (Sun, 13 Sep 2009) Log Message: Change Label verticalAlign to use "top" if there is too much text.  RichText already works this way. QE Notes: None Doc Notes: None Bugs:

  • Slow down noisy system fan in Windows idle mode on Portege M400

    Hallo again, has anybody managed yet to prevent the Systemfan from making noise running all the time, even when CPU usage is very low? I am using "Notebook Hardware Control 2.0 for Core Duo" but the Fanfeature is not implemented yet. I did not try th