ECLIPSE question...what am i doing wrong???

hi, i downloaded Eclipse 3.1 recently and i started playing with it today. I noticed
right away, though, that there is something strange and maybe I have some
settings I need to adjust. I have a project called 'LOG' that sits in the root
workspace directory. In that project is a class called LOG.
Now, I created another project called 'practice'. In that project I have 2 classes:
The first is a class called practice1, which is in NO package, it is just by itself in
the project.
The second is a class called practice2, which resides in a package IN the
practice project.
The problem is that I added the 'LOG' project to my build path, but only practice1 can see it! I never had that problem in Eclipse 2.1. In that version if I loaded project B
into project A, then all classes in project A could see classes in project B.
Anyways, does understand where i am going awry? I would appreciate it.
Thanks, Peter

yawmark, what exactly is a namespace, and what is the default namespace?
Also, if it is what i think it is, then it makes sense even if for nothing else than
organizational purposes. I have written a swing app for my work that has turned
from a simple class that does a few things to doing TONS of stuff. It relies on
20-25 other classes to get the JAR file ready. I didn't understand the virtues of
packages until recently. My JAR has gotten progressively more and more difficult
to put together. Now i am going to just bite the bullet and go around and package
up all my classes! I should've done this a LONG time ago!

Similar Messages

  • N97 WiFi question what am i doing wrong ?

    ok i got the phone the other day and i am using a few different access points like for example in my house in my work other restaurants and so on ... when i connect to a different one the main screen doesnt update and its looking for an old network even though i have connected to a new one cant it just look at the one i have connected insted it just disconnects me from the one i am on now and is sais WLAN already in use? am i doing something wrong when i am connecting 2 different networks or is the phone just lame???? and yes i have arranged priorities and what not .....

    thw main screen will try to connect to the network which you set it to ( if you choose a specific network ). You should always set you widgets to connect to the default connection which will be the one you are currently connected too based on you manual connection or priority list connections

  • I am unable to save my revised iTunes security question.  What am I doing wrong?

    I originally setup up the account for my daughters Ipod and now I don't remember the answers to the Security questions for Itunes.  I try to reset them and fill in new answers to new questions but everytime I do and click save, the screen appears to take my changes, but when I click a different category a window asks me if I would like to save changes or disregard changes I have made.  I click save and log out.  Then I open the App store on my Macbook pro, and attempt to make my 1st purchase, I am then asked to answer old security questions.  What am I doing wrong?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • What am I doing wrong with this filter (counter/frequency issue), probably another newb question.

    I extracted the part of my VI that applies here.  I have a 6602 DAQ board reading a counter for frequency, using a Cherry Corp proximity sensor.  Getting a lot of noise and errant ridiculously high readings.  Speed of shaft which it's measuring is currently 2400rpm with one pulse per revolution so 40hz. 
    Trying to use the express filter VI to clean up the signal and ignore anything over, say, 45hz and under 35hz.  No matter what setting I choose I continually get the  20020 error, Analysis:  The cut-off frequency, fc, must meet:  0 <= fc <= fs/2.  I know this relates to sample period somehow, but for the life of me I can't understand what I'm doing wrong. 
    I used this VI without filtering on bench tests with a hand-drill and got perfect output every time.  Now it's on the machine and being erratic.  Any help here will ease my stress level significantly, thanks.
    VI attached
    Still confused after 8 years.
    Attachments:
    RPM.vi ‏92 KB

    Hello Ralph,
    I'm not sure about mounting your sensor to your rig, but I can provide a couple ideas about the filtering. Depending on the type of noise, the digital filters on the PCI-6602 could help eliminate the behavior you are seeing. If the noise manifests as a "glitches" or a bouncing signal, you could use another counter with a minimum period to help eliminate the noise. This concept is discussed in greater detail in this KnowledgeBase. I noticed that you are using NI-DAQmx; the practical application of the digital filters on the PCI-6602 in NI-DAQmx is discussed in this KnowledgeBase. A more detailed description of the behavior of these filters is provided in the NI-DAQmx Help (Start>>All Programs>>National Instruments>>NI-DAQ) in the book entitled "Digital Filtering Considerations for TIO-Based Devices".
    I also wanted to comment on your original post and explain why you were receiving error -20020. For convenience, I have copied the text of the error code below.
    Error -20020 occurred at an unidentified location
    Possible reason(s):
    Analysis:  The cut-off frequency, fc, must meet:  0 <= fc <= fs/2.
    I think you may have misunderstood exactly what the Filter express VI does. The Filter express VI takes a series of values in a waveform and performs filtering on those signals. So, it will look at a waveform made up of X and Y values and apply the defined filter to this waveform. Specifically in your application, the cut-off frequency (fc) is the Upper Cut-Off level that you specified in the Filter express VI; any frequency components of the waveform outside of the range you have defined will be filtered. The fs is the sample rate based on the data that you wire to the Signal input of the Filter express VI. In your VI, this data is coming from the DAQ Assistant. So, fs will be the sample rate of the DAQ Assistant and is associated with the rate at which points are acquired. The sample rate does NOT relate to the bandwidth of the signal, except that the Nyquist theorem tells us that the sample rate must be at least twice the signal bandwidth in order to determine periodicity of the signal. So, in this case, the sample rate of the DAQ Assistant would need to be at least double the high cut-off frequency.
    However, you are performing a frequency measurement using a counter. I think this is where the confusion comes in. For the frequency measurement using a counter, the DAQ Assistant returns a decimal value which represents the rate of the pulse train being measured by the counter. It does not return the actual waveform that is being read by the counter. It is this waveform that would be band-pass filtered to eliminate frequency content outside of the filter's bandwidth. Instead of the Filter express VI, I would recommend that you simply discard values that are outside the range you specify. I have modified the code you posted earlier to perform this operation. The image below shows the changes that I made; rather than using the Filter express VI, I simply compare the frequency to the "Low Threshold" and "High Threshold". I use a Case structure to display the value on if it is within the limits. Otherwise, I display a "NaN" value. I have also attached the modified VI to this post.
    Message Edited by Matt A on 09-04-2007 07:58 PM
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments
    Attachments:
    RPM (Modified).JPG ‏17 KB
    RPM (modified).vi ‏72 KB

  • Real newbie-I can hear my loops in my library, but when I drag them to a track, there is no audio.  What am I doing wrong?

    Real newbie question-I can hear the loops in my library, but when I drag them to a track, there is no audio when I playback or record.  What am I doing wrong?

    You probably put Midi loops (green) on audio tracks, and audio loops (blue) on Midi tracks.
    That won´t play.
    JanD

  • I am using Firefox 3.6.13 and have installed Windows Media Player 1.0.0.8 for Firefox. However, if I attempt to open a file with a .wmv extension it appears to function properly, except, that I cannot "play" the file. What am I doing wrong?

    # Question
    I am using Firefox 3.6.13 and have installed Windows Media Player 1.0.0.8 for Firefox. However, if I attempt to open a file with a .wmv extension it appears to function properly, except, that I cannot "play" the file. What am I doing wrong?

    You probably have not seen anyone reporting the exact same problem as you. All three crash reports have the same crash signature and as currently ranked 67 it is not the commonest of reasons for a crash.
    I hope you enter your email contact information when reporting crashes. I note you see this crash when using videos, others may possibly see this crash in other circumstances.
    You have already tried the obvious, attempts at a fix so it is now down to wait and see, maybe developers working on the bug will report something or fix it.
    Did you try my suggestion of installing portable ESR ?
    For forum cross referencing purposes
    * Crash Reports for Crash IDs <br />bp-71697f5d-41d4-48ae-9db9-3e6302130607<br /> bp-6e1347bc-153f-433a-9c35-a5f022130607<br /> bp-92a533a2-9e09-4c1e-8df7-deb4c2130607
    *(all three) Crash Signature: EnumSoftwareMFTs(_GUID const&, unsigned int, __MIDL___MIDL_itf_mfobjects_0000_0006_0003 const*, __MIDL___MIDL_itf_mfobjects_0000_0006_0003 const*, IMFActivate***, unsigned int*)
    * Related bug 858667 NEW crash in mozilla::wmf::MFTEnumEx @ EnumSoftwareMFTs
    *I note this was first seen in Fx21 and is 100% Windows 7
    <br />

  • Using Photoshop online, when I try to open a file in RAW filter the page opens in bright red and won't allow me to acess the filter.  What am I doing wrong?

    Using Photoshop online, when I try to open a file in RAW filter the page opens in bright red and won't allow me to acess the filter.  What am I doing wrong?

    Photoshoponline has a link you can try which web browser are you using?  If may be your browser or that they do not support your camera's raw format.  I received an error tht states try layer.  You should ask them your question Adobe Photoshop is not the problem its their Web application use their  link Pixlr.com Contact Us

  • I have an I Pod Nano and would get messages to update my software.   In my I Tunes I have 1,900 songs but after the updates it will only sync 933 songs.  My current software version is 1.0.2.  What am I doing wrong or is it something in the software.  I h

    I have an I Pod Nano and would get messages to update my software.  In my I Tunes I have 1,900 songs but after the updates it will only sync 933 songs.  My current software version is 1.0.2.  What am I doing wrong or is it something in the software.  I have not done anything different in my I Tunes and all songs are checked.  Could someone please help or advise me what to do?

    Thank you Gail, but not to be ignorant but can I send you a print screen on what I am looking at.  I will try am explain what I see: I hooked up my I Pod Clicked on Music checked Sync Music 1909 Songs select Playlist, Artists, albums, and genres checked Include music videos Playlists checked 50's Music checked 70's Music checked 80's Music checked 90's Music checked 2000 Music checked 2010 Music   These are songs that I downloaded onto my I Tunes.  I bought me a new computer but when my data was transferred from old computer to new computer a lot of my songs on my hard drive were lost, but they were able to save all my songs on I tunes.  My I Pod is still connected Clicked on "On this Ipod" Music 938  Songs 2.2 days So my question to you is if I have 1,909 songs on my ITunes how come only 938 transferred to my IPod.  I checked my IPod and it shows only 938 songs transferred.  This did not happen before until I Tunes asked me if I wanted to update to a newer version.  Last month I did have all my 1,909 songs on my I Pod.  I hope this explains what I am asking

  • Even though I have Adobe Reader, I can't open my bank stmts. like I used to. What am I doing wrong??

    I have been opening my bankstatements online for a long, long, time.  All of a sudden, I can't get them to open.  All I get is a blank screen with a tiny "x" in the upper left-hand corner.  I'm pretty new to computers, so this may be a stupid question, but what am I doing wrong??

    I am using Windows 7, IE XI (?), and Adobe reader XI.  However, just to let you know, the problem has been solved almost by accident.  I happened to mention the problem to a friend who had had a similar problem and been told to us a different browser.  She did and her problem was solved.  I switched to Google Chrome, and my problem seems to be gone as well.  Thanks for your time.

  • HT2486 birthday are not saving in my contacts? What am I doing wrong.  I always have put in birthday before with no problems

    Birthday are not saving in some of my contacts? What am I doing wrong.  I always have put in birthday before with no problems.  Some contacts it works and others do not?  help me.

    Arnis and Jeff,
    Thank you both very much for your assistance.  I was able to figure out why the Adobe Application Manager kept failing on installing the patches.  Idiot me didn't unzip them first.  Once I unzipped the patch files, the installer worked fine.  Both patches are now successfully installed; my FM version is now 12.0.2..
    To answer some of your questions:
    Yes, I have administrator privileges on my PC.
    Yes, I had all of the files in the book opened when I generated and/or updated the LOR file.  So that was not the issue.
    With the patches installed, I opened a book and all of its files.  I updated the LOR and all works fine – it gives me all of the Imported Graphic references. So there must have been an issue with that release of FM12 (12.0.0.329), which was fixed with the patches.
    Again, thank you both for your help!
    Best regards,
    Beverly

  • Not quite sure what I'm doing wrong.

    As the topic states, not quite sure what I'm doing wrong here. I'm doing a problem for a class and maybe you guys could help me out, or point me in the right direction. The question states:
    "Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula: "
    futureInvestmentValue = investmentAmount x (1 + monthlyInterestRate)numberOfYears*12
    (numberOfYears is to the power)
    import javax.swing.JOptionPane;
    public class Investment {
         public static void main(String[] args) {
                double investmentAmount;
                double interestRate;
                double investmentValue;
              int years;
              String stringInvestmentAmount = JOptionPane("Please Enter An Investment Amount");
                   investmentAmount = Double.parseDouble( stringIvestmentAmount );
              String stringIntrestRate = JOptionPane("Please Enter An Intrest Rate In Decimal Form");
                   intrestRate = Double.parseDouble( stringIntrestRate );
              String stringYears = JOptionPane("Please Enter A Number Of Years");
                   years = Int.parseInteger( stringYears );
              interestRate = 1 + interestRate / 12; //Monthly interest, I believe this is how you calculate it.
              investmentValue = investmentAmount * Math.pow(interestRate, years * 12); //Now the exponent should be the number of months.
              System.out.println("Your investment value is " + investmentValue + ".");
    }My Errors are:
    C:\Java\Investment.java:15: cannot find symbol
    symbol : method JOptionPane(java.lang.String)
    location: class Investment
    String stringInvestmentAmount = JOptionPane("Please Enter An Investment Amount");
    ^
    C:\Java\Investment.java:16: cannot find symbol
    symbol : variable stringIvestmentAmount
    location: class Investment
         investmentAmount = Double.parseDouble( stringIvestmentAmount );
         ^
    C:\Java\Investment.java:18: cannot find symbol
    symbol : method JOptionPane(java.lang.String)
    location: class Investment
    String stringIntrestRate = JOptionPane("Please Enter An Intrest Rate In Decimal Form");
    ^
    C:\Java\Investment.java:19: cannot find symbol
    symbol : variable intrestRate
    location: class Investment
         intrestRate = Double.parseDouble( stringIntrestRate );
         ^
    C:\Java\Investment.java:21: cannot find symbol
    symbol : method JOptionPane(java.lang.String)
    location: class Investment
    String stringYears = JOptionPane("Please Enter A Number Of Years");
    ^
    C:\Java\Investment.java:22: cannot find symbol
    symbol : variable Int
    location: class Investment
         years = Int.parseInteger( stringYears );
         ^
    6 errors
    Tool completed with exit code 1
    Edited by: Close on Oct 23, 2007 4:12 PM

    String stringInvestmentAmount = JOptionPane("Please Enter An Investment Amount");What is this line trying to do? If you are trying to create a JOptionPane object and pass that String to the constructor then you need the new keyword. If you are trying to call a method of the JOptionPane class then it would be a good idea to include the method name. I sure you are trrying to do the second option.
    Once you fix that, it is likely the other errors will disappear. Or different ones will emerge.

  • Every time I sync my iCal computer with my iPhone 4 or iPad, duplicate entries are generated on both systems. What am I doing wrong or how can I avoid the duplications?

    Every time I sync my iCal on my computer through iTunes with my iPhone 4 or iPad, duplicate entries are generated on both systems. What am I doing wrong or how can I avoid the duplications? I have been doing this for several years and this problem is a more recent issue, like in the last 6 months. I have been deleting the duplicate entries, on both systems, but some duplicates reappear through "general" entries that are connected to the correct color for a Calendar, but not the name. I am going nuts and wasting tons of hours trying to get the 3 calendars to sync without generating duplicate entries.

    Choose one of the Calenders on ONE of the computers OR the MobileMe as the Master / correct account.
    The REINITAILISE the data of MobileMe within preferences on the computer defining the datatransfer correctly (in the advanced box of preferences). The synchronise iphone contacts and calender directly on-line to MobileMe.
    I posted a question on this today, and gave my own reply !
    Regards,
    Kevin

  • When I turn on my iPad the grey 'brightness slider' is in the centre of the screen and I can't get rid of it. I've tried switching on / off 'auto-brightness' in 'settings' but it won't go away. What am I doing wrong? Any advice gratefully received.

    When I turn on my iPad the grey 'brightness slider' is in the centre of the screen and I can't get rid of it. I've tried switching on / off 'auto-brightness' in 'settings' but it won't go away. What am I doing wrong? Any advice gratefully received.

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the Operating System data on the hard drive is somehow corrupted.
    Put your install DVD into the optical drive (CD/DVD drive) and reboot. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option key until the Install Disk shows up). That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is then click on the Mac OS partition of your hard drive in the left hand list. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • Everytime I try to download the iOs 5 to my ipad2 I get at -54 error.  Why?  What am I doing wrong?

    Everytime I try to download iOs5 to my ipad 2 I get an -54 error.  Whay?  What am I doing wrong?

    Hi Wingzfan13,
    Thanks for the question. Based on what you stated, it seems like you can't update the iOS device. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
    If you can't update or restore your iPhone, iPad, or iPod touch
    Resolve iOS update and restore errors in iTunes
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

  • I was able to hook up my ATV with HDMI. The picture came out fine and i can navigate fine however i have no sound. What am I doing wrong?

    I was able to hook up my ATV with HDMI. The picture came out fine and I can navagate but I get no sound. What am I doing wrong?

    Thank you for all your responses to my questions really appreciate it.
    I have the HDMI cable hooked up directly to the TV and I do not have an optical hook up directly on the tv. The receiver is in a separate room. Not close enough to connect to the receiver. Can I connect the apple TV though my DVD player which has a HDMI port and in the same room as the receiver?

  • I have turned keychain 'on' on both my ipad and iphone 5. The instructions that I have read just say follow the on screen instructions, but there are none. What am I doing wrong?

    I have turned my keychain 'on' on both my i phone 5 and my ipad. the instructions online say I should just follow the on screen instructions to set this up, but there are none. What I am doing wrong?

    Apps downloaded on one should also appear on the other as long as the app in question runs on both iPads and iPhones.

Maybe you are looking for

  • Windows Vista recovery disk

    I want to order a recovery disk for my laptop, however when i give them the computer's serial number and part number they tell me to select which disk i would like to purchase but the only option they give me is one with 64bit however my computer is

  • Yellow broadband light then no internet

    Hi there. Can someone please help me. For the last couple of weeks the yellow broadband light will come on on my home hub, then on my laptop it will disconnect me off the internet with the computer screen saying the yellow light is on unable to conne

  • Tax percentage and gross amount

    We have a requirement (South Africa) where we have the gross amount (final selling price) and tax percentage.  The net amount and tax amount has to be back calculated from the gross amount.  For example:  Gross price = 100 ZAR Tax % = 15% Therefore,

  • Oracle for Windows Server 2003 - Download file

    Hi, I download Oracle9i Database Release 2 Enterprise/Standard/Personal/Client Edition for Windows Server 2003 (32-bit) from OTN(file 9203WIN2K3.zip), but it doesn't have any setup file on the extracted files. I think that file 9203WIN2K3.zip is not

  • Opening First Image Takes forever

    Hey guys. Just as the title says, every time i start photoshop CS2 (latest update) (windows xp) the first image always takes a long time to load (e.g. 30 seconds) no matter the image or how long i give photoshop to load first. Any images after that l