I need a menu!!+other stuff

You see, I'm realy, realy new (like 2 months) and I need some standerd edition java ONLY sorce code for this:
( "..." means a color/font choser)
( " ||===||[then the contents] " means a toolbar-movable)
|File| |Edit| |Tools| |Help|
========================================================= |Open| |Copy| |Find| |Help Contents|
------ |Paste| |Replace| |About|
|Save| ------ ------
|Save As| |Undo| |Spell Check|
------ |Redo|
|Print| ------
------ |Select All|
|Exit| ------
|The Font...|
=========================================================
||==||
Undo -- Redo -- Copy -- Paste
||==||(end)
||=====================================================||
||-----------------------------------------------------||
|| ||
|| ||
|| ||
||(Textbox)(needs to support differnt colors and fonts)||
|| ||
|| ||
|| ||
|| ||
||-----------------------------------------------------||
||=====================================================||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
||=====================================================||
||-----------------------------------------------------||
|| ||
|| ||
|| ||
||(Drawing canvis)(needs to support differnt colors) ||
|| ||
|| ||
|| ||
|| ||
||-----------------------------------------------------||
||=====================================================||
(STATUS BAR)
PLEASE, PLEASE HELP ME, AND ANYONE WHO CAN DO THIS, IS, TO ME, THE BEST HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(IT NEEDS THE ACTIONS TO, PLEASE, TEST IT FIRST TO SEE IF IT WORKS, NO BUGS!)
THANKS!

Hi.........can not give u the full code..But i can giv u some hints
here i am enclosing one sample code written by me which gives and idea about craeting the menus. i hav added actionListener for only name and email items of the menu....u can add the necessary actionListeners for the necessary items of ur requirement.
<code>
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
public class MyMenuTest
     public static void main(String[] ar)
          MyFrame mframe=new MyFrame();
          mframe.show();
class MyFrame extends JFrame implements ActionListener
     public MyFrame()
          setTitle("Testing Menu");
          setSize(400,400);
          setLocation(200,150);
          addWindowListener(new WindowAdapter()
               public void windowClosing(WindowEvent e)
                    System.exit(0);
          JMenuBar mymenu = new JMenuBar();
          setJMenuBar(mymenu);
          JMenu mymenu1= new JMenu("Profile");
          mymenu.add(mymenu1);
          JMenuItem mm11= new JMenuItem("name");
          mymenu1.add(mm11);
          JMenuItem mm12= new JMenuItem("place");
          mymenu1.add(mm12);
          JMenu mm13= new JMenu("contact no.");
          mymenu1.add(mm13);
          JMenuItem mm131= new JMenuItem("phone");
          mm13.add(mm131);
          JMenuItem mm132= new JMenuItem("Mobile");
          mm13.add(mm132);
          JMenuItem mm133= new JMenuItem("email");
          mm13.add(mm133);
          mm11.addActionListener(this);
          mm12.addActionListener(this);
          mm131.addActionListener(this);
          mm132.addActionListener(this);
          mm133.addActionListener(this);
          Container cp=getContentPane();
          p=new MyPanel();
          cp.add(p);
          private MyPanel p;
          private JTextField emailField;
          public void actionPerformed(ActionEvent e)
               String s = e.getActionCommand();
               Graphics g = getGraphics();
               if ( s.equals("name"))
               g.drawString("SSSSS", 50,200);
               if ( s.equals("email"))
     emailField = new JTextField("", 20);
p.add(emailField);
emailField.setText("[email protected]");
validate();
class MyPanel extends JPanel
</code>          

Similar Messages

  • I cant create account because i dont have credit card but I have ipod touch and I need it to download free games and other stuff

    I cant create account because i dont have credit card but I have ipod touch and I need it to download free games and other stuff.Is there any option i can write i dont have any credit card?
    Sorry abaot my english

    Hi...
    Click None in the Payment Information window.
    Instructions for either using your iPhone or a computer > Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • If i upgrade to mountain lion (from lion), will i need to reinstall my windows VM? and what about my apps and other stuff? will those need to be reinstalled too?

    if i upgrade to mountain lion (from lion), will i need to reinstall my windows VM? and what about my apps and other stuff? will those need to be reinstalled too?

    I started off with problems about being in the wrong region and now  have Plug- in Failure
    I am trying to access Setanta Sports Australia which requires
    Microsoft Silverlight and was already pre-installed on a Macbook Pro Retina 2.5 ghz Intel core i5 with Mountain Lion 2.8.3
    I have these different PlugIns active :
    file://localhost/Library/Internet%20Plug-Ins/DivXBrowserPlugin.plugin/
    file://localhost/Library/Internet%20Plug-Ins/Flash%20Player.plugin/
    file://localhost/Library/Internet%20Plug-Ins/JavaAppletPlugin.plugin/
    file://localhost/Library/Internet%20Plug-Ins/QuickTime%20Plugin.plugin/
    file://localhost/Library/Internet%20Plug-Ins/Silverlight.plugin/

  • My mac book pro has got 41 GB of other stuff on it clogging it up how do I find out what is rubbish and delete it

    my mac book pro has got 41 GB of other stuff on it clogging it up how do I find out what is rubbish and delete it. To free up some memory. I can't believe I have filled it up intentionally.

    For information about the Other category in the Storage display, see this support article.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Then reboot. That will temporarily free up some space. Do the same in other applications, such as Aperture, that have an internal Trash feature.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    If you're using Time Machine to back up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of files you've recently deleted. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning your files.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • TS2446 If i create a new apple id account on my ipod, will i still have all my music, apps, books and other stuff on my ipod that i downloaded and bought with my old account or will i loose everything; will i be able to still do the updates to those apps?

    If I create a new apple id account on my ipod, will I still have all my music, apps, books and other stuff on my ipod that I downloaded and bought with my old account or will I loose everything; will I be able to still do the updates to those apps?
    I really need help!

    I don't think you understood what I wrote. You don't HAVE to pay for everything if you are happy with using the other account for updates, etc. But if you don't want to do that then you will have to buy new copies of everything for the new account. There's only one purchase item per account, but you can redownload an item in the account many times.
    The idea is this:
    One computer, multiple devices, one Apple ID.
    One user, multiple devices, one Apple ID.
    The basic idea is that each user has an Apple ID under which he/she can manage multiple devices on a single computer.
    Once you step outside of that model you create such problems as not being able to use or update apps purchase under one Apple ID when using a different Apple ID. Or not being able to easily sync one device on more than one computer.

  • TS4009 My iCloud storage is full and I need to delete some stuff.  Can anyone tell me what is important to keep and what not?  I have done all I can but it still says I need to delete before I can back up on iCloud.

    My iCloud storage is full and I need to delete some stuff.  Can anyone tell me what is important to keep and what not?  I'm just not sure what I really should back up each night and what doesn't really matter.  I know my photo's should back up, but other than that, I'm not really sure.
    I have taken some pics off and videos and appt, but it still says I need to delete before I can back up on iCloud.  I'm starting to wonder if its a glitch with my personal phone.  Can anyone help me?
    Thanks!

    Only you can decide what's critical to back up.  One option is to import your photos and videos to your computer (see http://support.apple.com/kb/HT4083), then either delete them from your phone or exclude the camera roll from your backup in settings.
    You might try going to Settings>iCloud>Storage & Backup>Manage Storage, tap the name of your device under Backups, under Backup Options tap Show All Apps, then turn them all to Off (including camera roll), then look at the size of your next backup.  If it doesn't go down significantly, something else is wrong.

  • I can't connect to my MacBook becaus it won't boot. Then my iPad says I need to delete some stuff to be able to download any.thing. I know I have room but is it possible to delete without connecting?

    I can't connect to my MacBook because I can't get THAT to start. It just sits in it's blue screen With the apple, spinning it's gear. All this happened after I used mackeeper. If anyone can help with that, I'd appreciate it. I've tried starting in safe mode,resetting everything but nothing happens. It's not the kernel, ive delt with that  it looks like it's going to boot but it won't.  Then there's  my iPad which says I need to delete some stuff to be able to download anything. I know I have room on there but there are 2copies of a movie and I'd like to delete one of them.  Is it possible to delete anything on the ipad without connecting to MacBook?  I do have an appt later in the week but if I could fix this myself that would save me a couple hours driving time. Thanks for anyone's help in both of these matters.

    Be sure Safari does not have the Block Pop-Up Windows preference set.
    Where I work now there are several unencrypted VLANs that require authentication, and Safari promptly pops up a window for me to register every time.

  • IPod Nano 2G with 1Gb of "Other" stuff!?

    Hi,
    I gave my iPod Nano (2G) to my daughter recently. Before I did, I restored it and put a bunch of her music onto it. It needed to be charged, so I plugged it in last night only to find all the music gone. I charged it and replaced all the music files, but now I'm noticing that when I look at the Nano's summary, it gives me this info: Audio 163 songs...Other 1 Gb.
    What's the "Other" stuff?? I can't find any other files on it.

    Hello David,
    The Other section consists of such things as files stored externally on your iPod, album artwork, games, the iPod's software, and sometimes corrupt files leftover from failed syncs of your iPod with iTunes.
    1 GB is unusually large, so I would recommend restoring the iPod via iTunes to see if that helps.
    B-rock

  • How to get rid of other stuff on my iphone

    not quite sure how i did this but I have ended up with over 6.1 gb of orange "other" stuff on my iphone 3G. actually i do know what it is..it's my music that was on the phone but somehow turned to other (maybe when I moved my music folder away from my documents) now I have no music and this other stuff. I can reload my music but is there a way to remove the other stuff without resetting my phone??

    Due to a failed/interrupted sync. You need to Restore in iTunes.

  • Mail deleted a current inbox and restored an old deleted inbox. It won't restore from Time Machine, and I'm missing archived emails from the old account. I'm pretty sure there is other stuff missing, but it's hard to tell. Any ideas why it would do this?

    Our Mac was working fine last Monday, then Tuesday morning one of our current inboxes was gone, and an old, archived inbox was restored--twice. Other than some trouble-shooting on Tuesday, we've pretty much left things alone as we were busy doing other stuff.
    I tried restoring the files from Time Machine, but it didn't work. I followed plisk restore instructions--nothing. It's a mess. We have no idea what would have caused this. We're above average users--we weren't mucking about with anything. It was just so strange.
    I went back into Time Machine, and it just makes no sense that I can't restore anything. We're now missing important emails--nothing too tragic, but still a pain in the butt. Thankfully the current inbox that was somehow deleted had a back-up on our email server, but the archived/deleted inbox file that was magically restored had all the archived emails that we kept deleted.
    Any ideas would be wonderful.
    Thanks!

    Hello,
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk.

  • Whenever I turn my MacBook pro on, all the other stuff is loaded (MS word/excel/powerpoint), Spotify, iCal, etc are automatically loaded, so in order for me to go to my desired website, I have to close (x) out all applications loaded. Please advise.

    Whenever I turn my MacBook pro on, all the other stuff is loaded (MS word/excel/powerpoint), Spotify, iCal, etc are automatically loaded, so in order for me to go to my desired website, I have to close (x) out all applications loaded. Please advise.

    If you are using Lion:
    Dealing With The Resume Feature of Lion
    Managing Mac OS X Lion's application resume feature.
    If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.
    It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:
    If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:
    chflags nohidden ~/Library
    Press RETURN. Quit the Terminal application.
    In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.
    Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.
    The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it.

  • When I try to sync my ipod it shows that i have 2 gigs of other stuff. I dont know what it is and it is taking up space. how do I get it off?

    When I try to sync my ipod it shows that I have 2 gig of "other" stuff and I don't know what it is and it is taking up space. How do I get it off?

    You need to restore you iPod to gedure the "other" to its normal of less than 0.5 GB.  A restore from backup works if the large other is not in the backup.  Make sure that you turn off outo syncing (iTunes>Preferences>Device and check the box that says Prevent iPOds....syncing.  Otherwise, the backup will contain the other.

  • Bugs in Tone and other stuff

    My LR4 beta problems.
    File is a NEF, overexposed image for testing. I did try this on several files and different OS (well, still Windows 7 32 bit, but not the same machine).
    Exposure set to -5, Whites set to 0.
    Now Whites is set just to -1. The jump is huge! Why is this?
    Another example.
    For testing, underexposed image.
    In old 2010 Fill Light, the result is this:
    In new 2012 with Shadows, almost nothing.
    And how can Whites be more like Fill Light?
    Even more, a full +100 on Whites will make the Highlights to act strange in my opinion. -100 Highlights makes the image even brighter. +100 makes it darker. I have a screen with the same file as a Jpeg. I guess there is nothing wrong with NEF files, since all behave the same.
    Other settings with the same Whites and Levels (well Tone Curve) make images all black. I don't have a screen for those. But if in Tone Curve I have a negative setting an all sliders and with a positive in Whites +1, I get a black image.
    Some other stuff.
    I get the idea to combine Highlights with Shadows and Whites with Blacks, but still this is not natural. They should be in the normal order.
    And maybe on a scroll wheel value could be selected as 1, not as 5 like it is now.  5 is way too much for fine adjustments. If I want more, I can drag it.
    With my files in 2012 there is a problem in keeping the original color. Tone in general makes some tint changes on all images. They tend to go on the warm side of the world.
    These are the main important things in LR for me. If Tone is not working, that other stuff does not matter. A RAW file will always need adjustments.
    Thank you for your time.

    The huge jump in visual appearance when nudging Whites (e.g., from 0 to -1) is a bug and will be fixed.

  • I had to replace my i4s with another one from the apple store.shouldn't i be able to go to the cloud to get all my contact info and other stuff that was stored in the cloud from the first phone?

    i had to replace my i4s phone with another one from the apple store. i need to download all my contact info and other stuff from the cloud to my new phone.i see a screen that says  RESTORE I PHONE   and are you sure you want to restore the iphone to its facory settings?  all of your media and other data will be erased. they i tunes will verify restore with apple. After this you will have the option to restore your contacts and other settins.  The question is will it restore my first phones info?  I am hesitant to delete anything  lol.

    No. If you made your backup to iCloud, iTunes will not restore from an iCloud backup. See:
    iOS: Backing Up and Restoring Data to a New Device

  • For a while now my computer has been saying " Start up disk is nearly full", however I don't have a lot of stuff saved on the computer I moved a lot to a flash drive, and all the other stuff are songs and recently saved essays for school. Help.

    For a while now my computer has been saying " Start up disk is nearly full", however I don't have a lot of stuff saved on the computer I moved a lot to a flash drive, and all the other stuff are songs and recently saved essays for school. I have and frequently empty my trash can. I have researched this before and i see a lot of things that say get a external hard drive, but before I go and purchase one I want to make sure there is no other, simpler way, to solve this problem. Help Please.

    You need an external drive so you can free up disk space. Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you have a minimum of 15% free disk space.
    Freeing space on your Mac OS X startup disk

  • I have a problem, my wife has an ipad with photos , emails etc etc, she has recently got herself a new iPad Air, has now been using that for two or more months, more photos (new) more emails and other stuff. Will send next query as running out of room to

    I have a problem, my wife has an ipad with photos , emails etc etc, she has recently got herself a new iPad Air, has now been using that for two or more months, more photos (new) more emails and other stuff. What she wants to do is get all she wants from ipad 1 to new ipad without finishing up with 2 of everything which happen on previous occasion. I realise that she needs to tidy up ipad 1 first and get rid of thousands of emails etc. I need help.
    Thanks kiwihdrider

    Hi yes that works well when the new ipad hasn't been used. Trouble new one has been used for two months or more, has lots photos email etc etc. I am worried that these will go. When we did iPhone thru same process finished up with two of most things pics and emails. The emails alone were over 2 thousand and wife reluctant to delete them all. I would and just sort pics. Any other ideas
    Ta

Maybe you are looking for

  • IPhone 5 contacts local sync via usb doesn't work - updated

    Syncing an iPhone 5, AT&T 64GB, with Macbook Air 11" mid-2011, 1.8GHz / 4GB. OS X 10.10.2; iTunes 12.1.0.50; iOS 8.1.3. I am trying to sync my contacts from my OS X Contacts App to my iPhone 5 via USB. The contacts do not sync. The contacts are local

  • Cannot type in webpage

    Since installing Mountain Lion, I have this SERIOUS problem. Whenever I tried to type something in an open web page, for example signing up new accounts, type in my credit card details at checkout, update my facebook status .... Beach-ball keeps appe

  • What is the best way to configure AE for use as a wireless bridge?

    I am using an AE to provide airtunes to my living room receiver as well as getting internet connection to my living room PC. The way I have it set up is that I am connecting to my existing wireless network (provided by a dlink dir-655) and then plug

  • Installation adobe reader XI

    Salut ) tous, J'ai reçu 2 p.j. au format pdf que je ne peux pas lire: aucun aperçu disponible et j'ai essayé d'autres documents pdf c'est pareil. J'ai adobe reader XI J'ai fait une réparation par la panneau de configuration, c'est pareil. J'ai doc su

  • Duplicate library on iPad

    I just synced my iPad today for the first time. As I was in the the iPod app I noticed that some of the libraries were duplicated. I have 4 copies of each library on the iPad. Its not a big deal but is there a way to fix this?