Can (extend) only inherit certain component??

I have a class which contain JMenu/Menu Item on the top and in the contentPane i have a JPanel that cover with Picture.When i click MenuItem and link other class,i use extend coz i wanna inherit the JMenu Item again but it inherit The JPANel also.Any idea that i only can inherit the JMenu and not with the JPANEL

You cannot not-inherit a member... however, you can make the member private and not-accessible to the sub-class.
One thing to note though, if the parent class has a public or protected method that manipulates the private member, when the sub-class inherits the public or protected method, the sub-class still inherits the power to manipulates the private memeber.

Similar Messages

  • Can i only put certain playlists on my ipod?

    i was wondering if i could put certain playlist on my ipod. like i have alot of my dads old music on my itunes, im not aloud to delete it but i DONT want it on my ipod. is there anything i can do?
    ERICA

    Erica,
    The best thing to do is turn off autosync so your iPod won't to every song in the Itunes library when it is connected to the comp.
    After that is done, you can easily delete the songs you don't want, add in only the ones you want, or create a playlist of the songs you want then drag the playlist over to the Ipod.

  • How can I only have certain calendars in notification center?

    So I received an iPad 2 for Christmas (I know a step behind but I'm not complaining) and for the most part it is AWESOME!  I synced everything fairly easily and if I had any trouble I could find a solution online in mere minutes.  What I have discovered though is that my all my shared calendars show in the notification center.  I use google calendar and I will not be switching to another.  I like it.  I utilize shared calendars so my family and friends stay connected but I don't want to see all 6 shared calendars events in my notification center.  At this point this feature is pretty useless to me.  I also have an issue with my one calendar not showing certain things in notification center. It is 1pm now and my 3pm-2am event is not showing in there.  If there is a way to fix all this please let me know.  If not now can I report a request to apple to express my desire to have those functionalities? :)

    http://www.apple.com/feedback/

  • How can I do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder which does not have firewire out/input? it comes only with a component video output, USB, HDMI and composite RCA output?

    I need to do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder (http://store.sony.co...ber=HDRAX2000/H) ..this camcorder model does not have firewire out/input ..it comes only with a component video output, USB, HDMI and composite A/V video output..
    I wonder how can I plug this camcorder to the firewire port of my laptop? Browsing on internet I found that Grass Valley Company produces this converter http://www.amazon.co...=A17MC6HOH9AVE6 ..but I am not sure -not even after checking the amazon reviews- if this device will send the video signal through firewire to my laptop, in order to live streaming properly? ..anyone in this forum could help me please?
    Thanx

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • I just bought a 2gb shuffle and i have more music than it can hold in my itunes acct. How can i sync only the certain playlists on the shuffle?

    I just bought a 2 gb shuffle and I have more music in my itunes than it can hold.  How can i sync only the certain playlists on the shuffle?

    Yes. Configure your Shuffle to sync only selected playlists from under its Music tab.  This article should be able to assist you with this.
    http://support.apple.com/kb/ht1719
    B-rock

  • How can I connect my 2009 Mac Mini to a TV that only has the Component inputs available? My Mac Mini has a Mini DisplayPort and Mini-DVI port. Thanks.

    How can I connect my 2009 Mac Mini to a TV that only has the Component inputs available? My Mac Mini has a Mini DisplayPort and Mini-DVI port. Thanks.

    Composite is analogue with one connector. That is why it is called composite
    Component is analogue with three connections. I think one for each color
    Here is the one for component. I misread composite for component
    http://www.amazon.com/DVI-I-Component-DisplayPort-Female-Adapter/dp/B003OBOJC2

  • Hi! I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no. There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks

    Hi!
    I need to load a GET url that si very long. On other browsers, I can load the url. In firefox 3.6, no.
    There is an addons or a plugin so I can extend this limit? If yes, is possible to load automatically this addons when loading a certain page? thanks
    The url is sometingh like this (this is correctly loaded, but it could be longer)

    Firefox should have problems with long GET data appended to an URL (long would be over 64k).<br />
    If there are problems then it is possible that an extension is the cause of that.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Only want certain things off my time capsule. Eg, I would like to take my music, but leave my photos. Can I do this?

    Only want certain things off my time capsule. Eg, I would like to take my music, but leave my photos. Can I do this?

    You have to restore whole libraries.. but if you want your whole itunes library you can do that.
    See Q15 here.
    http://pondini.org/TM/FAQ.html
    Pondini has pages for each application and how to restore its files.. mainly emails, iphoto and itunes of course.

  • Can only access certain man pages with sudo

    I can only access certain man pages with sudo. They aren't accessible as either root or normal user. I can't be a 100% sure but it would appear that the man pages I have problems with are those located in /usr/share/man. I can't see any differences in file or directory permissions with those located in /usr/man. Anyone else having this problem. Or have I commited another noobish mistake.
    man pacman is an example.
    Any pointers would be greatly appreciated.

    the filesystem and bash packages need to be updated after the pacman 3.1 release
    if you want immediate results add
    UNSET MANPATH to your .bashrc
    Last edited by dolby (2008-01-24 20:45:17)

  • Telnet can't figure out route to host, but only on certain ports?

    This only occurs under 10.5. In 10.4.11, I can hit the server on both ports through telnet.
    telnet <server> 510
    Trying <server>...
    telnet: connect to address <server>: Connection refused
    telnet: Unable to connect to remote host
    telnet <server> 80
    Trying <server>...
    Connected to <server>.
    Escape character is '^]'.
    fetch
    HTTP/1.1 400
    Date: Sun, 06 Jul 2008 03:06:15 GMT
    Content-Type: text/html
    <html><head><title></title></head>
    <body>
    fetch: 0
    </body></html>
    Connection closed by foreign host.
    Here's the strangest part:
    ping <server>
    PING <server> (ip): 56 data bytes
    ping: sendto: No route to host
    ^C
    --- <server> ping statistics ---
    1 packets transmitted, 0 packets received, 100% packet loss
    How come it can figure out the route when using port 80, but not when using port 510? And is the inability to figure out the route the reason why Wireshark shows ZERO outgoing packets on port 510 when it fails to connect?
    And why only on certain IPs? If I use "edu.yorku.ca", I can connect via telnet on both 80 and 510.

    orangekay wrote:
    So it works if you supply a FQDN but not an IP? Are you certain that the IP you're using is valid? There may be some DNS trickery going on behind the scenes.
    No, it only connects when I hit the server on port 80. Using IP or FQDN doesn't seem to make a difference.
    If I try to use Network Utils to do a trace route, it too says no route to host.
    I've got a G4/ppc running 10.4.11 attached to the same router, and it has no issue hitting the server on any port, and can do a trace route as well.

  • HT1386 A whole bunch of my songs on my MacBook iTunes haven't synched over to my iPhone? I have only selected certain albums to synch so I know it isn't a space issue. Can anybody suggest anything?

    A whole bunch of my songs on my MacBook iTunes haven't synched over to my iPhone? I have only selected certain albums to synch so I know it isn't a space issue. Can anybody suggest anything?

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • Can I set up the phone so it can only dial certain numbers?

    Can I set up the phone so it can only dial certain numbers?
    I want to get an iPhone for a disabled user and want to reduce the potential for making mistakes.

    You cannot prohibit an iPhone owner from dialing numbers, but you can certainly make it much more convenient to dial certain numbers.
    Place the convenient numbers in either Phone favorites, or make those numbers the only contacts the person has.

  • I need to transfer files applications etc from a Mac Book Pro to a Mac Book, but I want certain files/applicaitons to be available only under certain users. DO I transfer everything first then move it into different accounts or can I set up accounts first

    I need to transfer files applications etc from a Mac Book Pro to a Mac Book, but I want certain files/applicaitons to be available only to certain users. DO I transfer everything first then move it into different accounts or can I set up the different user accounts first & select what goes where when I migrate?
    Thx

    Do you have a backup that you can restore from? Your old hard drive seems to be the problem.

  • My iphone 4 will only sync certain songs and album from my itunes, how can I fix this?

    I have an iphone 4, and when I go to drag stuff to sync it to the phone it will only sync certain albums or songs, and not others. Mind you, these bands it will not sync now I have had on the phone in the past so I do not understand whats going on, I've tried redownloading Itunes, and factory setting my phone and none of which have seemed to work if someone can help that would be awesome!

    i had the same problem and just figured it out.
    plug in your iPhone and click on your phone under Devices in iTunes.
    then, at the top, where it says "Summary, Info, Apps, Music, Movies, TV Shows, Photos" click Music
    make sure the "Sync Music" box is checked along with "Entire music libary" and apply the changes.
    mine wasnt checked and it only had 37 songs in my phone out of 927 that were on my iTunes.
    hope that helps!
    (also make sure your AutoFill doesnt have any weird settings.)

  • Can i tell adobe bridge to look only in certain folders?

    I don't want or need Adobe Bridge looking through my entire computer for stills. Is there a way to tell Bridge CC to look only in certain folders.
    Let's say that I have a folder called "stills" that is part of a documentary film media folder. I just want Adobe Bridge looking for stills in that one folder and nowhere else. Is it possible to get Bridge searching only in that folder?

    Yes, first navigate to the desired folder. Then add this folder as a favorite
    This are my favorites:
    Then you simply click one of your favorites and Bridge will only show its content

Maybe you are looking for

  • Stage3D Recording Causes iOS App to Crash

    Wanted to give a heads up on a major Scout crash: I have a pretty good gigabit ethernet and wasn't downloading anything at the time, but with Stage3D Recording turned on, my iOS app crashed due to 150MB worth of Network Buffers, which I assume is a b

  • JMS custom headers in Oracle SOA suite 11g

    Hi, Can any body expalin me how to implement JMS custom headers in Oracle SOA suite.Please help Thanks, Kumar

  • Do I have to buy Quick Time Pro every time I upgrade?

    I don't use Quick Time Pro much, about once every three or four months. Seems every time I want to use it, I've inadvertantly upgraded my system and have to purchase QuickTime Pro all over again. Is there any way to avoid this regular price-gouging?

  • IPad issues HELP QUICK PLEASE!!!

    HI THERE! I HAVE RESET AND RESTORED MY IPAD. I HAVE A VODAFONE MICROSIM BUT IT IS NOW SAYING NO SERVICE. HOW CAN I REGISTER IT TO GET A SERVICE!!???? PLEASE REPLY QUICKLY!

  • Error code No. 6

    I'm using a LaCie d2; burning a simple NTSC project and got an error code 6: "The recording device reported the error #6: power on, reset or bus device reset occured (0x29, 0x00)" I managed to burn the disc after rebooting the computer and clicking b