Android: Method must override super class method
===

I'm working through some android tutorials right now in preparation for a two week camp at American university. I'm seventeen, so excuse me if this is a stupid question. I did some research and tried several things, but I can't get it to work. 

I'm working off of the google tab / fragment example found here: http://developer.android.com/reference/android/app/TabActivity.html

My problem is when overriding createTabContent, and onTabChanged I keep getting the error must override a superclass method. Here's my code:


             @Override
		public void onTabChanged(String tabId) {
			TabInfo newTab = tabs.get(tabId);
			if (lastTab != newTab) {
				FragmentTransaction ft = activity.getSupportFragmentManager()
						.beginTransaction();
				if (lastTab != null) {
					if (lastTab.fragment != null) {
						ft.detach(lastTab.fragment);
					}

				}

				if (newTab != null) {
					if (newTab.fragment == null) {
						newTab.fragment = Fragment.instantiate(activity,
								newTab.clss.getName(), newTab.args);
						ft.add(containerID, newTab.fragment, newTab.tag);

					}

					else {

						ft.attach(newTab.fragment);
					}

				}

				lastTab = newTab;
				ft.commit();
				activity.getSupportFragmentManager()
						.executePendingTransactions();

			}

			// TODO Auto-generated method stub

		}
	}


      static class DummyTabFactory implements TabHost.TabContentFactory {
			private final Context context;

			public DummyTabFactory(Context context) {
				this.context = context;
			}

			@Override
			public View createTabContent(String tag) {
				View v = new View(context);
				v.setMinimumWidth(0);
				v.setMinimumHeight(0);

				return v;
			}
		}


Is this an eclipse problem, or did I make a careless mistake? I checked and double checked that I was using the proper classes and that they contained the methods I'm trying to override. Thanks in advance!