902 Topics

Member Avatar for
Member Avatar for mateopg

I need opinions or advice on an application that I want to program in Java to learn programming logic through short questions.

Member Avatar for rproffitt
0
39
Member Avatar for Lius

Need help with JTable header group : Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.table.JTableHeader cannot be cast to id.co.aal.common.GroupableTableHeader this is the part of table drawing ..... if(tabledraw) { tabledraw=false; for (int k = 0; k < m_data.getColumnCount(); k++) { TableCellRenderer renderer; if (k==Kehadirantable.COL_ALOKASI) renderer = new CheckCellRenderer(); else { DefaultTableCellRenderer …

Member Avatar for Jan_315
0
900
Member Avatar for Darivs

Hello guys! Sorry newbie here. I get an error in Netbeans while trying to add an Icon to a J label. The error is: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null After importing all of the images I used for my project. I still get …

0
83
Member Avatar for Saboor880

Hi to All! I have a POS Software which I have developed in Java, NetBeans IDE. I am deploying this software on a variety of Windows Computers / Laptops for 5 years. I have used JFormattedTextFields for double data type in the whole Software. And I have set Format of …

Member Avatar for Стас_1
0
90
Member Avatar for Ashwin01

![JD522_FA2_2.PNG](https://static.daniweb.com/attachments/4/1977355aeec12a9a2dfbe72584965be3.PNG) ![JD522_FA2_1.PNG](https://static.daniweb.com/attachments/4/79856a328e3fe67011afb484bb9c654a.PNG) ![JD522_FA2_3.PNG](https://static.daniweb.com/attachments/4/d9bc25423e0da12339e15aaee0f160ab.PNG) ![JD522_FA2.PNG](https://static.daniweb.com/attachments/4/90c9dac41812ac074849fe92617446a2.PNG)

Member Avatar for Dani
0
97
Member Avatar for Ashwin01

Create a program called staffSalary using GUI Java and add a class named Staff that will determine the monthly payment amount of and return a specific staff description. The staff are getting paid differently base on the rate and numbers of hours worked. The staff also have different description based …

Member Avatar for Reverend Jim
0
60
Member Avatar for Wafflez

I want to open JFrame (created from NetBeans) using the java class, but the JFrame is not showing up. I run the code from Eclipse. Here my class: (line 67) import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.util.Scanner; import javax.swing.JButton; …

Member Avatar for Wafflez
0
103
Member Avatar for mikewyatt

I have a very complex java program written with net beans 7.1. It consists of 1 .java file that has a main(), and over 25 supporting .java files (most used for routines inside of tabs). In addition there are 15 different databases (embedded) associated with it. The program is virtually …

Member Avatar for Charls_1
1
872
Member Avatar for shana_6

hi i have to create a desktop application for "Timetabel Management System" . for that i'm gonna use Java language and i'm really confusing about what platform i have to use it? bcaz my group members suggest me eclips and some suggest me Netbeans? can u help me out with …

Member Avatar for JamesCherrill
0
88
Member Avatar for Ahmet Gök

Hi, Mr Dani Horrowitz, Founder Java NetBeans 'random' numbers between 1 and 100 using the U set for myself, I'm single and multiple 10 to choose a number you want to create an array. I want to get these numbers from the output via single and multiple array and random. …

Member Avatar for Dani
0
128
Member Avatar for bastianemutan

Hello everyone, I am Bastian, i would be very grateful if anyone could help me on this one. I want to self-study about creating a Hotel Management program in Netbeans but i am afraid that i just have a basic knowledge in Java. I studied Programming but unfortunately i have …

Member Avatar for rproffitt
0
279
Member Avatar for 雪嫣

I new in learning Object Oriented Programming... I face a problem that how to do this question for loop and if.... hopefully can get some help in this website...` this question is need to do from the previos question.. this is java need to do the question using NetBeans.IDE.. question:(at …

Member Avatar for John_165
0
565
Member Avatar for Saboor880

H! I am writing a java proram in which I need to generate and read barcodes to and from .PNG images. I used barcode4j-2.jar library to generate barcodes and write them to PNG image. I did this successfully. But I faced an error during reading that generated barcode from the …

Member Avatar for orichisonic
0
690
Member Avatar for Saboor880

Hi to all! I have SQL Server Express, SQL Server Management Studio 2012. My PC Name is : "SaboorPC" and SQL Server instance name is also "SaboorPC". I am trying to connect my Netbeans to My SQL Server but it is not connecting and giving the following error: "com.microsoft.sqlserver.jdbc.SQLServerException: The …

Member Avatar for rproffitt
0
445
Member Avatar for gahhon

I am using Netbean IDE 8.1 to build the website. I build a very simple website with simple Javascript function, window.alert(). Upon my testing, I put the button triggered function in the javascript but the function is not triggering. If I put the function under the HTML, it does triggered …

Member Avatar for gentlemedia
1
2K
Member Avatar for gahhon

Hi, I'm using NetBeans with Java. I have create a JFrame with some checkboxes and a button to open browser go to the specific URL based on the checkboxes' values. But how do I auto-login/auto fill the username and password textbox then trigger the login button? Please kindly advise. Thanks.

Member Avatar for rproffitt
0
481
Member Avatar for gonzi.p12

hey guys, Can any body tell me how shall i start with the project. I will be using Java and C together(JNI) in netbeans for coding. I will be embedding the C code in Java(Interface). First i want to read the wav file in C and sample it and apply …

Member Avatar for iranano
0
2K
Member Avatar for scheppy

Hi Guys Its me again, wasnt sure if i should start a new thread so i just did :) I completly redid the code Now im having a problem with the renderer again. It called called in the timer of the controller class... but it doesant get called? Also my …

Member Avatar for scheppy
0
465
Member Avatar for Gl753

I'm working on assignment that requires me to generate and store 50 random PPS Numbers in an array but I'm not sure as to how to go about doing this. Keep in mind that I'm not asking anyone to do this assignment for me, this is just the part I …

Member Avatar for Janko_1
0
3K
Member Avatar for rahaf_1

Write a java program that asks a person for his height (in meters) and weight (in kilograms) and outputs one of the messages: underweight, normal, or obese, using the BMI formula and BMI classification. Body Mass Index (BMI) is an index used to measure the body fat using the height …

Member Avatar for rahaf_1
0
2K
Member Avatar for peter20

Hi all, I have a class CAR.java public class CAR { private int ID; private String model; public CAR(int ID, String model) { this.ID = ID; this.model = model; } public int getID() { return ID; } public void setID(int ID) { this.ID = ID; } public int getmodel() { …

Member Avatar for peter20
0
304
Member Avatar for jonathan_20

hello guys, im new to software progrmming, iam more interested in java programming. iam trying to write a code using netbeans, but after finishing compiling th code, then after running it, it says build unsuccesiful, it gives me an error wich i do not understand..

Member Avatar for JamesCherrill
0
120
Member Avatar for Saboor880

Hi! I have create a simple desktop application (CRUD operation) using java derby by using the library "derbyclient.jar" I want to deploy it on another computer which not have netbeans IDE installed. I ''clean and build '' the project and a jar file created in dist folder of my project …

Member Avatar for JamesCherrill
0
611
Member Avatar for Monique_2

Modify the Week Two Java non-GUI console application using NetBeans IDE (or jGrasp) to meet these additional and changed business requirements: • The company has recently changed its total annual compensation policy to improve sales. • A salesperson will continue to earn a fixed salary of $35,000.00. The current sales …

Member Avatar for JamesCherrill
0
563
Member Avatar for David_83

Hi guys. So I'm building this code in java using NetBeans and literally this code has been working fine the entire time. I haven't changed anything about it and now it's giving me an error and I can't find out what's wrong. Can you please take a look for me? …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Software_1

Our company is developing a large, database (MySQL) system on top of the Netbeans RCP. This is a Java Swing GUI based application. We want to take advantage of Rich Client Platform to develop the "Government Platform" and use its module project type to develop the "Government Modules", essentially Java …

0
387
Member Avatar for Yuna_1

Hello I am almost finished with my assignment but I just need it to do the math correctly and I need help!!! I can easily do the problem on paper just fine however I can't get Netbeans to create the right answer. Here is the problem I need it to …

Member Avatar for JamesCherrill
0
342
Member Avatar for Saboor880

Hello to all! I know well how to access database and its tables from sql server in Netbeans, But know I need to access a report from sql server in Netbeans. For example if I have a table named "MyTable" in sql server 2008 and then I ran a query …

Member Avatar for stultuske
0
217
Member Avatar for BabaRoro

I would like to delete a binding group from my java code, Netbeans does not allow me to do it.I try to do this by right click >Refactor > Safely delete , but a warning appears and the group is not removed. How do I go about deleting this?

Member Avatar for stultuske
0
106
Member Avatar for lo022

I'm in a Java class we are using netbeans to create a program. I have the code in and it builds but it will not run. Can anyone assist

Member Avatar for JamesCherrill
0
172
Member Avatar for Mar. Na.

Hi all; How can i ordering files in the package ,,,,java netbeans ordering files by name ,,, i want to move up or down to exganges positions of files in package.... i press click on it and move up or down but isn't work....!!! example: package filename: A.java B.java C.java …

Member Avatar for Mar. Na.
0
388
Member Avatar for Saboor880

Hello! I have written a simple program which connects netbeans with SQL Server database. The program is giving an exception. I am displaying the source code of my program and exception below. Please guide me to solve this problem. public class dbconnection { Connection con = null; public static void …

Member Avatar for Saboor880
0
241
Member Avatar for pihuu

I encountered a problem when trying to use hibernate to save details onto my database. > > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". > > SLF4J: Defaulting to no-operation (NOP) logger implementation > > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. > > Exception in thread "main" org.hibernate.HibernateException: /hibernate.cfg.xml not found …

0
195
Member Avatar for Saboor880

Hello to all! I want to make my netbeans project executable and portable. i write a program which connects to Ms access database and execute an Insert Query. My program is running successfully. Now I want to made executeable of this project and want to run this executable on another …

Member Avatar for stultuske
0
250
Member Avatar for kiswah03

hi, I want to create an application in netbeans which send input and retrieve result from a website. I googled this... Some say we have to use jsoup, some says we have to use selenium , some says ajax and some says jquery. I am totally confused. i read so …

0
209
Member Avatar for jjones0150

I keep getting this error: " Exception in thread "main" java.lang.ClassCastException: java.util.Collections$EmptySet cannot be cast to java.util.List at JayJuan.InventoryManager.getProductList(InventoryManager.java:15) at JayJuan.InventoryManager.addProduct(InventoryManager.java:48) at JayJuan.InventoryApp.main(InventoryApp.java:35) C:\Users\JonesJ58\AppData\Local\NetBeans\Cache\8.1\executor-snippets\run.xml:53: Java returned: 1 " Based off this error and the code I provided please help me figure out how to get this program to run correctly. …

Member Avatar for JamesCherrill
0
507
Member Avatar for vilastadoori

Dear Listers, I have create a project in java using netbeans. Have designed the user interface where I have a jtable and a button. When i created the interface it automatically populated the code and I have done nothing When i click the button it shoiuld call the class to …

Member Avatar for vilastadoori
0
1K
Member Avatar for Saboor880

Hello! There is another problem which I am facing in JDBC, is Insert statement. I am giving code of my program and explaining my problem . I am using ms access and netbeans 8.1 package database2; import java.sql.*; public class Database2 { public static void main(String[] args) { try { …

Member Avatar for JamesCherrill
0
262
Member Avatar for Saboor880

Hello to all! I am doing practice for JDBC and using netbeans 8.1. I created a table in mc access and wrote a program. But the problem is that when i pass column index then my program runs successfully. But I pass column name as in my table in mc …

Member Avatar for stultuske
0
245
Member Avatar for Saboor880

Hello to all! I am learning java. And now I have started section of web apps in java. I have learnt initial level web development by coding on notepad. Now I am using netbeans IDE for java. But in case of web development i am facing a problem using netbeans. …

Member Avatar for JamesCherrill
0
435
Member Avatar for ahsan1

This is the program in java which is an interface to stanford postagger. I have attached a copy of it. I am using netbeans 6.7.1 . I have placed the model file which is "left3words-wsj-0-18.tagger" in the bin folder of jdk and also placed the stanford-postagger.jar in that folder. I …

Member Avatar for Hargung
0
266
Member Avatar for EarhawkPH

i have this problem about the betting system of my game. Here's the scenario: Your money: 300 Your bet: 300 JOptionPane appears: "you have insufficient money to bet" Here's the code for the main program: /* * To change this license header, choose License Headers in Project Properties. * To …

Member Avatar for JamesCherrill
0
437
Member Avatar for Caled

Hi, Im trying to display all the rows from a table (im running on Postgres and NetBeans 6.5). I only get one row.. my code: the actor class [code=Java] package appsClass; import java.sql.*; /* * To change this template, choose Tools | Templates * and open the template in the …

Member Avatar for jwenting
0
17K
Member Avatar for EarhawkPH

I'm doing a quiz game using netbeans. I've already done the randomization of questions. The problem is, how do i keep a question from repeating itself? ex: chose correct answer --> questionrandomizer comes in --> next question appears but it's the same question earlier here's my code: package kiddiequiz.scienceforms; import …

Member Avatar for Stefce
0
268
Member Avatar for EarhawkPH

**I'm using netbeans btw if you notice the long code for the GUI** I'm doing a quiz game. The questions are randomized. My problem is, the randomized questions do not appear on the questionLabel (JLabel Variable). I don't know what to do. Help? /* * To change this license header, …

Member Avatar for EarhawkPH
0
177
Member Avatar for Saboor880

Hello to all! I made a small project using Netbeans8. I named my project smallCalcApp. And then i add a new JFrame File in my project and in that file I handled events of components which i put on form. When I run that file , it ran successfully and …

Member Avatar for stultuske
0
353
Member Avatar for sclansing68

Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors: A salesperson will earn a fixed salary of 60,000 dollars. A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the …

Member Avatar for JamesCherrill
0
273
Member Avatar for shailamureed

Hi i have an assigment that is giving me a hard time . I want to make a media player in java by using netbeans Can anyone give me an efficient way to do this assigment. please help me shoaib in java [Click Here](http://www.daniweb.com/software-development/java/9/contribute)

Member Avatar for JamesCherrill
0
392
Member Avatar for Codeyjj

Hey guys, I am new to the community so I wanna say thanks in advance for the advice. I am 20 years old and very interested in game developement. My programming background is limited as I have only been practicing for about a year total now and in scattered time …

0
142
Member Avatar for Szabi Zsoldos

Hi guys, I've made an application in JavaFX and I do want to export it into a runnable jar. When I run it from Eclipse or Netbeans, it works well. But when I run it from windows as an executable jar I get this error for my layout. Exception in …

Member Avatar for Szabi Zsoldos
0
4K

The End.