35,618 Topics

Member Avatar for
Member Avatar for Pras008

Please wrap code related toantivirus. Any information related to Antivirus. Code related to scanning etc.

Member Avatar for shrex
0
92
Member Avatar for robben

Hi, I'm currently using Synth and I'm having some problems with sliders. The sliders appear and work fine, although I can't seem to change the color of the ticks and text. I would like the ticks and text to be orange, but it seems to default to black. I tried …

0
58
Member Avatar for bufospro

Hi all, I would like to make a method that replace from a string the character k with x if the number of characters k is bigger than the x number, and the opposite replace. My code is : [CODE] class Replacing_class { public static String changeString(String str) { char …

Member Avatar for bufospro
0
102
Member Avatar for Usura

hey, i need both the import.sql.date; and import.util.date, at the moment im importing them like import.sql.*; import.util.*; How do i specify which library i want for any particular Date object?

Member Avatar for ~s.o.s~
0
121
Member Avatar for bettybarnes

im having a problem with making stack with array converted to linked list so far this is my code ... [CODE]import java.util.*; public class Nkakainis { public static void main(String[] args){ Stack <String> istak = new Stack<String>(); String[] names = {"john", "mark", "peter"}; List<String> list1 = Arrays.asList(names); System.out.println("pushed " + …

Member Avatar for bettybarnes
0
78
Member Avatar for Superstar288

Hi all ive been thinking of a writing a compiler in java for my final year project. I have started to browse the net for help but to be honest its confused rather than helping me to get a clear image of what I would like to do. E.g. I …

Member Avatar for quuba
0
225
Member Avatar for Stefano Mtangoo

Hi buddies, I need to pass data among servlets and I find it very hard. What I have so far is passing it via session variable but that crashes my app now and then and seem to be bad approach. How do you transfer data among servlets without crashing the …

Member Avatar for Stefano Mtangoo
0
79
Member Avatar for ceyesuma

Hello I am learning how to use setString() for "?" and using passwords in resultsets. my password ends up with the error [icode]java.sql.SQLException: Invalid cursor state - no current row.[/icode] Can this error be corrected? thanks. [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in StudentDAO.JAVA and in connect of the …

Member Avatar for ceyesuma
1
1K
Member Avatar for fabunmi adeniyi

this code was suppose to prevent any single line from appearing twice for each display, i thought it was ok but later found that it wasnt, i was directed to use the hashset method in combination with my code to prevent that from happening, but it is not consistent, i …

Member Avatar for jwenting
0
101
Member Avatar for P0lT10n

Hello, my name is Matias (Mathew for english people) and I am 16 years old. And I am from Argentina !!! I joined this Community because I know a lot of things that I can share here of simply respond... I am a student from an idustrial school call Huergo …

Member Avatar for MikeVera
0
204
Member Avatar for ManojRay

I am trying to write one generic class for the purpose of any types of method logging. I am able to track the parameter name and their data types in my class but unable to track the parameter value which is passed at the time of function call. I need …

Member Avatar for stultuske
0
253
Member Avatar for ceyesuma

Hello if I create newUser which is new StudentBean() why is StudentBean studentBean not equal newUser? [b] output [/b] [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable created table: createStudentTable created table: createInstructorTable created table: createBookingTable created table: createInstrAvailableTable created table: createInstrumentTable created …

Member Avatar for stultuske
0
183
Member Avatar for JMChurch25

Hello, This is my first post on DaniWeb and will probably not be the last so I hope I'm doing this right: I'm currently working on a Sudoku Solver that allows the user to type in the name of a Sudoku text file that looks like this: 6 8 . …

Member Avatar for vanessa1106
0
973
Member Avatar for cwpent

I'm writing Conway's game of life for a school assignment. I have a text file with coordinates of the initial locations with bacterium. All I need to know is how to tell java to compare a coordinate in the matrix to a coordinate from the file. The pairs are listed …

Member Avatar for cwpent
0
158
Member Avatar for aneeqahmed

I am doing my home work in which i have to pass values from java text field to text text file. My code of program is given below. The problem is that the program is not passing values from text field to text file. Please help me. /** * @(#)GUITest.java …

0
43
Member Avatar for regg

Hello everybody, I have a trouble with my assignment . In my assignment, the application have to read the lists of text file before performing the another taks. I want my application run independently on any computer with JVM, so it must be read the text file in the jar …

Member Avatar for regg
0
1K
Member Avatar for GuruJin

Hello, some of my Friends, and I decided to make a Media player using Java just for the fun of it. here are my Questions, #1: is it possible using Java ? or should I use a different language? #2: the process of Reading||Displaying||Viewing Video files is called ? #3: …

Member Avatar for moutanna
0
340
Member Avatar for cnuchavez

Hello folks, I recently started learning Java and bought a book to look at some examples. When I copied this example program out of the book I get a null pointer exception. Most of the other programs worked perfectly this is the only one iv had a problem with so …

Member Avatar for cnuchavez
0
166
Member Avatar for ceyesuma

Hello I am recieving error [icode]java.sql.SQLException: At least one parameter to the current statement is uninitialized.[/icode] at ConnectStudentDAO.java at [icode]ResultSet rs=ps.executeQuery();[/icode] Not sure if the xml statment or the bean variables or if ps.close() is needed [b] output [/b] [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: …

Member Avatar for ceyesuma
0
666
Member Avatar for Lordson60

i need help, for some reason i cannot remove items that i have added to my JPanels the welcome.remove will is causing a problem [CODE]// The "RunescapeCalc" class. import java.awt.*; import hsa.Console; import javax.swing.*; import java.awt.event.*; import sun.audio.*; import java.io.FileInputStream; import java.math.*; public class Game1 extends JFrame implements ActionListener { …

Member Avatar for Lordson60
0
264
Member Avatar for evak77

I cannot seem to get the array to work and display the second and third loans, only the first one displays. Here is what I need to clarify the situation. I added the array to the program and it only works for the first loan. Can someone point me in …

Member Avatar for Agni
0
91
Member Avatar for liran

* At other projects it's working. I try to do in eclipse: export -> java -> Runnable Jar... but it tells me: could not find main method... [IMG]http://i43.tinypic.com/nbapux.jpg[/IMG] but in my main class I defined it it has: public static void main(String[] args) (the file is created, but when i …

Member Avatar for liran
0
162
Member Avatar for kakashi_sensi

hi all; i always find answers for my problems here at daniweb, but this is my first time i post a question, so have mercy on me :) i have a jsp page and a huge scriptlet inside of it, the page adds new users to the application, so i …

Member Avatar for kakashi_sensi
0
226
Member Avatar for kesh1000

hi everyone. im currently working on a project where my scenario is that a company hired me to make programe for their company. what i need in my programe is [ICODE]I. Add/Update customers II. Add/Update products III. Add/Update salesman IV. Make transactions: Many products are sold to customers by salesman …

Member Avatar for javaAddict
0
132
Member Avatar for Hari4

Hi, I want to take a character using the scanner class and then i want to find and count it in certain file i did like this char countingChar ; countingChar= scan.nextChar(); but my compiler show error at this line scan.nextChar() then i find this blog on the sun [url]http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5066699[/url] …

Member Avatar for masijade
0
104
Member Avatar for anuplike
0
46
Member Avatar for sivaprakashm

I need to display a message like "Data has been already inserted " in a jsp If inserting data has already exits in a database table

Member Avatar for kakashi_sensi
0
57
Member Avatar for bmbvm5

A small ferry company has just purchased a computer for its new automated ticketing system. The company director has asked you to design the new system to assign seats for each trip of the 50-seater ferry, which covers the route from Penang to Langkawi and back daily. The upper deck …

Member Avatar for bitthu
0
194
Member Avatar for BeginJava

Hello Daniweb. I'm new to Java, and I love learning it and want to continue learning it. I was curious about how a Java chat server could be made so I found an open source very basic one online. But the problem is when I run the server it gives …

Member Avatar for moutanna
0
110
Member Avatar for brianmack

I am working on a project where I am building a student object from student java class. The student.java class specifies a method of: [code=java] public void setCourses(ArrayList<Course> courses) { this.courses = courses; } [/code] So I have built the following two methods in my main.java class file: [code=java] public …

Member Avatar for Tecko
0
468

The End.