netbeans-7

modify weka source code in netbeans

陌路散爱 提交于 2020-01-25 11:43:26
问题 i wanna use weka source code (not jar file!)and i download weka-src.jar from this address http://www.java2s.com/Code/Jar/w/Downloadwekadev379sourcesjar.htm and i wanna have weka project in netbeanes in windows .i do step by step this site instruction http://weka.wikispaces.com/Netbeans+6.0+%28weka-src.jar%29 when i extract jar file into src directory in my project,it give me a lot of error such as: package java_cup.runtime does not exist and a lot of other error. anyone can tell me how can i

modify weka source code in netbeans

元气小坏坏 提交于 2020-01-25 11:43:07
问题 i wanna use weka source code (not jar file!)and i download weka-src.jar from this address http://www.java2s.com/Code/Jar/w/Downloadwekadev379sourcesjar.htm and i wanna have weka project in netbeanes in windows .i do step by step this site instruction http://weka.wikispaces.com/Netbeans+6.0+%28weka-src.jar%29 when i extract jar file into src directory in my project,it give me a lot of error such as: package java_cup.runtime does not exist and a lot of other error. anyone can tell me how can i

modify weka source code in netbeans

核能气质少年 提交于 2020-01-25 11:43:06
问题 i wanna use weka source code (not jar file!)and i download weka-src.jar from this address http://www.java2s.com/Code/Jar/w/Downloadwekadev379sourcesjar.htm and i wanna have weka project in netbeanes in windows .i do step by step this site instruction http://weka.wikispaces.com/Netbeans+6.0+%28weka-src.jar%29 when i extract jar file into src directory in my project,it give me a lot of error such as: package java_cup.runtime does not exist and a lot of other error. anyone can tell me how can i

How to make swing controls in netbeans by default protected or public?

自古美人都是妖i 提交于 2020-01-24 09:27:12
问题 My first question is - can we make the swing controls (like textfield or combobox ) public or protected in netbeans? When we drag n drop the components in a frame the code is autogenerated and the components are by default private. We cannot use them in other classes. Second one is - Is there any other way by which we can use the components of one frame in other class? For example - In one frame we have one textfield one button and one label only. We want to set the text of the label same as

How to make swing controls in netbeans by default protected or public?

老子叫甜甜 提交于 2020-01-24 09:27:09
问题 My first question is - can we make the swing controls (like textfield or combobox ) public or protected in netbeans? When we drag n drop the components in a frame the code is autogenerated and the components are by default private. We cannot use them in other classes. Second one is - Is there any other way by which we can use the components of one frame in other class? For example - In one frame we have one textfield one button and one label only. We want to set the text of the label same as

Java EE 7 GlassFish 4.0 Restful Webservices using and Netbean and deploying on Glassfish 4.0

五迷三道 提交于 2020-01-21 09:10:06
问题 I have followed this Tutorial to Create simple Java EE 7 Webservices using Netbean 7.3.1. I have Glassfish 4.0 running with Netbeans. I ran project successfully without any problem. Next Step is to Deploy Webservice project on standalone version of GlassFish 4.0 webserver. So I can run it without Netbeans. Using Glassfish web interface on http://localhost:4848 , and navigating Common Taks -> Applications -> Deploy I browse using ("packaged file to be uploaded to the server") and Select the

Receiving emails and storing it in jTable

随声附和 提交于 2020-01-15 23:38:11
问题 I am trying to receive mails from my email account. But i am not able to store it in jtable . I want to do this because when one row is selected the contents will be displayed in jTextArea . This is my code snippet. public void connect() { final String pass = set.pass; final String user = set.uname; try { Properties props = new Properties(); props.put("mail.imap.host", "imap.gmail.com"); props.put("mail.imap.socketFactory", 995); props.put("mail.imap.socketFactory.class", "javax.net.ssl

Receiving emails and storing it in jTable

跟風遠走 提交于 2020-01-15 23:37:38
问题 I am trying to receive mails from my email account. But i am not able to store it in jtable . I want to do this because when one row is selected the contents will be displayed in jTextArea . This is my code snippet. public void connect() { final String pass = set.pass; final String user = set.uname; try { Properties props = new Properties(); props.put("mail.imap.host", "imap.gmail.com"); props.put("mail.imap.socketFactory", 995); props.put("mail.imap.socketFactory.class", "javax.net.ssl

Error while building project in Netbeans

邮差的信 提交于 2020-01-15 18:47:10
问题 I am transferring a project source from one pc to another. When I click Clean and Build Main Project from Run Menu of Netbeans, I got this error: init: deps-clean: Updating property file: E:\Backup\My Documents (BackUp)\NetBeansProjects\AccountStatusChanger\build\built-clean.properties Deleting directory E:\Backup\My Documents (BackUp)\NetBeansProjects\AccountStatusChanger\build clean: init: deps-jar: Created dir: E:\Backup\My Documents (BackUp)\NetBeansProjects\AccountStatusChanger\build

Netbeans: How do I add a valueChanged listener to a JTable from the “design” GUI builder?

折月煮酒 提交于 2020-01-14 19:29:11
问题 I right clicked the JTable and inserted some code into "post listeners code" in an awful kludge. I don't see an option to add table.getSelectionModel().addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent evt) { to "events" in the "design" view for the JTable. I'm sure there's a way to add a valueChanged(ListSelectionEvent evt) from design view, but how? maybe it's a bug? Row selection change events are produced by ListSelectionModel of JTable,