HT201586 Hi how do you do a lowercase letter x with a - on top of it? please

Hi how do you do a lowercase letter x with a - on top of it? please

I'm afraid not, that's not what the JPanel was designed for. You can do drag and drop with a JPanel, I'm doing it in my application, but it won't give you window behavior which is what you're after, and what the JInternalFrame was designed to do. Here's a brief sample.
package com.fw.area51.desktoptest;
import javax.swing.* ;
import java.awt.* ;
import java.awt.event.* ;
* @author tryonjp
public class DesktopTest {
     public static void createAndShowGUI(){
          JFrame frame = new JFrame("DesktopTest") ;
          JDesktopPane desktop = new JDesktopPane() ;
          JInternalFrame alpha, beta, delta, gamma ;
          alpha = new JInternalFrame("Alpha") ;
          beta = new JInternalFrame("Beta") ;
          delta = new JInternalFrame("Delta") ;
          gamma = new JInternalFrame("Gamma") ;
          frame.setBounds(100, 100, 600, 400) ;
          alpha.setBounds(50, 50, 200, 100) ;
          beta.setBounds(300, 50, 200, 100) ;
          delta.setBounds(50, 200, 200, 100) ;
          gamma.setBounds(300, 200, 200, 100) ;
          desktop.add(alpha) ;
          desktop.add(beta) ;
          desktop.add(delta) ;
          desktop.add(gamma) ;
          frame.setContentPane(desktop) ;
          alpha.setVisible(true) ;
          beta.setVisible(true) ;
          delta.setVisible(true) ;
          gamma.setVisible(true) ;
          frame.setVisible(true) ;
     public static void main(String[] args) {
          SwingUtilities.invokeLater(new Runnable(){
               public void run(){
                    createAndShowGUI() ;
}The conversion shouldn't be that complicated, and in any case you'll spend less time doing that than you would trying to make a JPanel do what you want.

Similar Messages

  • How do you have multiple apple id's with one itunes

    how do you have multiple apple id's with one itunes

    I have multiple IDs and use the single computer sharing itunes. By 'sharing' I mean we open the pc, open itunes and log in with our individual ID as required.
    While Im logged in I plug in  my device. I transfer my purchases from my device as per the file menu (not the check for auto downloads). I move them as required to whichever playlist I like.
    Then when my son wants to use itunes or update his device, he logs in, plugs in his device, transfers purchases from his device, puts whatever music he wants into his playlist and/or drags direct to the device regardless of who purchased it and then syncs.
    Im not sure how it works associating the pc with only one ID or all that other business- I know I don't fiddle with any of that.

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • HT4641 How do you copy and paste text from a website to a pages document please. I could do this on my old ipad but not with ipad air  thank you

    How do you copy and paste text from a website to a Pages document please. I could do this from my old ipad but not from ipad air. Thank you

    Welcome to the Apple Community.
    Why what happens when you try.

  • How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    Forgot to add that it would be an adjustment layer with some kind of mask on it already. The mask is uncentered when copy and pasted which throws it off.
    I guess the same question would go towards doing the same for an object. How to copy and paste it over to a new doc, keeping its position within the document? is this possible?

  • How do you make a page scroll horizontally with mouse wheel?

    As the title says, how do you make a page scroll horizontally with mouse wheel in edge animate?

    This should get you there
    http://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/
    1. Load the mousewheel min script via CDN (jquery-mousewheel - cdnjs.com - the missing cdn for javascript and css)  into the Scripts Panel;
    2. Add the provided snippet into your Stage > compositionReady event handler.
    hth
    Darrell

  • How do you configure the ipad to print air print but of A4 size please ??????

    how do you configure the ipad to print air print but of A4 size please ??????

    Frankie,
    The usual setting is in Printing Preferences.
    In case you haven't found it yet - it has been a while since your original post - you may have your tray setting stuck on the 4X6 tray.
    I can provide details and "how-to" if you need more help.
    Printer model info would be helpful, and do you have your printer software loaded yet?
    I hope this helps!                                 
    We work hard to help!
    When ever you see a Helpful Post - Click the Kudos Star on the Left as Thanks!
    Did this Post solve your problem?  Mark it “Accept as Solution”!
    Note: You can find the “Accept as Solution” box on threads started by you.
     2012 Year of the Dragon!
    Dragon Tips!
    Install your Printer Software!
    Look for your Printer’s Software at your printer’s own website!
    Software, manuals, alerts, “how-to” information, and much more!
    To see if there is software for your printer, Start at:  Support and Drivers
    Kind Regards,
    Dragon-Fur

  • How do you overlap PDF's and finish with one PDF file? Need help ASAP

    how do you overlap PDF's and finish with one PDF file?
    Need help ASAP

    I'm not sure if you can do that with CreatePDF.  Try it; you got one free use when you sign up with Acrobat.com
    If not, you will have to use Adobe Acrobat; there is a full-use 30 days trial.

  • How do you get the album pictures displayed with the right songs on my iphone 5

    how do you get the album pictures displayed with the right songs on my i phone 5?

    I have the same problem but i only have iphone 4s its only jsut started in the last 2 weeks or so

  • How do you sync Windows Live Mail Calender with iPhone 4 Calender?

    How do you sync Windows Live Mail Calender with iPhone 4 Calender?

    Hey donfrombig spring,
    Thanks for the question. To setup your Live account on your iPhone, see this article:
    iOS: Setting up Hotmail, Outlook, Live, or MSN email accounts
    http://support.apple.com/kb/HT1694
    Thanks,
    Matt M.

  • How do you use inspirion 13 7000 stylus with adobe photoshop cc

    how do you use inspirion 13 7000 stylus with adobe photoshop cc? Doe anyone know how to use the stylus on this dell 2 in 1? I was told by dell that you could use the stylus to edit in photoshop but its not working-

    You are asking a huge question. You'll get a better response if you ask something specific about a problem you are having with layers.
    I'm not trying to be mean but you can find vast amounts of basic info on layers with a simple Google query. If you click the Video link after inputting a search query, you can even find video tutorials.  YouTube  is one place that has quite a few video tutorials.
    How layers work hasn't changed between Elements versions.  Layers work the same in Photoshop. The application interfaces may be slightly different but layers are layers.
    FWIW, I'm not a big fan of the manual. You're better on getting something like "The Missing Manual" by Barbara Brundage or looking for info on the Internet.  One free resource with tons of info can be found here:
    http://www.garymgordon.com/misc/tutorials/photoshop_tutorial/elements/psE_intro.htm
    The tutorials found at the above link use an older version of Elements so you won't find info on the newest tools and features but the basic Editor info on layers and the tools still apply.

  • How can you save from photoshop to pdf with intact formlayers?

    How can you save from photoshop to pdf with intact formlayers?

    No, it is form layers for a cutting machine, when you save to pdf from ill or indesign you can select make acrobat layers but not in photoshop.
    Do anyone have a sullotion?

  • How do you enter a Capital letter on the iPod touch?

    Sorry for the silly question. But how do you enter a Capital letter on ipod touch? I was entering my network password and first letter is a CAP and for the life of me I could not get it right
    Thanks

    Hi Anna,
    This double tap thing had never worked for me. Surprise, there is a preference to enable it.
    Settings > General > Keyboard > Enable Caps Lock.
    Thanks for hint. Easy.
    ivan

  • How do you download itunes onto a hp with windows 8?

    How do you download itunes onto a hp with windows 8?

    iTunes does not yet offically and fully support Windows 8. If you search this forum for "windows 8", you'll find threads with discussions as to how people have done it, though in almost all cases with less than perfect results.
    Regards.

  • How  do you put songs on your ipod with the new itunes?

    How  do you put songs on your ipod with the new itunes?

    Do you mean remove them from the iPod or transfer them back to your computer? You can't transfer photo's back to the computer with iTunes. To retrieve photos from an iPod try:
    iPodPhotoCopy Windows only
    CopyPodPhoto Windows only
    iPod Photo Liberator Mac & Windows
    To remove individual photos from an iPod you delete or remove the photo from the folder that you linked to when you set the preference "synch photos from" and update the iPod. For example, if the iPod is getting the pictures from the folder "My Pictures," delete or remove them from My Pictures.

Maybe you are looking for

  • Can't get sound from USB input device

    I've got an Alesis iMultiMix 8 USB mixer plugged into my shiny new MacBook Pro (running Leopard). The Mac properly recognizes the USB Audio Codec as a sound input device, and in fact shows a signal being received from the mixer. However, I don't actu

  • Missing shared libraries?

    Hi all, I tried to install j2ee 1.4.2 Beta on my redhat linux 9 machine. After I downloaded and unzipped the zip file, I follow the installation instruction by typing ./setup in the extract folder. However, the follow error comes out: error while loa

  • Error in JMS Message ?

    Hi all, I am using Netbeans 5.5 but in JMS i got the error. Do you have any idea for this error? Error: Could not verify successfully. java.lang.IllegalArgumentException: This ejb has no message destination reference by the name topic      at com.sun

  • Can I mirror my computer on my TV?  I have an Apple TV 2d generation

    Can I mirror my computer on my TV.  I am using an ATV 3d Gen

  • When is it safe to call invokeMethod?

    Working from the Trace.java example in the JPDA demo, I tried to insert some invokeMethod calls in one of the event handlers, to get supplementary information about the source of the event, but this always leads the tracer VM to hang in mid-air (i.e.