Questions tagged [netbeans-7]

NetBeans is a platform development framework and an open-source IDE (Integrated Development Environment) for Java, JavaScript, PHP, etc. NetBeans is developed by Oracle Corporation.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Netbeans not conneting to git

I am net to Netbeans IDE, I have done all configuration and started using then last day I have restarted system and all of sudden I am unable to see my branches and my code changes and no git ...
Murala Sandeep's user avatar
0 votes
0 answers
18 views

404 Error After Redirecting From My JSP Page

When I visited my CityServlet route, i got a 404 error. Here is the screenshot of my code: Anyone know if something is wrong? I check my Payara Server, nothing wrong found
Ryan Ren's user avatar
0 votes
0 answers
86 views

GFortran runtime errors

*** CHARACTER W*1 DIMENSION IR(1319), IC(1319) CALL SCREEN (6) OPEN (1,FILE='FLOWER.DAT') DO I=1,1319 READ (1,021,END=035) IR(I),...
sundar's user avatar
  • 1
0 votes
0 answers
345 views

I am opening netbeans and it's loading but screen is not shown on monitor. and when I again open it, it just shows a blank window can any body help me

it says in task manager task is not allowed
Badar Muneer's user avatar
2 votes
1 answer
817 views

How to fix java language level error in netbeans

How can I fix these java language level error which shows: use -source 7 or higher to enable strings in switch I am using netbeans as an IDE.
Jacq's user avatar
  • 21
0 votes
0 answers
291 views

I want to check if the first letter of user first input is similar to the first letter for second user input

The program will prompt user to enter his name then enter different names Then it will check if the first letter of these dofferent names is similar to the first letter of his name I tried Scanner ...
Minsamiir's user avatar
1 vote
1 answer
244 views

How to differentiate files of same name?

I am using netbeans, and working on a web application. This application has multiple pages. Each of these pages has code which is recorded in the project as /project/web/pages/pagename/index.html/. I ...
jsarbour's user avatar
  • 948
0 votes
1 answer
345 views

Accessing a class file from Netbeans source file [closed]

I am using Netbeans 7. I was provided with a class file (MT.class), that I need to test. I put it under build>classes. I created a java class with main method. When I declare a new object using MT ...
Melanie A's user avatar
  • 269
1 vote
1 answer
729 views

extraneous end if in .dep.inc file

I am giving a job to Jenkins to build binaries for my code through make file . It is showing error of extraneous end if in .dep.inc file,I tried to change the configuration of net beans. This file ...
user avatar
0 votes
1 answer
234 views

Executing mysqldump using Java program in MacOS

I'm using MacOS Mojave and mysqldump is set to path in ~/.bash_profile When using MacOS Terminal mysqldump is working. Even with /bin/bash -c mysqldump it's working. But when I try it with my Java ...
user2473015's user avatar
  • 1,402
1 vote
0 answers
26 views

Netbeans - 'Build all dependencies' internal working

Netbeans has an option to build all dependencies. I read it uses maven reactor plugin to achieve this. How does it achieve that. Can it be achieved using maven through command-line.
Sakshi Arora's user avatar
0 votes
0 answers
18 views

Javax and org imports are not working tried everything. Nothing works why?

I am creating a betfair api in maven netbeans however it claims the javax.we.rs and org.glassfish.jersey packages do not exist. I have read all material but nothing works.
A. Johnston's user avatar
0 votes
1 answer
44 views

Netbeans no longer automatically updates my Grails running app

I'm developing a Grails (2.5.6) App, using NetBeans 7.2, and Java 7. Everything has been fine, but recently I have noticed that if I run the app from within NetBeans, and then make a change to the ...
Simon's user avatar
  • 119
0 votes
0 answers
45 views

Per-user "Include Directories" in NetBeans 7.2

Let's assume that two developers have the same include files in different directories on their PCs. How then can they customize the Include Directories parameter of a C++ project to take this ...
Eleno's user avatar
  • 2,884
0 votes
2 answers
3k views

Converting from a tree set into an Array?

How can I convert a TreeSet<String> into a String[]? String[] cityNamesA = (String[]) cityNames.toArray();
OMAR AWAD's user avatar
3 votes
2 answers
401 views

List of GUI functions built in NetBeans? [closed]

I am using the drag-and-drop style of GUI ( I can't write GUI code yet ). I only know a few function like: setVisible, getText, setText, etc. But I want to learn all the functions for the buttons or ...
joseph's user avatar
  • 31
0 votes
0 answers
118 views

Unable to compile an ImageJ plugin code in Netbeans/maven

I've imported a maven project in Netbeans 7.3.1 (to implement an ImageJ plugin) by reading the following pom.xml file: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven....
Paolo M's user avatar
0 votes
1 answer
648 views

Netbeans debugger stopping in wrong project file

I have two projects on netbeans. Project A and Project B, both have an index.jsp file. I have a breakpoint on Project B in index.jsp. I right clicked on the project and put 'Clean and Build', then I ...
user1084561's user avatar
0 votes
0 answers
290 views

Difference between: Restful Webservices using Entity Class,Restful Webservices using Database, and Restful Webservices using Pattern

While learning RESTful apis with java using netbeans, there are three types of web services. Restful Webservices using Entity Class Restful Webservices using Database Restful Webservices using ...
Dashrath Chauhan's user avatar
1 vote
0 answers
53 views

How can we insert Date into oracle table using TO_DATE injava?

I'm try to execute this function but I'm getting an exception.Can anybody tell me what is wrong? public static void insertTransaction(String St_Id,String Bk_Id,String issuedate,String returndate)//...
Shravani's user avatar
0 votes
1 answer
519 views

Adding file to jlist

Adding file to jlist, I add to jframe, one jbutton, one jtextview and one jlist, I add file .txt but effectlly to jtextview ex: C:/Windows/file.txt JList.add(JList, null); But theres something went ...
kasimirus suryo koten's user avatar
0 votes
1 answer
1k views

remove a component from netbeans swing ui

I added some components like button, panel etc. in Netbeans Swing UI in design view. I am not able to delete or remove any of components of my choice in design view. Please note that I am not willing ...
sai kiran's user avatar
-2 votes
1 answer
49 views

How to create an amount of panels equivalent to what is needed? [closed]

REWRITTEN: In this picture, I have 2 panels corresponding to 2 rows in this database I want the program to auto generate panels to how much rows the database have. For example: 1 row : only 1 panel 2 ...
Liquicidize's user avatar
0 votes
1 answer
3k views

How to Update php in Netbeans

I would like to update the versions of php available in Netbeans 7.1 (I know it is only for hints), I have php 5.4 working in my pc, but in netbeans I have available only php5.3 and 5.2, I would ...
dexter00x's user avatar
  • 879
-1 votes
3 answers
1k views

Git diff too much wrong changes

Im using a windows system to push my changes to a git linux server, where users commit with macOS, could this be the problem of invalid diff changes? changes which are not changes are displayed as ...
jwetzel's user avatar
0 votes
0 answers
39 views

Java Enterprise web development in netbeans

I am trying to build a simple form with mysql spring hibernate framework but it is giving errors.I cant figure out why model.hibernateUtil is not initialized. please help me. Here is code for ...
Ritwik's user avatar
  • 1
1 vote
1 answer
269 views

How to display tables from back-end (Mysql) to front-end Net-Beans?

How do you display the table values stored in the back-end which is MySQL to your design page in Net-Beans?
Tlaxip's user avatar
  • 31
1 vote
1 answer
9k views

read last value from stack (java)

I created stack for store values as follows. I need to read last value from stack without using "stack.pop". import java.util.Stack; Stack stack = new Stack(); stack.push("Something"); stack.push("...
Viraj Tharinda's user avatar
0 votes
0 answers
39 views

JTextfield not updating till end of JButton action performed method? Tried using repaint,sleep still no use [duplicate]

Hi I am trying for an application that reads and writes into excel on clicking run JButton. I am using a JTextField to give status (started / completed). Everthing is going well except JTextField not ...
sql_dummy's user avatar
  • 715
0 votes
2 answers
3k views

non static method cannot be referenced from a static context where T is a type of variable

Hi I'm new to EJB (NetBeans), I'm trying to retrieve Named queryProperty.findAll via my servlet but I'm having a problem. this the problem non static method cannot be referenced from a static ...
sacrificateur's user avatar
-1 votes
1 answer
213 views

How can i add File transfer to a group chat?

I have a java code for group chat. I want to send file to all clients connected to server. If I am using a PrintWriter for chatting mechanism, will I need any other things like OutputStream for file ...
NewToJava's user avatar
0 votes
1 answer
577 views

How to solve netbeans cannot find symbol for ZonedDateTime toInstant() method

I am trying to get milliseconds representation of time from a LocalDateTime object, as follow. The problem is as you can see in the attached image, Netbeans cannot find the toInstant() method and the ...
katwekibs's user avatar
  • 1,372
0 votes
0 answers
49 views

How do I add c++ code and access it in an old c-code Makefile project and compile with Netbeans

I have an old C-project that was born during the 80th and imported into in NetBeans 7.2.running on OpenSuse 12.3 I want to update the project with some functionality written in c++. That is I have ...
Anders S's user avatar
  • 187
-1 votes
1 answer
2k views

Netbeans Web Services JAX-WS package does not exist

please help. I am new in web services and for the moment I am trying this tutorial https://netbeans.org/kb/docs/websvc/jax-ws.html , ( this is one of the lessons that I attend at school ) ...
Greşanu Emanuel - Vasile's user avatar
2 votes
1 answer
1k views

InputMismatchException for guess number

I am doing a guessing game where in I can input 1-100 but I am having a trouble in only accepting numbers if I typed a letter when I first run the program it will give me error and execute the program ...
lec's user avatar
  • 23
0 votes
0 answers
158 views

stop the glass-fish server after closing the tab of the web application in netbeans?

like stopping the java application by clicking on the applet close using mouse listener, is there a way to listen mouse from browser. if it is there, then it should be able to stop the running server ...
letmecheck's user avatar
  • 1,223
0 votes
2 answers
178 views

How to show a dialog box a software using java when the software run 1st time in that system

In my software I want to show a message "welcome " in joptionpane when the application run 1st time in that system. I do not want this message in 2nd or any more time. Only required in once when the ...
user5876281's user avatar
0 votes
2 answers
204 views

How to set application first open date in same system using java netbeans

I want to create a small application for that purpose I want to know how to set a date in jLabel which was open the application first time in that system using java netbeans.
user5876281's user avatar
0 votes
1 answer
2k views

Exception in thread "main" javax.xml.bind.UnmarshalException

I am a .NET Developer learning Java. Please see the code below: The class HelloWorld import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import javax.ws.rs.PathParam; import javax.ws....
w0051977's user avatar
  • 15.3k
1 vote
1 answer
3k views

JAX-WS: javax.xml.bind.UnmarshalException

//HelloWorld.java import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.Consumes; import javax.ws.rs.GET; ...
w0051977's user avatar
  • 15.3k
0 votes
2 answers
3k views

Glassfish not running web application independently of Netbeans

Please see the steps I have followed below: 1) Start the Glassfish server in Netbeans: 2) Run the Netbeans project, which successfully browses to: http://localhost:8080/CRUDWebAppSQL/...
w0051977's user avatar
  • 15.3k
0 votes
2 answers
58 views

See Ant script generated by Netbeans

Please see the following webpage: https://netbeans.org/features/ide//build-tools.html. It says: "You can therefore build and run your project outside the IDE exactly as it is built and run inside the ...
w0051977's user avatar
  • 15.3k
0 votes
1 answer
192 views

Syntax Errors in Netbeans while using promises and node.js

I have a working node.js project with 4.5+ node.js and Q Promise. I am using netbeans to edit the project. However i am getting syntax error all over the project. How can i and from where can i add ...
Muhammad Umar's user avatar
0 votes
1 answer
193 views

Entity Class v Entity Bean

What is the difference between an Entity Class and an Entity Bean? When I right click on Enterprise Beans in Netbeans 7.4 there is no Entity Bean option as shown below: I am a .NET Developer. I have ...
w0051977's user avatar
  • 15.3k
2 votes
0 answers
432 views

JavaFx jar file tableView style properties not working when creating jar?

I am using Netbeans to create a jar for my FX application , the application is running fine in the standalone jar . but style properties of tableview column header and some fonts are not working . I ...
Rahul Singh's user avatar
  • 19.2k
0 votes
2 answers
222 views

How to change tab icon in NetBeans?

Is it possible to change that ugly red dot icon on NetBeans tab with index.ftl? It comes with Freemarker plugin and indicates a ftl template.
rozerro's user avatar
  • 6,097
-3 votes
2 answers
142 views

NetBeans is not working

Netbeans working fine ,suddenly this error occurs package org.jdesktop doesnt exist
cool rock's user avatar
-4 votes
1 answer
362 views

Oracle Database connectivity with java [closed]

Connectivity code username="system"; password="oracle11"; url="jdbc:oracle:thin:@localhost:1523:system"; Driver="oracle.jdbc.driver.OracleDriver"; Class.forName(this.Driver); this.con=...
Hemal's user avatar
  • 26
6 votes
4 answers
15k views

Netbeans doesn't show php 7

I just downloaded xampp(7.0.8) from xampp download page and installed with no error but when I create a new project in Netbeans it shows only 5.4 as the highest php version whereas what I have is php7....
Saurab's user avatar
  • 1,981
-1 votes
1 answer
5k views

How to compare two input Strings from mysql database table record.?

This code has an insert record in mysql table, but I want to compare jsp/html textboxes String with mysql column which is already existed like a login. This is page to login Two things I have know ...
Rajpoot Rajpoot's user avatar

1
2 3 4 5
32