netbeans-6.9

Working IDE for Rails3 on Windows

末鹿安然 提交于 2019-12-07 02:04:03
问题 I´m having a hard time configuring NetBeans for Rails3 in Windows. I got a lot of problems, many o then reported even here. So my question is: which of the following IDEs are best situated for Rails3 in a Windows Box right now: RubyMine Komodo IDE RadRails Look, i dont want to start a discussion (kinda x vs y). I just want to know from people who already are developing in Rails3 with Windows what is the better choice in the long run. Thanks! EDIT Issues with NetBeans Issue 1 Issue 2 Note: Im

How to validate a JTextField of email ID with a regex in swing code?

北城以北 提交于 2019-12-06 16:36:24
I have tried a lot for this validation but I'm not getting where to put the following code String expression="^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Z]{2,4}$";. Please help me in this. Vallabh Patade I hope this will help. When you Click on Submit button on SWING UI, in actionListener write the validation code. Emailvalidator emailValidator = new Emailvalidator(); if(!emailValidator.validate(emailField.getText().trim())) { System.out.print("Invalid Email ID"); /* Action that you want to take. For ex. make email id field red or give message box saying invalid email id. */ } This is the

NetBeans + GWT 2.2.0 + Maven compile problem

自古美人都是妖i 提交于 2019-12-06 12:10:25
I'm trying to create a Maven Web Application project with Google Web Toolkit in NetBeans 6.9. I've followed the steps shown on this video: http://www.youtube.com/watch?v=M-iVZ5TJ21w After creating the project and adding GWT to the frameworks my project compiles and deploys to Tomcat nicely. Now i like to change the default GWT version from 2.0.3 to 2.2.0. As i edit the gwt.version property in the POM and save the file, NetBeans fetches the new gwt-user-2.2.0.jar file and the javadoc. However if i try to compile the project i get this Maven error in the console: Downloading: http://repo1.maven

Assign “Ctrl+S” to Subversion commit

社会主义新天地 提交于 2019-12-05 14:08:02
In NetBeans, how can I make it so that every time I save a file it gets committed to Subversion? This sounds like a recipe for disaster! That being said . . . Go to Tools : Options in the menu. Go to the Keymap tab. Type commit in the Search box. Locate the row for "Commit..." / "Subversion". Double-click in its Shortcut cell. Press the desired shortcut (e.g. Ctrl + Alt + Shift + S ). Click the OK button. As committing a file automatically saves it first, you could use Ctrl + S as the shortcut if you wish. Note that this also works when you select one or more files in the Projects pane. Thanks

Working IDE for Rails3 on Windows

有些话、适合烂在心里 提交于 2019-12-05 08:20:11
I´m having a hard time configuring NetBeans for Rails3 in Windows. I got a lot of problems, many o then reported even here. So my question is: which of the following IDEs are best situated for Rails3 in a Windows Box right now: RubyMine Komodo IDE RadRails Look, i dont want to start a discussion (kinda x vs y). I just want to know from people who already are developing in Rails3 with Windows what is the better choice in the long run. Thanks! EDIT Issues with NetBeans Issue 1 Issue 2 Note: Im using RubyMine by now and facing no problems I'm using RubyMine . You can try it for free for 30 days.

trouble deploying .WAR to tomcat

被刻印的时光 ゝ 提交于 2019-12-04 23:33:09
im having trouble deploying a war file on tomcat. i have written a webapp in netbeans on my windows machine. it all runs fine. what i want to do is deploy the application on my linux computer that is acting as my server. once the application is built, i copy the war file from the dist folder in my project directory onto a pendrive. i then copy this onto the desktop of my linux computer. i then start tomcat and using the application manager i browse the war file to deploy, then click deploy. i get a message at the top of the browser saying 'OK'. yet if i look at my tomcat output in the terminal

Transport.send(message) not working in the below code.. netbeans gets stuck at the running part. it doesn't proceed furthur.. it hangs there forever

吃可爱长大的小学妹 提交于 2019-12-04 19:50:48
问题 I have tried to write a code to send email using Java. But this code is not working. When the code is executed it gets stuck at transport.send(message). It's stuck there forever. Also I am not sure if the rest of the code is correct or not. //first from, to, subject, & text values are set public class SendMail { private String from; private String to; private String subject; private String text; public SendMail(String from, String to, String subject, String text){ this.from = from; this.to =

How to get code completion for variables into zend_view using netbeans 6.9.1?

北战南征 提交于 2019-12-04 18:10:42
i'm evaluating to switch to netbeans ide for managing my zend_framework project; i'd like to have autocompletion for variable's name into my view, for variables defined in actions as i see in this screencast, http://netbeans.org/kb/docs/php/zend-framework-screencast.html , but i can't figure out. When i digit $this-> in any view i can't see none variable's name. I'd like a lot to use this feature. Thank you, Mirco. You need to have Zend Framework either in the include path for the project within Netbeans or within the project itself. You can then use cmd+space after a "->" to autocomplete an

Installing SwingX in Netbeans

自作多情 提交于 2019-12-04 15:03:36
I have problem installing SwingX in my Netbeans IDE. I want to play with JXPanel and related components but i could not get right library and get it going. I tried to download swingx.jar but there is no valid link available in internet. I somehow managed to download swingx-1.6.jar, swingx-beaninfo-0.9.7 and swingbean.jar. I imported these jar files into the new library i created "SwingX" using tools->library and after that went to tools->palette->Swing/AWT Components and added a new palette group called SwingX and added the created library (SwingX) into it. Now i get a block in my IDE as shown

Consuming a web service in an android application in localhost

自作多情 提交于 2019-12-04 13:02:47
I am trying to consume a web service that I created locally from an Android application. My problem is that in my Android app, at a certain point, I have to give an URL with parameters that looks like this : http://localhost:8080/CalculatorApp/CalculatorWSService/add?i=1&j=1 where CalculatorWS is the web service I use, add is the operation in it and i and j are parameters of add operation. For now I am using a sample app Calculator (from NetBeans) for testing and I want to retrieve the correct URL to give to my web service client (Android app) so it can give me back an XML to parse. I tried to