Hello,
I have two "unsolvable" problems in JDeveloper! I cant find nowhere a solution to the problems are so banal, and stupid .... The first problem, fresh install JDeveloper 11g and want to make a swing desktop application. Do the following: New Application, I choose Java Desktop Application, Next, Finish. Then right-click "New ..." and take the ADF Swing Panel Empty. Immediately to run, and it run blank panel, but with a "million" mistakes:

May 19, 2010 6:03:05 PM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: file:/C:/JDeveloper/mywork/Chat/Client/classes/chat/DataBindings.cpx
May 19, 2010 6:03:05 PM oracle.adf.share.config.ADFConfigFactory getInstance
INFO: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
May 19, 2010 6:03:06 PM oracle.as.jmx.framework.LoggerHelper log
SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFra meworkProviderImpl"
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.as.jmx.framework.PortableMBeanFactory.initi alizeSPI(PortableMBeanFactory.java:1876)
at oracle.as.jmx.framework.PortableMBeanFactory.initi alizePlatformSPI(PortableMBeanFactory.java:1832)
at oracle.as.jmx.framework.PortableMBeanFactory.init( PortableMBeanFactory.java:1812)
at oracle.as.jmx.framework.PortableMBeanFactory.<init >(PortableMBeanFactory.java:204)
at oracle.as.jmx.framework.PortableMBeanFactory.<init >(PortableMBeanFactory.java:212)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at oracle.mds.core.MDSInstance.lookupMBeanServer(MDSI nstance.java:1999)
at oracle.mds.core.MDSInstance.checkMDSDeployStatus(M DSInstance.java:910)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.jav a:1631)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.jav a:1605)
at oracle.mds.core.MDSInstance.findAndStoreMDSInstanc e(MDSInstance.java:1900)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MD SInstance.java:487)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MD SInstance.java:458)
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDS Instance(ADFMDSConfig.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.config.FallbackConfigImpl.getMDSI nstance(FallbackConfigImpl.java:65)
at oracle.adf.share.config.ADFContextMDSConfigHelperI mpl.createMDSSession(ADFContextMDSConfigHelperImpl .java:50)
at oracle.adf.share.ADFContext.getMDSSessionAsObject( ADFContext.java:1078)
at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParse rMDS.java:60)
at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.jav a:189)
at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMPar serNonMDS.java:71)
at oracle.jbo.mom.DefinitionContextStandard.readAndPa rse(DefinitionContextStandard.java:237)
at oracle.jbo.mom.DefinitionManager.loadProjectDefini tion(DefinitionManager.java:1447)
at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(J UMetaObjectManager.java:562)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(J UMetaObjectManager.java:606)
at oracle.jbo.uicli.controls.JUTestFrame.createBindin gCtxAndSetUpMenu(JUTestFrame.java:152)
at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTes tFrame.java:117)
at oracle.jbo.uicli.controls.JUTestFrame.startTestFra me(JUTestFrame.java:80)
at chat.Panel1.main(Panel1.java:90)
Caused by: java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/Stats
at oracle.as.jmx.framework.standardmbeans.spi.CoreJMX FrameworkProviderImpl.createMBean(CoreJMXFramework ProviderImpl.java:62)
at oracle.as.jmx.framework.PortableMBeanFactory.creat eMBean(PortableMBeanFactory.java:230)
at oracle.as.jmx.framework.config.session.Configurati onSessionManager.registerSessionManagerMBean(Confi gurationSessionManager.java:132)
at oracle.as.jmx.framework.config.session.Configurati onSessionManager.<init>(ConfigurationSessionManage r.java:127)
at oracle.as.jmx.framework.generic.spi.CoreJMXFramewo rkProviderImpl.initConfigSessionInfrastructure(Cor eJMXFrameworkProviderImpl.java:301)
at oracle.as.jmx.framework.generic.spi.CoreJMXFramewo rkProviderImpl.init(CoreJMXFrameworkProviderImpl.j ava:254)
at oracle.as.jmx.framework.generic.spi.CoreJMXFramewo rkProviderImpl.init(CoreJMXFrameworkProviderImpl.j ava:134)
at oracle.as.jmx.framework.standardmbeans.spi.JMXFram eworkProviderImpl.init(JMXFrameworkProviderImpl.ja va:77)
... 41 more
Caused by: java.lang.ClassNotFoundException: javax.management.j2ee.statistics.Stats
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
... 49 more
Process exited with exit code 0.

Therefore, the panel run, but these mistakes bush me, if anyone knows what's the problem? Maybe I dont chose the right Swing Desktop Project? Or what?

Another problem is when I go to the source code of this panel, there not worjs my right brace - }. So, on a laptop, not work alg g + N (but, alt gr + B, (left brace) is work). Incredible... please help me ....