I want to extend a JPanel

I have created a panel namely xyz.java which includes two combo boxes. I need another panel which has three combo boxes. Two of the combo boxes are same as that of xyz.java. I want to extend xyz.java by creating extendedxyz.java.
Can any one help me in this regard.
Thanks.

Rough example for what you'd like to know:
class Xyz extends JPanel {
  public Xyz() {
    add(new JComboBox());
    add(new JComboBox());
class ExtendedXyz extends Xyz {
  public ExtendedXyz() {
    add(new JComboBox());
}Though I'm not sure whether inheritation is a good approach for what you want to achieve. Instead, you could just add an instance of Xyz as a sub-component of panel ExtendedXyz.

Similar Messages

  • How to extend a jpanel

    hi
    this might sound like a beginers question
    i have a main class which extends jframe i called the frame graphicsframe i have also decleared, a jpanel inside
    this class.
    but how do i extend that JPanel in another class i know you can use graphicsframe.panel to change the methods. but then i have to declear all of the methods using graphicsframe.panel.

    to extend a JPanel you simply, ... extend it:
    public class MyPanel extends JPanel
      // you'll need a constructor or a few in here plus any override and new methods
    }I try to avoid extending JPanels, JFrames, and whatnot unless I'm going to change the basic behavior of the component, most commonly to override the paintComponent of a JPanel so I can draw in it.
    By the way, what is to "declear"?
    One more point: you probably should post Swing questions in the Swing forum (but please don't do this now. Continue on with this thread and please don't cross-post).

  • I have installed Airport Extreme on my iMac, but want to extend the wireless network with Airport Express. Everything is fine until I try to select Extend the wireless network.  I select Extend Wireless network but have no success. Ideas?

    I have installed Airport Extreme on my iMac, but want to extend the wireless to rooms with a weak signal.  The internet connection is fine with the basic setup. As soon as I go into Airport Utility to select Extend Wireless Network and fill in what I believe is proper information, I get an error message that Airport Extreme no longer has an IP address, the internet connection is broken, and under Wireless, that there is a wireless network in existence that can't be found. Rebooting the modem only brings the Airport Extreme back to the starting gate so that the internet is once again available.  I assumed (naively) that with the All Mac All-the-Time context, adding Airport Express would truly be Plug and Play.   I got the plug, but no play.  I asked a Comcast technical specialist about it and he said that I needed to reset the Airport Express settings back to their default, factory status.  I looked that process up online and found out that the way to do that was to hold down the reset button, then plug Airport Express into the socket and wait for the green light to flash four times.  Then wait 45 seconds and the default settings will return.  I did all that, only to find out that after the initial flash of green, green never appeared again.  I got a fast flashing yellow light, followed by the light going off.  Apparently this didn't reset it properly.  So, after hours trying to get this system to work, I appeal to someone who can see through this mess and provide the key to success!
    highFly376

    Let's see if I can get this straight.
    You have an Airport Extreme base station that is set to "Create a wireless network" and you have the box checked for "allow this network to be extended"....
    Then you have an Airport Express that is set to "Extend a wireless network" which you selected the name of your network in the box...
    Correct?
    See this Apple document:
    http://support.apple.com/kb/HT4259?viewlocale=en_US&locale=en_US
    The wireless unit on the right of the diagram can be either of the newer Apple base stations.
    Extreme, Express, Time Capsule

  • HT1515 I want to extend my existing wireless router upstairs to my new smart TV.  I have loaded the AirPort Express onto my desktop Mac.  In simple terms do I now just plug the AirPort into a socket halfway between the base WiFi and the Smart TV, or do I

    I want to extend my existing wireless router by using the AirPort Express for my Smart TV.  Can I just plug in the AirPort halfway between the router and the Smart TV and have no direct connection to a computer or the TV, or do I need to plug in next to the TV and somehow connect the AirPort to the TV (ethernet)?

    You are asking several different questions. If you need to store your photos, music, and movies on an external volume, you certainly can. Any externally connected hard disk drive will work, connected either directly to your Mac or to your Time Capsule as a shared volume.
    You should not rely upon using that as a backup device though. Although you certainly may use it for both purposes, it is a better idea to have dedicated backup devices for a variety of reasons not limited to redundancy. You would not want to simultaneously lose all your pictures as well as your backup. If they are all on the same device, that could happen. Furthermore, a backup cannot back up the volume on which it is running.
    As for adding an Extreme or Express, using its LAN port for your iMac, and then enable Internet sharing so you can effectively use the iMac as a "hotspot", you can do that too, but I am unclear on what benefit you believe this arrangement would convey for you.
    An Extreme's Guest network is separate from its Main network; that is the reason for having it.

  • I currently use Airport Extreme Wanting to extend using another apple airport express

    How to set up Airport Express when already using Airport Extreme to extend range.

    Extending the range of an 802.11n network
    AirPort Utility makes it simple to extend the range of an 802.11n network if you are connecting another 802.11n base station. Connecting two 802.11n AirPort Extreme Base Stations greatly simplifies the WDS setup process.
    To extend the range of an 802.11n network:
    Open AirPort Utility and select the base station that will connect to the Internet.
    Choose Manual Setup from the Base Station menu, or double-click the base station to open the configuration in a separate window. Enter the base station password if necessary.
    Click AirPort in the toolbar, and then click Wireless.
    Choose “Create a wireless network” from the Wireless Mode pop-up menu, and then select the “Allow this network to be extended” checkbox.
    Next, select the base station that will extend this network, and choose Manual Setup from the Base Station menu, or double-click the base station to open its configuration in a separate window. Enter the base station password if necessary.
    Choose “Extend a wireless network” from the Wireless Mode pop-up menu, and then choose the network you want to extend from the Network Name pop-up menu.
    Enter the network name and wireless password if necessary.
    Click Update to update the base station with new network settings.

  • I own and am downloading CS6 for install on a new surface Pro 3 tablet, don't have or want the extended version, but the installer keeps wanting to install the extended version. My regist shows it as Photoshop 13

    I own and am downloading CS6 for install on a new surface Pro 3 tablet, don't have or want the extended version, but the installer keeps wanting to install the extended version. My regist shows it as Photoshop 13

    Thanks for your help Jeff. When I put serial# in, it won't except it.... I think it wants to see a previous version in my pc because my serial is for an upgrade, but when it put in a serial# for version cs5 it still wont except. Do you think i have to install cs5 first (which is also an upgrade).. which will require that I put in version cs4 etc,.etc., etc.
    Do you know how I can get into an chat with Adobe.Thats what i had to do last time I installed CS6 in my desktop PC.
    Thanks / Ron

  • I am using garage band for the first time.  I dragged and dropped a song from itunes into the program and I want to extend the length of the song by repeating the first 28 measures.  I can't figure it out.  Please help

    I am using garage band for the first time.  I dragged and dropped a song from itunes into the program and I want to extend the length of the song by repeating the first 28 measures.  I can't figure it out.  Please help.  I have spent several hours trying to figure it out on my own but have not been successful.  It seems like an easy task.  Can anyone help?

    dewin1or wrote:
    I want to extend the length of the song by repeating the first 28 measures.
    split the region at the 28th measure
    http://www.bulletsandbones.com/GB/GBFAQ.html#split
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    then select only the first region and option-drag it to the end of the song

  • I want to extend my wireless coverage.

    I want to extend my wireless coverage.  I have an Airport Express (AE) that is at least 5 years old, possibly older, which is connected by Ethernet from my ISP's router.  I've been uninterested in upgrading its software because the last time I did, 3 years or so ago, the unit regularly dropped out even though the light remained green and I had to reboot it to get it working - almost daily.
    The upshot is that it is working well at the moment with antiquated software.
    I just bought a brand new AE and want to extend the coverage on my wi-fi network wirelessly. I understand that this should be easy to do but I have a few questions before I begin.
    Should I leave the old unit where it is and add the new unit to it or should I put the new unit first in line at the end of the ethernet cable?
    I'm concerned that I'll have to start all over because I don't have a record of the password I used to set the unit up using the airport utility.  The network itself is unprotected by a password intentionally.  I'm concerned that if the new unit goes in first place, at the end of the ethernet cable, and requires the current software, that the older unit will not work.
    Get Info reveals the following about my current Airport Express:
    Card Type:     AirPort Extreme  (0x14E4, 0xE9)
      Firmware Version:     Broadcom BCM43xx 1.0 (5.106.98.81.22)
      MAC Address:     28:37:37:19:82:96
      Locale:     FCC
      Country Code:     X0
      Supported PHY Modes:     802.11 a/b/g/n
      Supported Channels:     1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165
      Wake On Wireless:     Supported
      AirDrop:     Supported
    I'll appreciate your help.
    Paul

    Should I leave the old unit where it is and add the new unit to it
    You can't. The older AirPort Express has only one Ethernet port, which is connected to your ISP's router.
    Remove your older Express and set it aside for the time being. Connect the new AirPort Express to the router and make it work. Once that task is complete we can discuss the possibility of adding your older Express to extend the range of your new Express's network.
    Five years old places it on the cusp of the original 802.11b/g - only Express, and the first 802.11n Express, so you need to determine which one it is before attempting to configure it. Also, the AirPort information you posted is not for the Express, it is for your Mac's wireless card. Your Mac can use any AirPort Base Station but your OS X version must be determined as well as your older Express's model number. Look on its case for a four digit model number preceded by the letter A.

  • I want to extend the range of my Time Capsule, can I use Universal WiFi Range Extender, 4-port WiFi Adapter WN2000RPT?

    I want to extend the range of my Time Capsule, can I use Universal WiFi Range Extender, 4-port WiFi Adapter WN2000RPT?

    A universal may work but reliability tends to be poor..
    You are much better using another airport .. extreme or express.. even a second hand older one.
    Or do not use wireless bridge or repeater.. simply run ethernet or use EOP adapters to a second WAP run independently of the main router.. it is far more reliable and far faster solution .. wireless bridge/repeater will halve your wireless speed.

  • If I buy a 16GB iPad and I want to extend the GB, can you do that?

    if I buy a 16GB iPad and I want to extend the GB, can you do that?

    No, the internal capacity is fixed. There are some wifi-enabled external drives that allow you to stream music, films etc to an iPad, but you can't change the size of the built-in storage.

  • TS4597 I am using an Airport Extreme as my base station and I want to extend its range using a recently purchased AirPort Express.  However neither device is showing up on my AirPort Utility on either my older MacBook Pro or my IPad 4.  What do I do?

    I am using an older AirPort Extreme as my base station and I want to extend the range by using a recently purchased AirPort Express.  When I try to find either device using the AirPort Utilities function on either my new IPad 4 or my older MacBook Pro neither device is detected.  However the utility is seeing that we are connected to the Internet which is through the Extreme.   What am I doing wrong?

    For now, leave the AirPort Express powered off.
    Power off the entire network....all devices.....in any order that you want
    Wait a few minutes
    Power up the modem first, and let it run 2-3 minutes by itself
    Power up the AirPort Extreme next, and let it run a full minute
    Keep powering up devices one at a time about a minute apart until everything is powered up (leave the Express off for now)
    Open AirPort Utility and check to see if the AirPort Extreme is visible.
    If it's not, click the AirPort Utility menu at the upper left of the screen, then click About AirPort Utility. Post back with the version number of AirPort Utility that you see there....which should be AirPort Utility 5.6.1.
    Post back on your progress.

  • Want to extend my WLAN (ZyXEL) using 2013 airport extreme; doesn't work... Any ideas?

    Hi
    I want to extend my WLAN (using a ZyXEL VDSL-modem) with 2013 airport extreme. Doesn't work. What am I doing wrong?
    Does APE only work with Twisted Pair cable? That's the only way so far I can access the Internet using APE. But that was not my plan when I ordered it. So - am I wrong or is there a solution (without buying airport express on top of it …)?
    I am using AP utility v 6.3.1., OS X 10.8.4.
    Thanks
    swissgerman

    In your case, you will need to connect the AirPort to the ZyXEL product with an Ethernet cable.
    As far as your question of Does APE only work with Twisted pair cable?
    I cannot answer for all products. I said "probably" because as far as I know and have tested....the Apple products will not "extend" a signal from another manufacturer wirelessly.
    There might be a product that works with Apple. But, someone else will have to tell you what that product might be.
    If you want to extend using wireless with Apple.....as far as I know.....it takes two Apple products to do this.

  • I want to extend a region LOV based  Region - SupplierLovRN,  VO - ReqSupplierVO  to show Address field. Currently the rendered property in the region is set to false. The Query in the VO returns column Address but when searched from applications doesnot

    I want to extend a region LOV based  Region - SupplierLovRN,  VO 

    User, tell us your jdev version, please!
    Please take your time to rephrase your question. It's hard to understand what you really try to do. The better you describe the use case the better is the help we can give.
    Timo

  • I have iphone of australia in india. gurranty expires on 8 april. i want to extend. what i hv to do, i have iphone of australia in india. gurranty expires on 8 april. i want to extend. what i hv to do

    i have iphone of australia in india. gurranty expires on 8 april. i want to extend. what i hv to do, i have iphone of australia in india. gurranty expires on 8 april. i want to extend. what i hv to do

    You can't extend it. The warranty is only valid in the country where it was originally sold. If you want to fly to australia and have the phone inspected at an Apple Store, I'm sure they will sell you AppleCare. However, it will ONLY be valid in Australia.

  • Upgrade CS4 to CS5 design standard - want Photoshop Extended

    try as i might i cant find a way of calling a sales agent on the adobe website. i am trying to understand the following:
    1. what is best way of getting photoshop cs5 EXTENDED without the nonsense of being upsold by adobe ...ie i have CS4 design standard and want photoshop cs5 extended. -  do i need to upgrade photoshop individually and at a much more expensive price ( and then in due course each component individually at higher prices?) or is there a way to get photoshop extended in the CS5 design standard suite'
    2.. Does lightroom3  actually SYNC to flickr ( or facebook, or picassa) or just transfer?
    3. is there actually a sales number to call for help

    No. You do not have a Photoshop license...you have a Creative Suite license.
    Unfortunately, Adobe does a pretty poor job as far as this type of information is concerned but as I said earlier, the only way you can get to PS Extended is by upgrading to Design Premium.
    I personally believe DP is the best bang for the buck in the whole CS family. I've got an article on my website, http://theindesignguy.com/purchase-advice.shtml, which you may find informative.
    Bob

Maybe you are looking for

  • "Delete Everywhere"....Seriously?  I dont want to!!!

    iPhone 4:  iOS 6.0 OS:  Win 7 iTunes:  10.7.0.21 This seemed like a simple idea, even for Apple. I wanted to take my pictures from the camera roll and place them in folders to keep them organized.  Folders were created, no problem and pictures were m

  • Can I send more than one spreadsheets in an email?  How?

    I am trying to attach multiple spreadsheets to an email. But I can't seem to select more than one on my iphone 5 to send. Any suggestions?

  • File Adapter Archiving Issue

    Hi, THe file adapter archives the file, it doesn't save the entire contents of the file in the archive folder, but saves the first recordset (row) only in XML format. Did any body face similar issue, and what's the resolution to archive the contents

  • Mac mini and the powerbook, connecting the two

    Hi Everyone, I'm currently on the move, so the convenience of portability is extremely important. I'm a PowerBook user, with only little remaining hard drive space to spare. But, I also have an external hard drive to ease the matter. Now much of the

  • GPO preference not applying to map network drive?

    Hello, Server 2008 r2 GPO preference not applying to users to map network drive? When I see errors on client pc, here is the error I found? Log Name: Application Source: Group Policy Drive Maps Date: 1/7/2014 1:47:33 PM Event ID: 4098 Task Category: