Getting class Gui's to show up in other class Gui's

Can you, and if so how do you make them show up, set classes that are extended (say, a JTextField class) to show up in another class (like a panel or Frame). I can't seem to get them to show up. I can't find any relavent topics with a search.
Does my entire GUI have to be made of all methods from the same class????? Help anyone!

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class GUI // in my case I exetended Observable (because I needed to) instead of extends JFrame
public GUI ()
{ JFrame frame = new JFrame();
setTitle ("Title");
addWindowListener (new WindowAdapter ()
public void windowClosing (WindowEvent e)
dispose ();
System.exit (0);
// JPanel p = getMyStuff ()
// use this instead (or a new object of getMyStuff)
frame.getContentPane ().add(new getMyStuff());;
// DON'T pack ();
show ();
public static void main (String [] args)
new GUI ();
class getMyStuff extends JPanel
// you can use anything like this as long as its a component (for adding into other things) - havnen't been able to add an extended Observable yet (I guess I'll have to use a private for each class Observable myObservers = new Observable();
public getMyStuff ()
//JPanel p = new JPanel (); // not needed now
add (new JLabel ("This is a label"));
add (new JTextField (15));
add (new JButton ("Button"));
add (new JTextArea ("Chili is good... mmm"));
add (new JPasswordField (15));
}

Similar Messages

  • Can not get the Cisco TSP to show UP - 2003 64bit

    Can not get the Cisco TSP to show up on the list of Providers in Phone and Modem Options- Advance tab. Installed ver. 4.1, it seems to install correctly, with no errors but when I restart the server, there is no Cisco TSP001.tsp in the providers list. It works perfectly on my Windows 2003 servers, but will not work on this new Windows 2003 64 bit server. Any tricks to getting this to load?
    Thanks
    Keith

    Hi
    There is no 64-bit TSP yet. Whilst 32-bit apps will work OK for the most part on 64-bit via the WoW function, drivers tend to not be so flexible, and that's what TSP is...
    You'll have to bother your Cisco accounts folks to get this prioritised, it is upsetting a lot of people...
    Aaron
    Please rate helpful posts...

  • (ios5 ipad bugs)I can't get changes of album art, artist, album and other tags to show up in the iPad music player, but they show up correctly in the iTunes device view. Certain random songs do not sync correctly.   Wifi sync hasn't worked yet.

    (ios5 ipad bugs)I can't get changes of album art, artist, album and other tags to show up in the iPad music player, but they show up correctly in the iTunes device view. Certain random songs do not sync correctly.   Wifi sync hasn't worked yet.
    I mostly use technology for education and professional audiovisuals and lights.
    I don't sync  music because I use music from at least 4 different computers. (manually mange music)
    I use my iPad to play performance tracks for church and a local gospel group out of our church, Won4Christ.
    I chose to buy the iPad because the laptop of one of the group members (dellxps running iTunes) was randomly losing and mixing up music and I wanted a more stable option that was bigger than my iPod touch.
    I tried to add some data to music libraries that I previously added to my iPad, but the data only shows up when looking at the device in iTunes.
    Wifi sync has not worked on either my laptop or desktop ( both running windows 7 enterprise 64 and newest iTunes) not really a big issue, but very annoying
    When browsing through library playlist albums on the iPad, random artwork shows up on playlists with no artwork that you touch while dragging, and it does not go away until you change to another navigation tab and back.
    Random songs out of hundreds that I added showed up in iTunes grayed out with a sync circle beside them.  Those songs would play back okay on the iPad but were unplayable through the iTunes device view.  I had to delete the songs manually through the library along with the playlist and add them again. 
    These seem to be major stability bugs in the "new" music app and iTunes.  My only option right now seems to be to delete the songs that I want to change and re-add them with the changes already applied rather than changing the id3 tags and artwork on the existing music. I hope apple will release updates to resolve these issues. 
    Thank you for actually making it to the end of this manuscript of annoyances.

    Just wondered if anyone had any other suggestions.

  • I just noticed that some of the movies I had in iTunes did not get transferred to the iPhone. The missing movies are shown as generic movie icons in the iTunes panel. How do I get the original movies to show up again and transfer to the iPhone?

    I just noticed that some of the movies I had in iTunes did not get transferred to the iPhone 5. The missing movies are shown as generic movie icons in the iTunes panel and are checked to select them. But they do not show up in iPhone Videos. How do I get the original movies to show up again and transfer to the iPhone? I recently upgraded Mac OS to 10.6.8

    1. iTunes won't offer cloud downloads for songs that it "thinks" are in your library, even if it "knows" the files are missing. If you've exhaustively searched for the missing files and there is no prospect of repair by restoring to them to their original locations, or connecting to new ones, then delete that tracks that display both the missing exclamation mark and are of media kind Purchased/Protected AAC audio file. Don't hide from iTunes in the cloud when asked, close iTunes, then reopen. You can download from the cloud links or iTunes Store > Quicklinks > Purchased > Music > Not on this computer > All songs > Download all.
    2. Why? Not sure, perhaps 3rd party tools or accidental key presses combined with previously hidden warning messages when trying to organize the library. There is a hint that using the feature to downsample media as it is synced to a device may also be involved, though I've not replicated it. Whatever the reason a backup would protect your media.
    tt2

  • Latest update of Muse is not installing on several tries,installation gets stuck at 43% and shows '' waiting'' at the  ''Extracting''  stage for 7-8 hours after which it does not progress

    latest update of Muse is not installing on several tries,installation gets stuck at 43% and shows '' waiting'' at the  ''Extracting''  stage for 7-8 hours after which it does not progress.

    Refer to EX11....
    Creative Cloud Error Codes (WIP) | Mylenium's Error Code Database
    Mylenium

  • How do I get facebook and twitter to show up in the new notifications?

    I am trying to get facebook and twitter to show up in the notifications if I swipe left.

    You should also ask this in the MacBook Air forum. This is the forum for the white and black plastic MacBooks that were discontinued in 2010. You should also post this question there to increase your chances of getting an answer.
    https://discussions.apple.com/community/notebooks/macbook_air
    Also if you're running Mountain Lion. There's a Mountain Lion Support Community. You should also post this question there to increase your chances of getting an answer.
    https://discussions.apple.com/community/mac_os/os_x_mountain_lion

  • How can I get my RSS feeds to show up on my iOS devices from iCloud?

    How can I get my RSS feeds to show up on my iOS devices from iCloud?  The RSS feeds now show up just fine on my iMac. 
    On my iMac the appear in a category at the same level as In Box, Sent, etc.  However the term RSS is in lighter grey like Mailboxes, On My Mac, Reminders.  I use Snow Leopard 10.7.5.  Any help will be appreciated as I'd like to read the feeds on my iPad 2 and iPhone 5 when I'm away from home.
    Thank you.

    This is helpful, but how do you get both devices to communicate to this single calendar via the iCloud?...
    You did not mention that it must be through iCloud.  But then, it can't really do so if you want to maintain separate Apple IDs.
    So you just set up an additional calendar on your devices.
    iPads, iPhone, Macs can show multiple calendars simultaneously.  I have my work calendar and several personal calendars all showing simultaneously on my iPad, Mac Mini and Macbook Pro.   In the case of my client, they didn't need multiple calendars.  They just were going to use the one shared calendar.  But I did setup the shared Google calendar and separate personal caldendars on their iPhones.  (e.g.: Husband's iPhone = husband's personal Mac Cal + shared Google Calendar.  Wife's iPhone = wife's personal Outlook for Windows Cal + shared Google Calendar.)

  • How do I get a PDF form to show its content using Mac 10.9.3, Safari 7.0.4 and Reader XI?

    I am using my Mac 10.9.3 with Adobe Reader XI in my Safari 7.0.4 Browser.  I do not have any trouble viewing PDF statements with my bank or other places OTHER than at Ford Credit.  Each time I log into Ford Credit to view the statements and attempt to download them, all I get on the screen is their blank form with headings and titles---no content.  When this happened once before over a year ago with my old Mac computer, I found my answer online by making Adobe Reader my default reader instead of Preview.  At that time it worked.  This time, its not working.  I contacted Ford Credit and they said their online Account Manager performs better using Internet Explorer.  The only answer they had for me was that advice or to contact Adobe.  So here I am looking for answers.  Any help provided is already appreciated.

    I do not know what to do or what to say or what to type to get someone familiar with the Adobe Reader to respond to my plea for help.  I am a 55 year old (aging fast) woman who is taking care of a father-in-law with dementia and a mother-in-law with Stage 4 Breast Cancer so I am already at my wits end when trying to get a program to work on my computer.
    Again, I ask.  How do I get the Adobe Reader to show content on a PDF statement at Ford Credit when all other PDF statements on other accounts work fine?  Ford Credit says it is a problem with Adobe Reader and that I am to come here for the answers.  I have 'googled' and have looked for similar posts on the Adobe Reader Community forums but I haven't found the answer yet.  
    Posting "[moved to the Adobe Reader (desktop) forum]", which I have yet to find, probably doesn't exist, or posting "Duplicate of https://forums.adobe.com/thread/1491128" does not provide an answer when an answer could have been provided at the same time taken to post those notations.  I don't get it or understand it---not what I would have done if the roles were reversed.
    If you have any heart, or any form of courtesy, please respond with an actual, workable answer to what is probably a simple solution to my problem.  And, then maybe, the answer will help someone else in the future who may be struggling with the same situation and will find it in a 'google' search and won't waste any more of your valuable time.  Or theirs.
    Thanks.

  • How do I get the PDF icon to show on all of my PDF files?

    how do I get the PDF icon to show on all of my PDF?

    Generally the icons are a selection that is set in MS Explorer (on the PC). Depending on the version of windows, there are various ways of getting at the properties related to an icon, including what application would open the file.

  • How do I get the Airplay Icon to show on the System Preferences of my MacBook Pro?

    How do I get the Airplay Icon to show on the System Preferences of my MacBook Pro? I want to be able to connect to my AppleTV.

    I looked at that already. I've done everything it says: check to make sure wireless is working, make sure airplay is enabled, make sure device and apple tv are on the same network blah blah. The icon just isn't there. Unless I skipped a step. AirPlay works when I use it in the music app and in the video app, I jus can't get mirroring to work. I was looking at some other threads and mirroring doesn't seem to be working for a lot of people. Maybe I jus have to wait for an update =\

  • How do I get the music icon to show up on the home page? in the settings icon it shows I have all my songs downloaded.

    How do I get the music icon to show up on the home page of the touch?  Under the settings icon it shows the songs are downloaded.

    - Move the Music app icon to the home page.  It is usually easer to do it on the computer than on the iPod itself. The manual says how to move the apps.
    iPod touch User Guide (For iOS 5.0 Software)
    - I do not undersand what: "Under the settings icon it shows the songs are downloaded." means.

  • HT2731 how can i sync my Apple ID to my iTunes sign-in?  I have an old ID showing up in my iTunes sign-in window and cannot get rid of it to show my current Apple ID.  I don't have the old password to the old ID in order to "manage" my account.

    how can I sync my Apple ID to my iTunes store sign-in window?  An old ID keeps showing in the iTunes sign-in window and I cannot get rid of it to show my current Apple ID. I don't have the password for the old ID in order to "manage" my account and make changes. Help.  Thanks.

    Did you create a new account or did you update your existing account with a new email address ? You can tap on the id in Settings > iTunes & App Stpre and sign out of it and you can then sign with the new/updated account.
    If you did create a new account then your existing content will remain tied to your old account, so only that old account will be able to redownload that content and/or download updates to its apps. If you can't remember the password for it then you can try getting it reset via this page : http://iforgot.apple.com

  • I got an iTunes account years ago with an ID and password...them later got a mobile me and password...now I have an iPad and downloaded iCloud and I can't get my movies and tv shows on iPad because different account name and password from my mobile me.

    I can't get my movies and tv shows on iPad now that I have added iCloud. The problem is that my iTunes account has different name and password from my mobile me account.  Can I change my iTunes account name and password so that they will transfer to my iPad with the mobile me / iCloud account? I need to figure out how to make the two accounts one or iCloud has to be able to accept my iTunes account with years of music and movies.

    Hunter of Sock Monsters thanks...I did follow your advise.  I went to the iforgot site and tried answering the secret questions twice.  I got the "wrong answer", so the next time I asked for an email authentication.  I am still waiting. I don't know what the usual time for waiting normally is. I am still waiting for an email reply from three days ago.  I'm not going to hold my breath.  My ipad is out of warranty but I may have to beg for help from support? I'll wait awhile longer.  Maybe there is another thing someone could come up with.  I appreciate your fast reply Hunter.

  • How can I get my android tablet to show up on my mac?

    I am trying to get my android tablet to show up on my mac. I plug it in and the tablet is charging from the mac. So I know Ive got a good connection. I tried using android transfer program but it will not see my tablet HELP!!!!

    Ughh

  • How can you get a compilation album to show up as one album rather than be split up but song and artist?

    how can you get a compilation album to show up as one album rather than be split up by song and artist? I've got loads of albums on iTunes that are compliations and they are all mixed up by track/ artist. Even when you click 'show album' it still just shows the album title and then the artist in alphabetical order - so the album is replicated several times
    Can anyone tell me how to amalgamate compliation albums please?

    This web page will help you: http://samsoft.org.uk/iTunes/grouping.asp

  • I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date is created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date  created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    The Finder reports File information. The date and time of the photo are in the Photo's Exif metadata. The Finder has no awareness of this. All photos apps on any system do.
    Regards
    TD

Maybe you are looking for