32,204 Topics

Member Avatar for
Member Avatar for nilay84

does anyone know how to fill the JTable with the binary values such as if we have 2 variables a and b the table should be filled in as follows: a b 1 1 1 0 0 1 0 0 any suggestions would be useful.. thanks

Member Avatar for nilay84
0
138
Member Avatar for enterpise

Every time when i try to catch exception on the rage of my port Also the Message input box ( can't enter the negative number ) The program seems like doesn't response for my action but when i disable all the code below it will work fine Here is code[CODE]private …

Member Avatar for enterpise
0
197
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
369
Member Avatar for jkembo

Good morning everyone, I have a small problem here. I tried to code a piece of program which allows users to construct logic formula. (E.g A V NOT(B)) When the button NOT (unary connective) is pressed 2 times then this happens: [COLOR="Green"]NOT(NOT())[/COLOR], using a static recursive method called Rec returning …

0
146
Member Avatar for Newjavauser1

Hi I'm new to java and I have written a simple Program and everything and set up a Path variable And then I tried to compile it by changing the cd and using javac Then it asks whether javac.exe can make changes to the computer. I tapped yes and then …

Member Avatar for DavidKroukamp
0
202
Member Avatar for igotaquestion

I am working on this for hours..Your help is highly appreciated. The client will send 32 integers to the server. These 32 integers will be read from a file called DataInput.txt that is the same directory as the source of the client. I am trying to implement this delivery using …

Member Avatar for DavidKroukamp
0
1K
Member Avatar for RofaelEmil

Hi, I'm trying to make an online compiler for java using ASP.NET C# Process p=new Process(); p.StartInfo.FileName = "C:\\Program files\\Java\\bin\\javac.exe"; p.StartInfo.UseShellExecute = false; p.StartInfo.Arguments = "C:\\Hello.java"; p.StartInfo.RedirectStandardInput = true; p.StartInfo.CreateNoWindow = true; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.CreateNoWindow = true; p.Start(); p.StandardOutput.ReadToEnd(); p.WaitForExit(); I run javac.exe to compile Hello.java, but the process …

0
42
Member Avatar for bleedi

Hiya, I wasn't really sure if this goes under Java or Game Development forums, so I decided to post it here. I'm making a simple "Scrabble" game, which checks letters placed on the table and tries to find if they form proper nouns. I have a list of words, and …

Member Avatar for bleedi
0
202
Member Avatar for krejar

This is a mess. What I want to do is make 1 program with the 3 loops in it do something different and produce an output of what each loop does. Do loop: print out every other character For loop: print out the string reversed While loop: print out in …

Member Avatar for krejar
0
183
Member Avatar for jasonrefan

Hello, I am creating a basic Java program that will store music. musicID Track Name Track Artist I have chosen to do this through a text file, to store and view my data. My text file output currently looks like this: [CODE] 1 TrackName1 Artist1 2 TrackName2 Artist2 3 TrackName3 …

Member Avatar for DavidKroukamp
0
126
Member Avatar for jhamill

Hey so I dont want someone to just show me the code, but I've been struggling to get this to work for hours. I need to write a program that finds all the words with consecutive vowels in them... this is what I have so far... -we are given a …

Member Avatar for DavidKroukamp
0
448
Member Avatar for Litcandle

Does anyone have an example or a starting point for this? I have written a program that checks for palindromes but I am lost with this. Any help would be great, thank you! [COLOR=#000000][/COLOR] [COLOR=#000000]Create a class that models a palindrome. The program should have getter and setter methods for …

Member Avatar for stultuske
0
400
Member Avatar for vijay496

Plz help me in writing a prog that coverts a integer values to respective hexa value and store it to a file eg: in file i need like this 15 0xf(0x mandatory), 255 0xff 254 0xfe

Member Avatar for hiddepolen
0
120
Member Avatar for nlyn

So I have an assignment due tomorrow and I've been trying to get this program to work, but it's quite difficult for me to do. I need help in taking the user's input and placing it on the grid and checking for all the matches to see if one of …

Member Avatar for nlyn
0
1K
Member Avatar for themmings

Hello, I have a project to complete where I need to create a system that stores Clients, Stock and Invoice data through a GUI. I need to be able to store multiple unique records of 'Client' in an array that allows me to edit, delete & navigate through them one …

Member Avatar for JamesCherrill
0
3K
Member Avatar for mihirpatel12

I Want to develop an application from which user can login into the particular website which sends SMSs, so ultimately we can send SMSs using application without opening website.. i dont know how do i code for that, can anybode help me ?? thanks in advance

Member Avatar for mihirpatel12
-1
130
Member Avatar for behemothdave

Here is my assignment: In Chapter 5, you created a lottery game application. Create a similar game using check boxes. For this game, generate six random numbers, each between 0 and 30 inclusive. Allow the user to choose six check boxes to play the game. [B][U](Do not allow the user …

Member Avatar for stultuske
0
1K
Member Avatar for Twistar

I have a class called "Vindu" and a class called "Innlegg". I am adding a object from "Innlegg" into an ArrayList called al. But when i try to get the text out from al i only get text like this: "Innlegg@5de9ac4" Is this the memory address or something? How can …

Member Avatar for JamesCherrill
0
773
Member Avatar for scheppy

Im making a program that has to call on a method when space is pressed,note it is the first time I'm doing a keylistener To do this i did [CODE]public void keyPressed (KeyEvent e) { int key =e.getKeyCode (); int space = 32; if (key==space) { } } [/CODE] and …

Member Avatar for scheppy
0
297
Member Avatar for SasseMan

Hi! I'm having some problems with my build files while running junit tests via ant. The build worked fine until a couple of days ago when I got a "process fork failed" error message. Further down in the stack trace i got: Caused by: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.6.0_25\jre\bin\java.exe" …

Member Avatar for DavidKroukamp
0
377
Member Avatar for shade399

I am making an app similar to the CMD in windows, or Terminal in Linux. My problem is, after calling the method the user has selected, I want them to be able to select another. Instead, it closes. Main class (jDOS.class) [CODE]package jdos; /** *jDOS Cross-Platform Java Console *Luke Pattinson …

Member Avatar for DavidKroukamp
0
141
Member Avatar for 47pirates

HOw can i read from a socket and display message from socket in Textarea of Chatpanel even if there is no any focus in Chatpanel.I mean when i create two chatpanel instance then after clicking the send button in 1st chatpanel the message from socket should be displayed in Textarea …

Member Avatar for JamesCherrill
0
189
Member Avatar for nickliutw

I'm writing a program that compare two objects'distance. I already implements the comparable class to my distance. I also override the compareTo() method. So far it does not give me a compiler error, but I have a logic error. I have been try to search where my error occur, but …

Member Avatar for nickliutw
0
5K
Member Avatar for ttback

I spent about 4 hours trying to make PMD being able to validate my Java code but XPath proved to be very painful to work with when developing fairly original custom rules. My rule requires me to apply them only to methods without 'get' as part of their name. In …

0
290
Member Avatar for Kaderith

I hope someone can help me.. I'm taking a course in programming with java and I have an assignment which is just killing me. I've been visiting the Blackboard page for the class and looking at other questions asked for help from other students in the class having similar issues, …

Member Avatar for sreearun
0
3K
Member Avatar for s.w.a

hello, can any one answer me is java the router's programming language, or at least the mostly used in it? thank you in advance for any kind of help best regards

Member Avatar for L7Sqr
0
2K
Member Avatar for rizzi143

HI ALL, well i am writing a program for quick sort but with some changes. The following code sorts the integers but i need it to show the sorting process in each steps.i.e. for example: Initial List: 5 -> 9 -> 2 -> 9 -> 7 -> null Level 0: …

Member Avatar for hfx642
0
233
Member Avatar for Vampiricx3

Hey guys, I'm here to ask you a question. I have a constructor to get the highest ID (first int) from my Employee data file (int string string string int double), but I have no idea on how to actually display it within my JTextField, with a +1, so I …

Member Avatar for NormR1
0
125
Member Avatar for suraj_p

I have to find out how many times the [CODE]createPerson()[/CODE] function is called This is my Main.java file [CODE]import java.io.IOException; public class Main { public static void main(String[] args) throws IOException{ int i; Student[] totalStudents = new Student[10]; Student.create3Persons(); Student.create2Persons(); } } [/CODE] this is my student.java file [CODE]import java.io.*; …

Member Avatar for Philippe.Lahaie
0
521
Member Avatar for ravibadboy77

Hi people, well i am a computer science student and my dissertation title is "An Agent Based Tutoring System" and i am using JADE to do it and MySQL for the database. Can any one help me in doing it?? I want you people propose me some ideas so as …

0
46

The End.