157 Topics

Member Avatar for
Member Avatar for bobytch

Good day to everyone.. First Here is my code so far.. import java.io.*; public class Inventory { public static void main (String[]args)throws IOException{ BufferedReader bv = new BufferedReader (new InputStreamReader(System.in)); String x, z; boolean y = true; int a, b, c, d = 0; do { System.out.println("--------------------------------------------------------------"); System.out.println(" M I …

Member Avatar for NormR1
0
1K
Member Avatar for iEpic

The code i used in JGrasp to show the image is not working in Netbeans The code i used in JGrasp is final ImageIcon icon1 = new ImageIcon("image/money.gif"); JOptionPane.showMessageDialog(null, " blah blah", "Text", + JOptionPane.INFORMATION_MESSAGE, icon1); And if i wanted to show an image in JOptionPane.showInputDialog would it be the …

Member Avatar for NormR1
0
4K
Member Avatar for kalz

HI I am developing a web service client using netbeans ide . I have used the code completion feature to implement the submit message method : import javax.xml.bind.JAXBElement; import uk.co.csoft.www2.dtd.sendsms5.Message; import uk.co.csoft.www2.dtd.sendsms5.ObjectFactory; import uk.co.csoft.www2.dtd.sendsms5.Recipient; public class Main { public static void main(String args[]) { //Recipient r = new Recipient(); //Message …

Member Avatar for kalz
0
2K
Member Avatar for raj.mscking

Hi gentles! jest i am creating one stand aloe application by using JDK-1.6 Netbeans.7 Mysql i can run in net beans well and the database also working well with this, if i "clean and build" the project as jar file it working well in it's specific location (eg:D:\Raj\Gui\WorkersData\dist) But! if …

Member Avatar for NormR1
0
349
Member Avatar for mallikaalokam

I have Oracle 8i installed in my PC And i Installed NetBeans7.0rc2 with glassfish server It shows an error that the glassfish server cannot be started SEVERE: Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@187955b i want to chnage the default port number 8080 …

Member Avatar for Sadun89
0
234
Member Avatar for aanders5

Okay, I am going to go through ALL my steps thus far just so that this process can be sped up hopefully. I have done this before, but it was awhile back and I forgot how, but I know it is possible. 1. I made a Neatbeans created Java Application. …

Member Avatar for NormR1
0
562
Member Avatar for vishnukumar

Hi, I am vishnu kumar. I knew the basics of Java but this is the first time i am building a project based on java (Java Swing actually). This is my final semester project and for last two months, i am doing my project. I initially thought the database(along with …

Member Avatar for vishnukumar
0
727
Member Avatar for NealCaffrey

I m trying to select data from a drop down and retrieve & display the values corresponding to it into textboxes.. the data to be displayed into the textboxes is taken from database(mysql database).. The scripting is done in JSP which is as follows: issue_from.jsp [code] function showDataIssue(){ xmlHttp=GetXmlHttpObject() var …

0
86
Member Avatar for vishnukumar

Hi, i am beginner in java. I doing my final year project in Java Swing. So far, somehow through some online tutorials and articles, i learned to finish 30$ of my project. Now, i need to know how to insert the data from my database into Jtable and display it.... …

Member Avatar for stultuske
0
466
Member Avatar for raym.mart

NEED HELP .. where can I do start if I want to create a simple application that do have a record file and a java file ? any suggestions or recommendations

Member Avatar for raym.mart
0
223
Member Avatar for Tango2010

Hi All, I wonder if anyone can help - I have been teaching myself Java GUI programming using a Mac running OSX Lion and Netbeans 7, and have followed the tutorial: [url]http://netbeans.org/kb/docs/java/gui-functionality.html#Exercise_2[/url] When I run the program, it builds and compiles fine, but only appears when I choose the command …

Member Avatar for Tango2010
0
154
Member Avatar for Dexxta27

I have to make a small paint program using the GUI. I need to know how to use the combo box. I know I have to make an array with the list of colors but I don't know how to add it to an action listener and choose the items. …

Member Avatar for Dexxta27
0
2K
Member Avatar for warlord902

I never worked in any company or organization, so you people can guess I do not have much idea. I am working on a quite big project of a website alone using Java/J2ee. As I am working alone so I am working on all the things at a time. Sometimes …

Member Avatar for peter_budo
0
234
Member Avatar for drico7041

Hey, I was having trouble making my vector print out randomly generated numbers in ascending order. Can I please get some help?. This is my assignment "Write a program name count.java that will use a Vector to store 10,000 randomly generated numbers (ranging from 1 to 99) Now sort the …

Member Avatar for drico7041
0
181
Member Avatar for stakeMyHeart

im creating a prototype for a hotel using netbeans ide 7.0. I used the drag and drop in designing the buttons, panels, label etc... then what i want to happen is when the button is clicked a jpanel/ jframe that i did will appear. How would i do that? I …

Member Avatar for stultuske
0
281
Member Avatar for de.ICeman

I want to create a Entity class with database in Netbeans. When i select a Data source jdbc/Ionbank (custom Jdbc connection Using JDBC-ODBC bridge with Ms SQL 2005 as database). I see all the table from that database. All tables show no primary key, but they have primary keys in …

Member Avatar for StephNicolaou
0
368
Member Avatar for krishnisilva
Member Avatar for krishnisilva
0
92
Member Avatar for CodeJava1

hi could someone help me in giving a tutorial in learning how to write testcases in java. would preffer in netbeans if eclipse dosen't matter, thanks in advance

Member Avatar for krishnisilva
0
337
Member Avatar for krishnisilva

hi, [CODE] public Record get(VideoObj v) { // TODO if((v ==null) || (v=="")) return null; else return ??; } [/CODE] Recor and VideoObj are classes. if the methos return type is Record, can someone tell me what should I return? thanks

Member Avatar for stultuske
0
229
Member Avatar for CodeJava1

could some one explain the code below [CODE]import java.util.Map; import java.util.HashMap; import java.util.Collection; import java.util.ArrayList; final class InventorySet { /** @invariant <code>_data != null</code> */ private final Map<VideoObj,Record> _data = new HashMap<VideoObj,Record>(); InventorySet() { } /** * Return the number of Records. */ public int size() { // fill in …

Member Avatar for CodeJava1
0
249
Member Avatar for laopi

Hi, I'm new to java, I'm using netbeans, I create two tables, master table and detail table, detail table has a composite primary key, one of the primary key refer the master table's primary key, when I created a desktop application, the detail parts only show the columns which are …

Member Avatar for StephNicolaou
0
152
Member Avatar for Mr.BunyRabit

Hey there, is there a way to convert a string to a tree path? i can convert a path to a string, but not the other way around... [CODE]jTree1.getSelectionPath().toString()[/CODE] thats the only way i know.. nooo idea how to convert it back??

Member Avatar for Mr.BunyRabit
0
870
Member Avatar for begueradj

Hello people I create a simple Hello World project (servlet) o Netbeans. I configured it so as to run under Tomcat, but when I click on Run to execute the project it says this meassage: [COLOR="Red"] /home/begueradj/NetBeansProjects/projet1/nbproject/build-impl.xml:721: The module has not been deployed.[/COLOR] Why is that ?

Member Avatar for peter_budo
0
158
Member Avatar for Mr.BunyRabit

i got an example form roseindia on how to send an email. Now it works perfectly like this, and i can send mail to my email adress with that code (thats just a part of it) [CODE]String host = "192.168.1.14"; String from = "Admin@Admin.com"; String to = "myEmailadress.com";[/CODE] but the …

Member Avatar for Mr.BunyRabit
0
429
Member Avatar for noirorlatte

i'm building an web application using jsp, and i use the default server: glassfish v3. my application is used for recommending item and give prediction. But when i'm running it, i got this [B]WARNING: Interrupting idle Thread: http-thread-pool-17667[/B]...i've changed the wait_timeout,interactive_time out in mysql to 3...what should i do???i'm using …

Member Avatar for peter_budo
0
133
Member Avatar for dmtYork921

Hi, I was trying to figure this out. I've been scratching my head all morning and I'm at a mental dead end. Can anyone help me? Malicious code in red [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package …

Member Avatar for JamesCherrill
0
186
Member Avatar for juliusmasa

Can you help me put actions to the buttons [code]public class TimeIn extends javax.swing.JFrame { /** Creates new form Timein */ public TimeIn() { initComponents(); } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of …

Member Avatar for stultuske
0
145
Member Avatar for jeffcogswell

Netbeans is a free, open source IDE for developing software in Java. It's been around for almost 15 years, having gotten its start around the time Java began. Version 7.0 is about to be released, and I got my hands on the Beta release of this new version. In the …

Member Avatar for cyvre
3
380
Member Avatar for dimitros

I cannot figure out why i have this error.It may just be a missing semicolon but i can't find where. Here is my code:(error occurs in many lines, so i can't show where exactly is the problem) /* * To change this template, choose Tools | Templates * and open …

Member Avatar for stultuske
0
589
Member Avatar for iustitia

Hello I have a problem that I cannot solve by myself. I'm making kind of calculator. I wanted to make one general method that handles all events for some buttons, because all of them are similar. My problem is that in NetBeans code for handling events is generated automatically and …

Member Avatar for stultuske
0
104

The End.