Eclips使用秘技(绝对经典)zt

前言:
本来我都是使用JBuilderX当主力IDE、但使用了Eclipse后
发现...Eclipse原来也这么好用...渐渐的就爱上了它......
Eclipse优点:免费、程序代码排版功能、有中文化包、可增
设许多功能强大的外挂、支持多种操作系统(Windows、
Linux、Solaris、Mac OSX)..等等。
开此篇讨论串的目的,是希望能将Eclipse的一些使用技巧集
合起来...欢迎大家继续补充下去...由于Eclipse的版本众多
,希望补充的先进们能顺便说明一下您所使用的版本~
Eclipse网站:http://www.eclipse.org/
Eclipse中文化教学:JavaWorld站内文章参考
(使用版本:Eclipse 2.1.2 Release + 中文化)
热键篇:
Template:Alt + /
修改处:窗口->喜好设定->工作台->按键->编辑->内容辅助。
个人习惯:Shift+SPACE(空白)。
简易说明:编辑程序代码时,打sysout +Template启动键,就
会自动出现:System.out.println(); 。
设定Template的格式:窗口->喜好设定->Java->编辑器->模板。
程序代码自动排版:Ctrl+Shift+F
修改处:窗口->喜好设定->工作台->按键->程序代码->格式。
个人习惯:Alt+Z。
自动排版设定:窗口->喜好设定->Java->程序代码格式制作程序。
样式页面->将插入tab(而非空格键)以内缩,该选项取消勾选
,下面空格数目填4,这样在自动编排时会以空格4作缩排。
快速执行程序:Ctrl + F11
个人习惯:ALT+X
修改处:窗口->喜好设定->工作台->按键->执行->启动前一次的启动作业。
简易说明:第一次执行时,它会询问您执行模式,
设置好后,以后只要按这个热键,它就会快速执行。
<ALT+Z(排版完)、ATL+X(执行)>..我觉得很顺手^___^
自动汇入所需要的类别:Ctrl+Shift+O
简易说明:
假设我们没有Import任何类别时,当我们在程序里打入:
BufferedReader buf =
new BufferedReader(new InputStreamReader(System.in));
此时Eclipse会警示说没有汇入类别,这时我们只要按下Ctrl+Shift+O
,它就会自动帮我们Import类别。
查看使用类别的原始码:Ctrl+鼠标左键点击
简易说明:可以看到您所使用类别的原始码。
将选取的文字批注起来:Ctrl+/
简易说明:Debug时很方便。
修改处:窗口->喜好设定->工作台->按键->程序代码->批注
视景切换:Ctrl+F8
个人习惯:Alt+S。
修改处:窗口->喜好设定->工作台->按键->窗口->下一个视景。
简易说明:可以方便我们快速切换编辑、除错等视景。
密技篇:
一套Eclipse可同时切换,英文、繁体、简体显示:
1.首先要先安装完中文化包。
2.在桌面的快捷方式后面加上参数即可,
英文-> -nl "zh_US"
繁体-> -nl "zh_TW"
简体-> -nl "zh_CN"。
(其它语系以此类推)
像我2.1.2中文化后,我在我桌面的Eclipse快捷方式加入参数-n1 "zh_US"。
"C:\Program Files\eclipse\eclipse.exe" -n "zh_US"
接口就会变回英文语系噜。
利用Eclipse,在Word编辑文书时可不必将程序代码重新编排:
将Eclipse程序编辑区的程序代码整个复制下来(Ctrl+C),直接贴(Ctrl+V)到
Word或WordPad上,您将会发现在Word里的程序代码格式,跟Eclipse
所设定的完全一样,包括字型、缩排、关键词颜色。我曾试过JBuilder
、GEL、NetBeans...使用复制贴上时,只有缩排格式一样,字型、颜
色等都不会改变。
外挂篇:
外挂安装:将外挂包下载回来后,将其解压缩后,您会发现features、
plugins这2个数据夹,将里面的东西都复制或移动到Eclipse的features
、plugins数据夹内后,重新启动Eclipse即可。
让Eclipse可以像JBuilderX一样使用拖拉方式建构GUI的外挂:
1.Jigloo SWT/Swing GUI Builder :
http://cloudgarden.com/jigloo/index.html
下载此版本:Jigloo plugin for Eclipse (using Java 1.4 or 1.5)
安装后即可由档案->新建->其它->GUI Form选取要建构的GUI类型。
2.Eclipse Visual Editor Project:
http://www.eclipse.org/vep/
点选下方Download Page,再点选Latest Release 0.5.0进入下载。
除了VE-runtime-0.5.0.zip要下载外,以下这2个也要:
EMF build 1.1.1: (build page) (download zip)
GEF Build 2.1.2: (build page) (download zip)
3.0 M8版本,请下载:
EMF build I200403250631
GEF Build I20040330
VE-runtime-1.0M1
安装成功后,便可由File->New->Visual Class开始UI设计。
安装成功后,即可由新建->Java->AWT与Swing里选择
所要建构的GUI类型开始进行设计。VE必须配合着对应
版本,才能正常使用,否则即使安装成功,使用上仍会
有问题。
使用Eclipse来开发JSP程序:
外挂名称:lomboz(下载页面)
http://forge.objectweb.org/project/showfiles.php?group_id=97
请选择适合自己版本的lomboz下载,lomboz.212.p1.zip表示2.1.2版,
lomboz.3m7.zip表示M7版本....以此类推。
lomboz安装以及设置教学:
Eclipse开发JSP-教学文件
Java转exe篇:
实现方式:Eclipse搭配JSmooth(免费)。
1.先由Eclipse制作包含Manifest的JAR。
制作教学
2.使用JSmooth将做好的JAR包装成EXE。
JSmooth下载页面:
http://jsmooth.sourceforge.net/index.php
3.制作完成的exe文件,可在有装置JRE的Windows上执行。
Eclipse-Java编辑器最佳设定:
编辑器字型设定:工作台->字型->Java编辑器文字字型。
(建议设定Courier New -regular 10)
编辑器相关设定:窗口->喜好设定->Java->编辑器
外观:显示行号、强调对称显示的方括号、强调显示现行行、
显示打印边距,将其勾选,Tab宽度设4,打印编距字段设80。
程序代码协助:采预设即可。
语法:可设定关键词、字符串等等的显示颜色。
附注:采预设即可。
输入:全部字段都勾选。
浮动说明:采预设即可。
导览:采预设即可。
使自动排版排出来的效果,最符合Java设计惯例的设定:
自动排版设定:窗口->喜好设定->Java->程序代码制作格式。
换行:全部不勾选。
分行:行长度上限设:80。
样式:只将强制转型后插入空白勾选。
内缩空格数目:设为4。
Eclipse的教学文件:
Eclipse 3.0系列热键表 - 中英对照解说版 (by sungo) ~New~
Window+GCC+CDT用Eclipse开发C、C++ (by sungo) ~New~
其它:
扩充Eclipse的Java 开发工具(中文)
使用Eclipse开发J2EE 应用程序(中文)
使用Eclipse平台进行除错(中文)
用Eclipse进行XML 开发(中文)
开发Eclipse外挂程序(中文)
国际化您的Eclipse外挂程序(英文)
将Swing编辑器加入Eclipse(英文)
如何测试你的Eclipse plug-in符合国际市场需求(英文)
Eclipse的相关网站:
http://eclipse-plugins.2y.net/eclipse/index.jsp
http://www.eclipseplugincentral.com/
Eclipse相关教学[简体]
写程序写到很累了,想休息一下??玩玩小Game是
不错的选择,下面介绍使用Eclipse玩Game的Plug-in。
补充外挂篇:
Eclipse-Games:
http://eclipse-games.sourceforge.net/
版本选:Latest Release 3.0.1 (Release Notes) Sat, 3 Jan 2004
外挂安装完后,重新开启Eclipse。
窗口->自订视景->其它->勾选Game Actions。
再将Eclipse关闭,重新再启动,就可以开始玩噜。
(共有4种:采地雷I、采地雷II、贪食蛇、仓库番。)
(Eclipse 2.1.2 +中文化 玩Game -仓库番)  
补充:(于Eclipse使用assertion机制)
Eclipse版本:2.1.3 release。
JDK1.4版新加入的assertion机制(关键词:assert),由于JDK1.4编译器
预设是兼容1.3,所以要使用assert必须在编译时加上-source 1.4的参数。
C:\>javac -source 1.4 XXX.java
执行时则必须加-ea 或-enableassertions参数启动。
C:\>java -ea XXX
如要在Eclipse中使用assertion机制,请作以下设定:
设定一:(编译设定)
Windows->Preferance->Java->Compiler->Compliance and Classfiles
页面。将..JDK Compliance level->Compiler compliance level调成1.4。
设定二:(执行设定)
Run->Run->(x)=Arguments页面,在VM arguments加入-da参数,按下
Run button便可看到启动assertion后的执行结果。
(Eclipse 2.1.3 release + assertion测试)
<assert判别为false,所以show出AssertionError>
新版(m8+)的eclipse可以设vm arguments
另外提供一种设法,是在eclipse启动时加入vm arguments(跟加大eclipse预设内存大小的方式一样)
这样就不用每次run都得需去设vm arguments

其实很多功能JBuilder中也都有,我现在用惯了JBuilder,反而觉得eclipse不方便,习惯而已。不过eclipse是免费的!

Similar Messages

  • How to deploy and debug java web service in eclipes or using any other soft

    Hai,
    can any one tell me how to deploy and debug java web service in eclipes or using any other software.
    i have used tomcat web server and jdk1.4.0 to develop web service.
    we have used web service to interact with MS outlook .
    bye
    sudhakar.m

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • Eclips OUAF Project Creation

    I have installed eclips sucsessfuly with OUAF Framework but when i am trying to create new project dialouge box prompt for project name when i enetered name of project & press next button in next step finish buttion appear but its not working.
    How can i do this?
    Thanks & Regards,

    You must set the proper location for your workspace as it is described in the OUAF SDK manual.
    /Markus

  • Jar file location in Eclips plugins

    Hi,
    Could you please give me the jarfile location in Eclips plugins for
    import com.sapportals.portal.security.usermanagement.IUser;
    Thanks in advance.
    Syam.

    Hi,
    Good that you found it.
    Regards,
    Praveen Gudapati

  • Failed to create first j2ee under eclip+lomboz

    HI , I don't know where to post my question, so just let it in here?
    I have eclip 3.1, jboss-4.0.2
    emf-sdo-xsd-SDK-2.1.2, +org.objectweb.lomboz_3.1.0.N20050106, but when I try to create a j2ee project by follow the
    http://www.objectlearn.com/support/docs/creatingFirstJ2EEProject.jsp
    my but I can't open my error.jsp and index.jsp, I get see error log for more detail,
    where I can found the error log??
    please help!!
    thank you

    Hello,
    Can you attach a copy of your web.xml file ?
    On WLS 9.1 I was able to successfully deploy a webapp with the following web.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">
         <display-name>Web Application</display-name>
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
    </web-app>
    Thanks

  • Eclips and struts

    Hi all,
    I download and put com.cross.easystruts.eclipse_0.6.4 under D:\eclipse\plugins , then I reopen the eclips Windows->Preferences
    I did not have Debug and easy struts, why . I can install tomcat plug in why not struts plug in
    thank you

    Hi thank you!
    I download eclipse 3.1 what plug in I should use for struts?
    Thank you

  • WebLogic Plugin 1.1.1 and eclipes

    Hi
    I want to run weblogic 8.1 and eclips together, and I using WebLogic Plugin 1.1.1 on read me file, I don't understand the fellowing[b]
    Select the 'WebLogic->Classpath' node and set the following parameters
    Classpath before the WebLogic libraries
    Classpath after the WebLogic libraries
    Select the 'WebLogic->Project' node and set the following parameter
    Project added to the end of the classpath
    Select the 'WebLogic->JavaVM Options' node and set the following parameters
    JavaVM (JDK used to launch WebLogic Server)
    JavaVM Options (arguments to pass the JavaVM)
    JNI library path (paths to search when loading libraries
    any ideal??
    Thank you!

    I can confirm this too - Eclipse 3.0, WL 6.1, JDK 1.3.1 on Linux.
    "Quinton" <[email protected]> wrote:
    >
    >
    I am also getting the same problem. I am guessing this is due to the
    Eclipse V3.
    Anyone from BEA able to verify?
    Thanks!
    Aravind" <[email protected]> wrote:
    Hello,
    I have installed the plugin for Eclipse 3.0.0.
    I get the following error when i try to set the Vm options at Eclipse
    java.lang.NoClassDefFoundError: org/eclipse/debug/internal/ui/preferences/ComboFieldEditor
    And i dont find this class at the library?
    Is this plugin for the earlier release of Eclipse???
    thanks
    Aravind

  • How to manage source for java project using eclips?

    Hi,We use TFS 2013 and VS 2013 for source control ,now we want to start mobile app using eclips,
    How to control source of that project,How we can have features of tfs source control on that type of project such a mobile that use eclips.
    thanks
    Thanks. Bahar Ghadami Web Developer And Technical expert

    Hi Bahar,
    You can manage your source code with both Eclipse and My Eclipse.
    Please follow this link to install the Plugin (Team Explorer Everywhere) to manage your source code.
    http://msdn.microsoft.com/en-us/library/hh301122.aspx

  • Create folder on eclipe

    hi ,
    I wonder
    1) on eclipe, if I have folder a.b.c and then I want one a. b.e how can i do it ?
    2) if I write something like catch (HibernateException e) and i need to import some on the top of my programmer, can I just using Ctrl + enter or something else to import the class that i need?
    Thnak you

    ) on eclipe, if I have folder a.b.c and then I want
    one a. b.e how can i do it ?from the contextual menu click on create package, and type a.b.e
    2) if I write something like catch
    (HibernateException e) and i need to import
    some on the top of my programmer, can I just using
    Ctrl + enter or something else to import the class
    that i need?<ctrl>-<shift>-o is the defult for organising your imports. It will make a best guess, or ask you.
    You should really ask eclipse questions on an eclipse forum

  • How to display .swf files in java using eclips platform ???

    Here my java code plz some one help me...
    import javax.swing.*;
    import java.io.*;
    import java.net.MalformedURLException;
    import java.awt.*;
    import java.awt.event.*;
    public class DisplaySWF extends JFrame
        public JPanel  window_panel;//address_panel,
        public JLabel address_label;
        public JTextField address_tf;
        public JEditorPane window_pane,tree_pane,attr_pane;
        public JScrollPane window_scroll,tree_scroll,attr_scroll;
        TextArea t1,t2;
        JPanel pane;
        public JButton address_b, browse;
        public JLabel l,m;
        private Go go = new Go();
        JFrame f ;
        public DisplaySWF() throws IOException
        // Define address bar
        //tree_pane=new JEditorPane();
        //tree_pane.setBounds(650,50,300,250);
        //address_panel = new JPanel();
        //address_panel.setLayout(null);
        f= new JFrame("Web browser");
        f.setSize(1000,700);
        pane=new JPanel();
        pane.setVisible(true);
        pane.setLayout(null);
        f.setContentPane(pane);
        address_label = new JLabel(" address: ", SwingConstants.CENTER);
        address_label.setBounds(10, 10, 70, 30);
        pane.add(address_label);
        address_tf = new JTextField("",25);
        address_tf.setBounds(80,10,250,30);
        pane.add(address_tf);
        browse = new JButton("Browse");
        browse.setBounds(340, 10, 140, 30);
        browse.addActionListener(go);
        pane.add(browse);
        window_pane=new JEditorPane();
        window_pane.setBounds(10, 50, 600, 600);
        pane.add(window_pane);
        l=new JLabel("DOM Structure");
        l.setBounds(650,30,100,10);
        pane.add(l);
        t1=new TextArea();
        t1.setBounds(650,50,300,250);
        pane.add(t1);
        m=new JLabel("Attribute");
        m.setBounds(650,350,100,10);
        pane.add(m);
        t2=new TextArea();
        t2.setBounds(650,380,300,280);
        pane.add(t2);
        f.setVisible(true);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        window_pane = new JEditorPane("http://www.yahoo.com")
            public boolean getScrollableTracksViewportWidth()
                return true;
    public class Go implements ActionListener
            public void actionPerformed(ActionEvent ae)
                JFileChooser fc = new JFileChooser();
                int result = fc.showOpenDialog(null);
                if (result == JFileChooser.APPROVE_OPTION)
                    File file = fc.getSelectedFile();
                    String sname = file.getAbsolutePath();
                    address_tf.setText(sname);
                    String ext=getFileExtension(sname);
                    try
                        if(ext.equals("swf"))
                            window_pane.setPage(address_tf.getText());
                            System.out.println("hi");
                    catch (MalformedURLException e)
                    {     // new URL() failed
                        window_pane.setText("MalformedURLException: " + e);
                    catch (IOException e)
                    {               // openConnection() failed
                        window_pane.setText("IOException: " + e);
       public String getFileExtension(String filename)
        if (filename == null)
                return null;
        int lastUnixPos = filename.lastIndexOf('/');
        int lastWindowsPos = filename.lastIndexOf('\\');
        int indexOfLastSeparator = Math.max(lastUnixPos, lastWindowsPos);
        int extensionPos = filename.lastIndexOf('.');
        int lastSeparator = indexOfLastSeparator;
        int indexOfExtension = lastSeparator > extensionPos ? -1 : extensionPos;
        int index = indexOfExtension;
        if (index == -1)
            return "";
        else
            return filename.substring(index + 1);
    public static void main(String args[]) throws IOException
      DisplaySWF wb = new DisplaySWF();

    Thanks for reply...
    but i search in the google about this topic...there is no results will appear..
    the problem is "i have to run program in the MacOS like extract all the
    .sit(StuffIt) extension files. These sit files same as zip files in the windows... we have one tool called StuffIt Expander but it is 3rd party tool. but here requirement is i have to write my own program to extract all the files same as zip file program...
    please do the needful..i am waiting for ur reply,,,

  • Eclipe - Oracle Application Server 10.1.3.1

    Hi everyone,
    I've been trying to start the Oracle OC4J Standalone Server v10.1.3.1 from Eclipse Europa for a while but unfortunately i'm getting the following errors :
    * Error initializing server: Unable to start HTTP-Server. default-web-site configuartion may not be valid.
    So i modified in the configuration of the Oracle application server in eclipse the Http port to 7777 (which is my home port ) and the Web site to localhost, i'm getting the following error *"server port in use"*
    Please advise
    Thanks

    I tried the HTTP Port as 7778 but unfortunately i got the following error
    Error initializing server: Unable to start HTTP-Server. default-web-site configuration may not be valid.
    Fatal error: server exiting
    Please advise if any other port might work
    Thanks

  • Exception while starting Tomcate 5.5 in My Eclips

    Hi
    I have installed Tomcat 5.5.26 and configure it with Myeclips while starting the tomcate i get the below error...
    any IDEA ? any onw know the solution what should i do ?
    Sep 30, 2009 12:51:25 PM org.apache.naming.NamingContext lookup
    WARNING: Unexpected exception resolving reference
    java.io.IOException: Cannot rename original file to C:\Program Files\Apache Software Foundation\Tomcat5.5\conf\tomcat-users.xml.old
    at org.apache.catalina.users.MemoryUserDatabase.save(_MemoryUserDatabase.java:582_)
    at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(_MemoryUserDatabaseFactory.java:104_)
    at org.apache.naming.factory.ResourceFactory.getObjectInstance(_ResourceFactory.java:140_)
    at javax.naming.spi.NamingManager.getObjectInstance(_NamingManager.java:304_)
    at org.apache.naming.NamingContext.lookup(_NamingContext.java:793_)
    at org.apache.naming.NamingContext.lookup(_NamingContext.java:140_)
    at org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(_NamingContextBindingsEnumeration.java:113_)
    at org.apache.naming.NamingContextBindingsEnumeration.next(_NamingContextBindingsEnumeration.java:71_)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(_GlobalResourcesLifecycleListener.java:137_)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(_GlobalResourcesLifecycleListener.java:109_)
    at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(_GlobalResourcesLifecycleListener.java:81_)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(_LifecycleSupport.java:120_)
    at org.apache.catalina.core.StandardServer.start(_StandardServer.java:693_)
    at org.apache.catalina.startup.Catalina.start(_Catalina.java:552_)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_)
    at sun.reflect.NativeMethodAccessorImpl.invoke(_NativeMethodAccessorImpl.java:39_)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(_DelegatingMethodAccessorImpl.java:25_)
    at java.lang.reflect.Method.invoke(_Method.java:585_)
    at org.apache.catalina.startup.Bootstrap.start(_Bootstrap.java:295_)
    at org.apache.catalina.startup.Bootstrap.main(_Bootstrap.java:433_)
    Thanks in Advance
    Chirag

    No i have not,
    but i think there is something wrong with catalina, i have tried install-uninstall again but still the same eror on startup of tomcat.
    yeah but i got one solution like if i am installing tomcat on other drives except C:/ then its working fine.
    so i dont know what to do if i want to install in c:

  • Import an eclipes project into jse

    Hello,
    I want to import my eclipse project into JSE. I also would like to use the UML to model my project. How do I do this seamlessly?
    I also currently use XMLSpy (home edition) to maintain my schema and Altova provides a plugin for this in eclipse. Can I use this plugin in JSE?
    Thanks

    Hello,
    I decided to try NetBeans to import the eclipse project.
    After specifying my workspace and checking the packages that I wanted to include I got this error :
    java.lang.AssertionError: Projects can't be null
         at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:232)
         at org.netbeans.modules.project.ui.OpenProjectList.open(OpenProjectList.java:208)
         at org.netbeans.modules.project.ui.OpenProjectList.open(OpenProjectList.java:160)
         at org.netbeans.modules.project.ui.OpenProjectsTrampolineImpl.openAPI(OpenProjectsTrampolineImpl.java:43)
         at org.netbeans.api.project.ui.OpenProjects.open(OpenProjects.java:92)
         at org.netbeans.modules.projectimport.eclipse.ImportProjectAction$1.actionPerformed(ImportProjectAction.java:93)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.Dialog.show(Dialog.java:536)
         at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:800)
         at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:843)
         at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:831)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:1146)
         at org.openide.util.Mutex.readAccess(Mutex.java:183)
         at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:816)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at org.netbeans.modules.projectimport.eclipse.ImportProjectAction.performAction(ImportProjectAction.java:102)
         at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:94)
         at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
         at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:90)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
    [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    I am reporting this as the IDE requested I do it.
    Cheers

  • Cristal peport  eclips sql server

    I am able to connect oracle to crystal report in eclipse.
    But when I connected sql server database. System tables are appearing
    but user tables do not appear.
    I have no sure about my connection. Give me a help.
    Message was edited by:
    chara

    Really...
    Go into Control Panel, you can get there by clicking on the Start button. Open up the Administrators tools, depend on the OS you are using of course. You'll find a ODBC Administrator.
    Double click on the Icon and then click on the System tab. Create new and scroll to the bottom, you'll see SQL Server and select it. Fill in your local PC name or where ever SQL Express is located and then fill in the User Name if you want a default one. Then test the connection to verify it works. At some point you can or may want to specify the default database to use, but this is selectable in the designer.
    If you want to use OLE DB then select OLE DB from the database wizard and then select Microsoft OLE DB Provider and fill in the the options. If you have a Database Administrator that person can help you with the various options.
    For more info please refer to Microsoft's web site on how to configure ODBC or OLE DB for SQL Server Express. CR assumes this is all configured and working.
    Good luck
    Don

  • Eclips: the type UUID is ambiguous

    Hi all,
    I'm developing a Midlet game which will be played using bluetooth. I got the following error: "The type UUID is ambiguous". Anyone know what I need to do?
    I import the following packages:
    import java.io.*;
    import java.util.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import javax.bluetooth.*;The code in which the error occurs is:
            // Locate another MIDlet that has started a
            // game to connect to
            try {
                LocalDevice local = LocalDevice.getLocalDevice();
                DiscoveryAgent agent = local.getDiscoveryAgent();
                String connString = agent.selectService(
                    new UUID(serviceIdentifier,
    //                  ^^^^
                    false), ServiceRecord.NOAUTHENTICATE_NOENCRYPT,
                    false);I checked the packages, and only the javax.bluetooth package has a UUID class. I'm stumped.
    Michel
    PS serviceIdentifier is defined as:
    private static final String serviceIdentifier = "0D090308050002051307090A0B00";

    hi,
    I got the same problem, did you find something? if you have resolved it, contact me, thanks.

Maybe you are looking for

  • How can I use Server level variables in a business model based report

    hi gems.. I have declared one server level variable in the BI Analytics repository. Now I have made one business model based report. In one column I want to use that server level varible. I go to the formula tab of that column and then clicked on var

  • Horizontal scroll works in Adobe Viewer etc, doesn't work in Firefox!

    I'm using the latest version of Firefox and I have updated my relevent drivers. I am running Vista Home Premium on a Sony Vaio laptop. The touchpad is an Alps Pointing Device. This problem has been bothering me for YEARS, and every now and again I ge

  • Organizer 8 will not launch after installing Windows 8

    I have PSE 8,0 and it was running just fine. Now I have installed Windows 8 and I can't open the organizer? Is there an explanation of this? Message title was edited by: Brett N

  • Project Seven SwapClass

    Hello, I completed and understand the project seven tutorial, SwapClass: http://projectseven.com/tutorials/navigation/swapclassmenu/index.htm However, I'm trying to recreate the navigation menu for my own site and have a few questions. First, the onl

  • What do I use the "webapi" field for?

    When I choose "start point" I get an entry list with available fields in the data provider. What can I use the field "webapi" for?