netbeans-7

Get Netbeans to Auto-suggest Zend Framework components

一笑奈何 提交于 2019-12-13 17:55:01
问题 I've recently installed ZF, and haven't had any issues using it, however when I'm working in Netbeans, I'd like for it to recognize and suggest ZF components. For example, when I type: $config = new Zend_ I want it to auto-complete or suggest: Zend_Registry Or when I try to use: Zend_Registry::getInstance(); I'd like for Netbeans to auto-suggest getInstance and recognize documentation for it. I figure it has something to do with including the library inside the application, but I'm not sure

using an EJB 3.1 bean through a remote java stand-alone application

早过忘川 提交于 2019-12-13 16:06:59
问题 I have been trying to use Java EE 6 to create an Application Server based app which is to receive Job objects from a GWT Web Application and those Jobs would be pulled from a Java stand-alone application. I have been thinking that the EJB model would provide me with easy way to do remoting because my client app should be able to run on a different machine. I am using Glassfish 3.1 and Netbeans 7.0.1 as my IDE, I have also used eclipse Java EE to reproduce same problem. I have been facing the

Netbeans suddenly failed to start after saying “Done Loading modules”

╄→尐↘猪︶ㄣ 提交于 2019-12-13 14:23:26
问题 Netbeans 8.0 fails to start in Ubuntu 12.04 suddenly. Previously it used to work fine. But now it does not start, when I try to start, the netbeans blue loading box shows up, sometime after showing the message "Done Loading modules", it disappears & netbeans windows does not appear. However netbeans is still shown in the running processes, but the netbeans windows does not open after any time. In the past, this also happened with netbeans 7.4 sometime ago when I disabled some plugins

Remove files from Netbeans project, but not from hard drive

有些话、适合烂在心里 提交于 2019-12-13 13:13:57
问题 In my project folder a lot of files, but I don't want have them all in my Netbeans project. Also Netbeans scanning them automatically using more memory and time. Is there a way to exclude files/folders from Netbeans project. 回答1: Solution working with Netbeans 7.3: right click on your project in the "Projects" window, click on "Properties", click on "Ignored folders" in the left panel called "Categories", click on "Add folder" and select the folders you want to ignore. 回答2: Are you referring

Netbeans7.1 & JavaFX 2.0 - FXML code completion doesn't work

纵饮孤独 提交于 2019-12-13 12:09:04
问题 I started learning JavaFX 2.0 and installed Netbeans 7.1, java 7.02 SDK (wich contains JavaFX 2). Everything seems to work, the example projects compile and run fine. My problem is: Code completition doesn't work for FXML files. I press ctrl+space and it shows "No suggestions" every time. The same for tags and attributes. Does anyone know what could be the problem? 回答1: You can still show autocomplete menu for attributes by pointing the cursor just beginning (or middle to show sublist) of the

NetBeans jFrames not working (just showing loading…)

有些话、适合烂在心里 提交于 2019-12-13 08:54:09
问题 I created a new project in Netbeans IDE 7.0.1. In that project I created a new JFrame form. But that frame is not loading. Then I tried to run the program anyway and it gave the following exceptions: Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Uncompilable source code - package org.jdesktop.layout does not exist at login.initComponents(login.java:33) at login.<init>(login.java:20) at login$1.run(login.java:78) at java.awt.event.InvocationEvent.dispatch(InvocationEvent

Text Field With Autosuggest

荒凉一梦 提交于 2019-12-13 04:55:29
问题 What i want is an editable jcombobox. As the user types into it, it should search the database and display the names in the database that starts with the text that was typed in by the user. eg. : If the user types in 'a' . Then jcombobox should display all the names in the database that starts with 'a' . If database contains the names aaron,aidan,kim . When user types 'a' then the combobox should suggest names aaron and aidan /* * To change this template, choose Tools | Templates * and open

log4j only can view error level on my java-Enterprise application-Module ejb- with spring

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 04:21:21
问题 I'm working on my java Enterprise application in ejb module with Netbeans. When I run "MyClass.java" I only view error level. MyEnterpriseApplication-ejb:Source Packages: package com.mycompany; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class MyClass { public static final Logger logger = LogManager.getLogger(MyClass.class); public static void main(String[] arg) { ApplicationContext context = new ClassPathXmlApplicationContext("classpath:context

Get the username and user type in the database to the program Java

孤街醉人 提交于 2019-12-13 03:43:39
问题 i made a program that have a database.. Here is my database looked now: I already could retrieve the Username with the User Type when user login with their Username. But i have a problem now, the program run properly, the only thing is the program show all of the Username and User Type even though i login with Username: Fuhans. What i want is the program only show the Logged In Username (e.g: i login with Username: Fuhans and the program show the message box where it display Username (Fuhans)

Swing e-mail client throws javax.mail.AuthenticationFailedException

醉酒当歌 提交于 2019-12-13 02:36:02
问题 I am trying to make an email client in NetBeans to send emails, but I am getting an AuthenticationFailedException in my code. This is my code (there are three classes): EmailClient.java package sendemail; public class EmailClient extends javax.swing.JFrame { SendMail sm=new SendMail(); Settings set=new Settings(); public EmailClient() { initComponents(); } @SuppressWarnings("unchecked") +Generated code private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your