Java 1.3 not working with JDeveloper 10.1.3.2

Hi all,
I'm trying to run an application with Java 1.3 and JDeveloper 10.1.3.2. When I start up the application, I get this error message below. Can anyone please help?
OC4J startup failed
java.lang.NoClassDefFoundError: java/util/IdentityHashMap
     at oracle.classloader.ConfigurationType.createManifestTypeFor(ConfigurationType.java:290)
     at oracle.classloader.ClassLoaderScope.<init>(ClassLoaderScope.java:59)
     at oracle.classloader.ClassLoaderScope.<clinit>(ClassLoaderScope.java:31)
     at oracle.classloader.ConfigurationType.<clinit>(ConfigurationType.java:27)
     at oracle.classloader.util.ClassLoadEnvironment.<clinit>(ClassLoadEnvironment.java:247)
     at oracle.classloader.util.ClassLoadLogger.<clinit>(ClassLoadLogger.java:36)
     at oracle.classloader.query.ReportQuery.<clinit>(ReportQuery.java:56)
     at oracle.oc4j.loader.boot.BootConfigurationFactory.<init>(BootConfigurationFactory.java:64)
     at oracle.oc4j.loader.boot.BootConfigurationFactory.create(BootConfigurationFactory.java:58)
     at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:22)

You need to use the JDK 5.0 Update 6 or higher - see the Installation Guide:
http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.2/install.html#java_sdk
You can still use JDK 1.4.2 to compile your project, in case you have to deploy it in an Application Server still using JDK 1.4.2.
See "JDeveloper 10.1.3 Applications Deployed in the Oracle Application Server 10.1.2":
http://blogs.oracle.com/Didier/newsItems/departments/adf/2006/06/15#a79
Regards,
Didier.

Similar Messages

  • Java Web Start not working with Proxy

    I have Java Web Start program not listening to proxy settings. It tries to access localhost using our proxy settings, but with no user name or password. I'm wondering if Java Web Start has proxy settings somewhere. I'm not sure since when we disable the proxy settings the program works without issue. Any thoughts?
    Thanks

    For instance Safari uses those System Proxy settings, Firefox uses it's own!
    So Java is using it's own, now we're waiting for an expert to drop in!

  • Java Plug-in not working with WinXP SP2 Registry Key Missing Error Pop-Up

    I have WinXp PRO with SP2 and the Oct 12 Security Update Patch for SP2 loaded and I went to my Control Panel and saw that the JavaRuntime Environment 1.4.2_04 icon was missing and when I went to click the Java Plugin icon to Open it, I got the following message in a Error Pop-Up window:
    The system cannot find the registry key specified:
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java pPlug-in\1.4.2_04\JavaHome
    I then went to Chage Access Program Controls and when I clicked on the Change box for the program, it wanted me to re-install the whole environment.
    Prior to doing this, and potentially screwing up my MS winXp environment, I went to the Sun support page for Java Plug-in and I did get the dancing elmo appear as they said I would but I noticed that my environment was MS VM, not Java and that I was out of date and a newer update was avaliable.
    The downloads page for the plug-in states clearly that it supports WinXp SP1 and NOT SP2.
    SO, my question is, do I need to re-install anything or wait till the whole SP2 issue and java with (BITS) issue gets resolved and just use the MS VM engine during my browsing time? Is there a workaround and what impact will this have on my system? I am not developing Java Apps but am a Power user in Windows who is wondering if applets and general browsing might be easier, faster and more fluid if the Java Runtime was enabled as opposed to the MS VM solution?
    Any ideas or thoughts on this very timely issue would be greatly appreciated as I see others have tried to post related issues but none that succinctly combines what I have asked for here in this post.
    Thanks from NYC -Phil

    did you know that XP SP2 has so many technical problems? try SP1 or contact the WindowsXP Vendor

  • JAVA APPLICATION DOES NOT WORK WITH TMG

    Dear all,
    I'm not able to log into a JAVA APP or a Website using Java (.jsp) pages.
    We can open either the windows application and the webpage, but we can't log in.
    I'm using Forefront TMG 2010 as a my corporate firewall and all clients are using Windows 8.1.
    I've tried everyting I'm able to try.
    Could you please help me?
    Best Regards
    Clemilson
    Clemilson Correia IT Specialist

    Hi,
    Thank you for your post here.
    Firstly we need you to collect
    TMG live logging.
    As you mentioned, you can normally get website but cannot login in, so I think there may be something wrong with the HTTP post method. You may need to capture the packets to see what happened.
    You can use
    Network Monitor 3.4.
    Best Regards
    Quan Gu

  • Go to declaration does not work with JDeveloper 10.1.3.3

    I have just installed JDeveloper 10.3.3.3 and I'm trying to use the option go to declaration. I created an interface and a class implementation for this interface. When I highlight a method and right click to 'Go to Declaration' I get 'Browsing of method or constructor declarations is not allowed'.
    Can anybody help me?
    Thanks in advance.

    Hi,
    this is the same in 10.1.3.1 as well. This means that you cannot browse on a method in a class but only its usage. If you have a method call and browse it then this brings you to the method definition. However, you cannot select the method definition and browse
    Frank

  • Applets not working with Java 1.7.0_51 in MII 14.0 SP4 Patch 5

    Hi,
    I'm currently evaluating the migration of our MII 12.0 developments to MII 14.
    But I'm running in several issues just trying to use simple things like a SQL query template with an iGrid Display template in test mode.
    Used versions are: MII 14.0 SP4 Patch 5 and on client side the latest Mozilla Firefox with Java 1.7.0_51
    At first I always get a java security warning when the applet is being loaded about unsigned applications.
    At second the applet itself is not running. It always shows "No data available" and the java console shows the following errors (iResult is the id of the applet):
    iResult [ERROR] - Couldn't set query template: No Query Defined
    iResult [ERROR] - Couldn't set display template: null
    iResult [ERROR] - Couldn't set display template: null
    Is this perhaps a general problem, that the MII applets are not working with Java 1.7.x versions?
    If I call the same MII page from a client with Java 1.6.x it is working without errors.
    Do you have some suggestions for me?
    Regards Timo

    please clear your JAVA Cache. that should solve the JRE issue. thanks

  • Upgraded to Firefox 4 and now the program I many alarm dealers use with Rapid Response Monitoring no longer works. RR Tech support said it had something to do with a change in Java not working with Firef 4

    Rapid Response Monitoring Center developed a program for their dealers to log on to the main frame and look at customer info. The program now has a disclaimer on the log-on page Does not work with FireFox 4. RR tech support said it had to do with Java functions that were not continued in FF4. I can log on but the program will no longer display customer history or anything that seems to have a data base behind the function tab.
    See www.rapidweb2000.com or call 1-800-932-3822 and ask for tech support for additional info about what they have found is the problem.

    Id this the HP SimplePass Identity manager or Digital Persona fingerprint reader? If it is, the company that make the fingerprint reader have abandoned it. For more details see https://support.mozilla.com/en-US/questions/799388

  • Why windows command prompt is not working with java

    I installed java 1.6 to my computer (Laptop) and it is perfectly working with Netbeans and Eclipse
    but not working with windows xp xommand prompt
    It compiles the code but when it is going to run it throw the following exception
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Example (Unsupported major.minor version 50.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)I've reinstalled java 1.6, but the output is same
    Please help me to get it correct
    Thank you

    E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracl
    e\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr
    am Files\Microsoft SQL Server\90\Tools\binn\;C:\OrCAD\OrCAD_10.0\tools\pcb\bin;C
    :\OrCAD\OrCAD_10.0\tools\specctra\bin;C:\OrCAD\OrCAD_10.0\tools\bin;C:\OrCAD\OrC
    AD_10.0\tools\PSpice\Library;C:\OrCAD\OrCAD_10.0\tools\fet\bin;C:\OrCAD\OrCAD_10
    .0\tools\jre\bin;C:\OrCAD\OrCAD_10.0\tools\Capture;C:\Program Files\QuickTime\QT
    System\;C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Microsoft Visual
    Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev9
    8\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Mic
    rosoft Visual Studio\VC98\bin;

  • Java 7 Update 11 Not Working with Firefox

    For me, the problems described in the thread "Java 7 Update 10 Not Working with Firefox? " Java 7 Update 10 Not Working with Firefox?
    are continuing with Java 7 Update 11.
    Windows 7 64 bit
    Firefox 18
    The problem is that "Java(TM) Platform" is missing from the plug-in list.
    I've uninstalled Java 7 Update 11 and reinstalled Java Update 9 which correctly installs the plugin and restores Java functionality which was broken immediately upon installing both Java 10 & 11.

    981243 wrote:
    So why not using Ju11 ? You can workaround the issue. It would sucks but still be safer than using Ju9.
    Also ask Mozilla forums if Firefox has options where to search for plugins.
    Or try 64-bit Firefox.As I explained in both threads ...
    Java 7 Update 10 Not Working with Firefox?
    Java 7 Update 11 Not Working with Firefox
    ... neither jre7u10 nor jre7u11 are working ... and they are BOTH broken with the same problem ... "Java(TM) Platform" pliugin is missing from the plug-in list. It cannot be enabled, because it simply is NOT there. A suggestion was made the jre7u12 will be the "fix" for this issue ... so I installed the Update 12 Preview and it sis ALSO broken, no "Java(TM) Platform" in the plug-in list.
    The ONLY Java version that actually works for me is jre7u9.
    As far as installing Firefox 64bit ... I see no future in installing a browser that has been discontinued.
    http://www.computerworld.com/s/article/9233976/Mozilla_suspends_work_on_64_bit_Firefox_for_Windows
    Even though Mozilla relented due to backlash, I continued development will be a somewhat low priority.
    http://www.computerworld.com/s/article/9234997/Mozilla_compromises_on_x64_Firefox_after_user_backlash

  • Why does Java Application not working with Macromedia Flash 5 or MX?

    Why does Java Application not working with Macromedia Flash 5 or MX?

    Who says they don't?
    Although I don't know much about those I'd think they should be able to talk to Java Aps using Sockets or request Servlets ...
    Spieler

  • ADF is not working in JDeveloper 10g

    Hi all,
    I've been trying to get ADF to work with JDeveloper 10g but to no avail. I've followed the steps from the following link: http://www.oracle.com/technetwork/developer-tools/jdev/how-to-adf-faces-10gjdev-085657.html
    the only thing that i fail to follow is in creating the library. I have only the adf-faces-api.jar and adf-faces-impl.jar but not the share-1_1_18.jar
    I do not know whether this is creating the problem as my error message is not helpful.
    part of the error msg:
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.DateTimeRange)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.RegExp)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.ByteLength)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.Color,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.awt.Color)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.DateTime,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.util.Date)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.util.Calendar)
    I've been trying to resolve this by creating a new project but once i input adf tags the problem arise again.
    Please help. Thanks!
    Edited by: 1003893 on May 7, 2013 9:28 PM

    Now that I've looked at the linked article...
    That was showing you how to use a very early version of ADF Faces (a pre-release, in fact) with a very old version of JDeveloper. That document is nearly 9 years old.
    Starting with JDeveloper 10.1.3, ADF Faces is "built-in"
    And since JDeveloper 10.1.3.x, we have had both the JDeveloper 11.1.1.x and 11.1.2.x series released.
    Why are you still using 10.1.2.x?

  • Fusion Order Demo zip file which works with JDeveloper 11.1.1.3.0

    Hi,
    Please can anyone tell me where to find the Fusion Order Demo zip file that will work with JDeveloper 11.1.1.3.0 (latest version 13/5/10).
    I have downloade OracleXE 10g for Windows on my laptop and now want to create the Fusion Schemas (Tables/Schemas/Procedures etc) for the Demos.
    I have downloaded FOD_11.zip, FusionOrderDemo_R1.zip and tryed the instructiion for running Fusion Order Demo here http://www.oracle.com/technology/documentation/jdev.html but each time I get the error
    "oracle.javacache_11.1.1 not found"
    How can I fix this?
    I want to learn Jdeveloper works and use it for Logical and Physical Schema mapping....
    Thanks
    BP

    Hey John,
    Thanks for the quick reply, and yes sir, I did follow those instructions.
    Let me describe what all I have done so far, maybe someone can figure out where I need to fix anything:
    I installed JDeveloper version 11.1.1.3.0, which came with its own WebLogic server, on my windows xp professional OS on my laptop.
    I then downloaded the zip file, FusionOrderDemo_R1PS2.zip.
    I encountered a problem while unzipping the file, where it was asking me some password for a few files, but Lynn from Oracle helped me figure that out....i had to use 7-zip utility to uninstall....windows default built-in unzip utility does not work.
    After unzipping all files, I followed the instructions given on http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html to import, build and run the application....
    And now when it runs....it just open my browser window (IE 7), and shows a "loading..." image in the center of the page....nothing happens after that.
    Any idea what might be missing?
    a few major errors I see in the wls log window of jdeveloper are:
    1) <DCBindingContainer><reportException> [3952] oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
    2) <DCBindingContainer><reportException> [3958] oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    3) <UIXInclude><tearDownVisitingContext> Tear down of include component context failed due to an unhandled exception.java.util.NoSuchElementException
    Please help!
    Regards,
    Hemant

  • "Next" and "Previous" functionality on UIX tables not working with 10g

    With new release of JDeveloper(10G), the "Next" and "Previous" navigation buttons/links on UIX tables are not working. I tried different approaches:
    1. It does not work with Data Controls built from Java Beans or from TopLink.
    2. I tried without using Data Controls and it still does not work.
    I shows "Next" and "Previous" buttons on the page. But it shows all records on the page rather then showing limited records. Say for example if the block size is 5 and total number of records are 15, it shows all 15 records in the table but the "next" and "Previouds" button would say "1-5 of 15".
    Did any of you observe the same behaviour?

    Hi Shital -
    Thanks for the additional info...
    When I said that the total number of records is 15, I
    meant that my tableData's DataObjectList contains 15
    entries. (In case of DataControls you don't even use
    DataObjectList, but for my non data control
    applications I used DataObjectList). You are saying
    that If I want to display only 5 records per page
    then I will need to provide a DataObjectList with
    five items. Then for next five records from 6-10 I
    will have to program in such a way that my method
    call returns 6-10 records.That's correct. In the case where you are explicitly providing data to the table via a DataObjectList, you need to feed the data to the table in page size blocks - and you also need to handle the table's goto event to scroll the table to the next/previous block of data.
    In previous version of
    UIX(2.1.7) I never had to program for next and
    previous buttons. UIX tables used to take care of
    that. That's why I am so surprised.It sounds like you must have been using the <bc4j:table> component. Is that the case?
    Getting back to your original issue...
    1. It does not work with Data Controls built
    from Java Beans or from TopLink.I believe that this is a bug in the preview release - and I'm fairly sure this will be addressed by production. In production, ADF should automatically handle wiring up table scrolling for you when binding your table to a data control - whether the data control is implemented via JavaBeans, Toplink, or BC4J. I believe that in the preview release, scrolling only working when binding to a BC4J data control.
    Andy

  • Application is not working with mouse

    Dear All,
    We have a strange issue in the our application (Oracle form) in the one of our client machine.
    Some times the forms are not able to work with the mouse but is able to work with the keyboard. After one or two machine restart its again working. When the issue occur we can able to work in other applications using mouse.
    Our Applications server is in Other country and client are accessing from India.
    This occurs for some user and not for all.
    Application server Version          10.1.2.0.2.
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Java Plug-in version 1.6.0_31 .
    Please any info will help us lot.

    Thank you for the quick replies Michael Ferrante and HamidHelal.
    But since its occurring for some users (perticulary indian users) and some times. And also its occurring in production environment not in development environment.
    Even the java control panel is not working with mouse.
    For other country customers everything working fine.
    So its difficult for me to apply the patch with these uncertainties.
    Checking with fresh java installation and let you know the status.
    Thanks.

  • Java Gridbag Layout Not Working

    Hi,
    I have a java sound applet that works, with buttons and icons and combo boxes. I have just added a label and I want the label to appear beneath the buttons and combo boxes, so I decided that Gribag is the best way of achieving this. However, I have set all the co-ordinates to the right places, and suddenly, everything is in the center in one line. Here is the code:
    import javax.swing.*;
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class SoundApplet extends JApplet
                             implements ActionListener,
                                        ItemListener {
        AppletSoundList soundList;
        String auFile = "spacemusic.au";
        String aiffFile = "flute+hrn+mrmba.aif";
        String midiFile = "trippygaia1.mid";
        String wavFile = "monkwebstune.wav";
        String chosenFile;
        AudioClip onceClip, loopClip;
        JComboBox formats;
        JButton playButton, loopButton, stopButton;
        boolean looping = false;
        public void init() {
            String [] fileTypes = {auFile,
                                   aiffFile,
                                   midiFile,       
                                   wavFile,};
            Container contentArea = getContentPane();
            contentArea.setBackground(Color.black);
            GridBagLayout flowManager = new GridBagLayout();
            GridBagConstraints pos = new GridBagConstraints();
            contentArea.setLayout (flowManager);
            formats = new JComboBox(fileTypes);
            formats.setSelectedIndex(0);
            chosenFile = (String)formats.getSelectedItem();
            formats.addItemListener(this);
            formats.setBackground(Color.blue);
            formats.setForeground(Color.white);
            pos.gridx = 1; pos.gridy = 1;
            contentArea.add(formats, pos);
            Image playImage = getImage( getCodeBase () , "play.gif" );
            ImageIcon playIcon = new ImageIcon( playImage );
            playButton = new JButton("Play", playIcon);
            playButton.addActionListener(this);
            playButton.setBackground(Color.green);
            playButton.setForeground(Color.black);
            pos.gridx = 1; pos.gridy = 1;
            contentArea.add(playButton, pos);
            Image loopImage = getImage( getCodeBase () , "loop.gif" );
            ImageIcon loopIcon = new ImageIcon( loopImage );
            loopButton = new JButton("Loop", loopIcon);
            loopButton.addActionListener(this);
            loopButton.setBackground(Color.yellow);
            loopButton.setForeground(Color.black);
            pos.gridx = 2; pos.gridy = 1;
            contentArea.add(loopButton, pos);
            Image stopImage = getImage( getCodeBase () , "stop.gif" );
            ImageIcon stopIcon = new ImageIcon( stopImage );
            stopButton = new JButton("Stop", stopIcon);
            stopButton.addActionListener(this);
            stopButton.setEnabled(false);
            stopButton.setBackground(Color.red);
            stopButton.setForeground(Color.black);
            pos.gridx = 3; pos.gridy = 1;
            contentArea.add(stopButton, pos);
            JLabel Occult = new JLabel ("Occult");
            pos.gridx = 2; pos.gridy = 3;
            contentArea.add(Occult, pos);
            setContentPane(contentArea);
            JPanel controlPanel = new JPanel();
            controlPanel.add(formats);
            controlPanel.add(playButton);
            controlPanel.add(loopButton);
            controlPanel.add(stopButton);
            controlPanel.add(Occult);
            getContentPane().add(controlPanel);
            controlPanel.setBackground(Color.black);
            setContentPane(contentArea);
            startLoadingSounds();  
        public void itemStateChanged(ItemEvent e) {
            chosenFile = (String)formats.getSelectedItem();
            soundList.startLoading(chosenFile);
        void startLoadingSounds() {
            //Start asynchronous sound loading.
            soundList = new AppletSoundList(this, getCodeBase());
            soundList.startLoading(auFile);
            soundList.startLoading(aiffFile);
            soundList.startLoading(midiFile);
            soundList.startLoading(wavFile);
        public void stop() {
            onceClip.stop();        //Cut short the one-time sound.
            if (looping) {
                loopClip.stop();    //Stop the sound loop.
        public void start() {
            if (looping) {
                loopClip.loop();    //Restart the sound loop.
        public void actionPerformed(ActionEvent event) {
            //PLAY BUTTON
            Object source = event.getSource();
            if (source == playButton) {
                //Try to get the AudioClip.
                onceClip = soundList.getClip(chosenFile);
                onceClip.play();     //Play it once.
                stopButton.setEnabled(true);
                showStatus("Playing sound " + chosenFile + ".");
                if (onceClip == null) {
                    showStatus("Sound " + chosenFile + " not loaded yet.");
                return;
            //START LOOP BUTTON
            if (source == loopButton) {
                loopClip = soundList.getClip(chosenFile);
                looping = true;
                loopClip.loop();     //Start the sound loop.
                loopButton.setEnabled(false); //Disable loop button.
                stopButton.setEnabled(true);
                showStatus("Playing sound " + chosenFile + " continuously.");
                if (loopClip == null) {
                    showStatus("Sound " + chosenFile + " not loaded yet.");
                return;
            //STOP LOOP BUTTON
            if (source == stopButton) {
                if (looping) {
                    looping = false;
                    loopClip.stop();    //Stop the sound loop.
                    loopButton.setEnabled(true); //Enable start button.
                else if (onceClip != null) {
                    onceClip.stop();
                stopButton.setEnabled(false);
                showStatus("Stopped playing " + chosenFile + ".");
                return;
    }How can I get everything to follow the co-ordinates I specified?
    Thanks in advance.

    try setting a weightx or weighty with a non-zero number between 0 and 1.
    constraint.weightx = 0.5;

Maybe you are looking for