35,618 Topics

Member Avatar for
Member Avatar for davewylie

I have been alerted o the fact that there are "security issues" with Javascript, but have no idea what the issues are. I have written a webpage in HTML which incorporates a menu written in Javascript. A user alerted me to the fact that the menu does not appear with …

Member Avatar for rproffitt
0
217
Member Avatar for Sameer_8

Hello i have an other code that bother me because i am confused what i should do take a llok to the questions first: **Example 2: The GradeBook Class: Consider the attached GradeBook class. Complete the following tasks: 1-Modify the determineClassAverage method so it allows the user to enter the …

Member Avatar for JamesCherrill
0
269
Member Avatar for k2k

hi, does anyone know how to insert a background picture to a JPanel? I have googled around, found something seem more difficult than it should be, and a simple one as below but not showing the pic. [code] midBoard = new JPanel(); JLabel pic = new JLabel(new ImageIcon("Sunset.jpg")); //midBoard.setBackground(java.awt.Color.RED); midBoard.add(pic); …

Member Avatar for JamesCherrill
0
14K
Member Avatar for subhaac

I'm trying to implement Callable for Strassen's algorithm to multiply two matrices. I'm new to this, and i'm having a few issues and I can't figure it out for the life of me :( . The first problem is that the program prints out 0 for all the elements of …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Sameer_8

Hi i have other problems in other class the questions is ** The Person class Create a class called "Person" that includes three pieces of information as instance variables: a name, address, and age. Your class should have a constructor that initializes the three instance variables. Provide a set and …

Member Avatar for Sameer_8
0
199
Member Avatar for Sameer_8

Hello everyone, I have a reall small questions and i am stuck in the end of my code. I need just someone explane it to me please or maybe i am confused. Take a look... Questions: **Create a class called "Employee" that includes three pieces of information as instance variables: …

Member Avatar for Sameer_8
0
1K
Member Avatar for Violet_82

Hi guys, as I have never used any design pattern I thought I might try to learn something by developing a small application. What I'm thinking is something like a radio controlled car simulation - I mean a really really simplified version of it of course - something like creating …

Member Avatar for Violet_82
0
317
Member Avatar for newbee_jv

Hello everyone, I have a simple JSP, with a text input and a submit button, as follow: <form accept-charset="UTF-8" method="get" action="<%=request.getContextPath()%>/someAction"> Enter Search: <input type="text" name="keyword"/><input type="submit" /> </form> And in my Servlet, I am reading the input, as such: String word = request.getParameter("keyword").trim(); System.out.println("Keyword: " + word); The input …

Member Avatar for rproffitt
0
322
Member Avatar for hbk619

I've been googling and going round in circles, simply put: when the button is clicked i want an image of a card to appear. [CODE]class Actions extends JFrame implements ActionListener { JTextArea textarea = new JTextArea(2,25); JButton twist = new JButton("Twist"); JButton bust = new JButton("Bust"); public Actions() { super("Twist …

Member Avatar for Akshay_8
0
3K
Member Avatar for Jerome_5

Have an online app "keepCalling.com" that allows one to make calls to land lines over the internet. Has worked for years but now I find that new devices after java installation are not recognized by the online app. Looking for a way to generate reports for what might have failed. …

Member Avatar for Traevel
0
306
Member Avatar for Goldfinch

I have been comparing a Java GUI program's start time to both native apps and another Java based app, and I have concluded that my program is launching a little too slowly, or at least a little slower than I would like. I think it's taking too long to load …

Member Avatar for JamesCherrill
0
242
Member Avatar for sireiz

Hi, I have a view say a Button, i made a border for it in a paint application, now i wwant to use that border as the border for my button, how can i do that in such a way that it looks well on all screen sizes?

Member Avatar for shivya_1
0
258
Member Avatar for PulsarScript

What does mean by saying polymorphism allows programming in general rather then programming in specific?

Member Avatar for JamesCherrill
0
304
Member Avatar for Mark_65

The following code will allow me to add a table row line and I can add the starting amount with the first amount input into the first row, but if I add a row and enter in an amount I want it to add or subtract that as well. Thanks …

Member Avatar for broj1
0
2K
Member Avatar for insanely_sane

Hola people :D So now that my holidays have begun... I'm bored :P I have decided to make random stuff with Java. So till now I have upgraded my checkers game (added high scores, color 'themes' for the board, etc.), made a music player kind of thing (used JFileChooser and …

Member Avatar for David_97
0
2K
Member Avatar for ahmedrizwan1

public static void main(String[] args) { System.out.println(" Enter a terminating value "); double term = IO.readDouble(); System.out.println(" How many numbers will you enter "); double numbers = IO.readDouble(); //reading the value of how many numbers the user will enter System.out.println(" What is the largest number you will enter ?"); while(numbers<1){ …

Member Avatar for rproffitt
0
576
Member Avatar for macdonald12

Dear contributers of Daniweb, Currently I'm working on an Android/Java project, where I'm running into a problem with the following code. private List<Property> filteredList; private List<Property> propertyList; public List<Property> getPropertyList() { Boolean useFilter = false; if (!filter_town.trim().equals("")) useFilter = true; if (filter_bedrooms > 0) useFilter = true; if (useFilter) { …

Member Avatar for JamesCherrill
0
314
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
606
Member Avatar for ADENIJI_1
Member Avatar for JamesCherrill
0
81
Member Avatar for la_1
Member Avatar for trungdang

Hi Everybody ! I'm using Apache Axis to invoke web service from internet. I can access a web service wherein no input parameters are required , but whenever I have to pass input parameters, I can't invoke it. Can somebody help me to figure out the problem. Here is my …

Member Avatar for Traevel
0
655
Member Avatar for Traevel

#Tutorial - Content extraction using Apache Tika From the official website: > The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). All of these file types can be parsed through a single interface, making Tika useful …

0
506
Member Avatar for mkk10mkk

I am a beginner and want to develop a stock analysis software just like yahoo finance interactive charts. How and where to start. Is there any existing library I can use?

Member Avatar for Tatiana_2
0
90
Member Avatar for sankar_2

the text file has more than one word. the user to put the input from the jtextfield and get the input related word from text file, to display the jlist how

Member Avatar for JamesCherrill
0
131
Member Avatar for trono

package hw2; /** * This class encapsulates the logic and state for a simplified * game of American football. * * @author YOUR NAME HERE */ public class FootballGame { /** * Number of points awarded for a touchdown. */ public static final int TOUCHDOWN_POINTS = 6; /** * Number …

Member Avatar for JamesCherrill
0
87
Member Avatar for kasis
Member Avatar for vivekH

how to export my table data which is in mysql database to a csv file I am not getting any error or exception but my csv file is empty after successful running this code. code what i did: import java.io.FileWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.sql.ResultSet; import java.sql.SQLException; …

Member Avatar for aditya_20
0
12K
Member Avatar for Saif_7
Member Avatar for newbee_jv

Hello everyone, I am new to Regular expression, and would like some hints, please if someone can direct me to right place. I have a bunch of files in a directory, and i need to rename them based on certain pattern. I think I need to use regular expression to …

Member Avatar for newbee_jv
0
266
Member Avatar for aayush_2

Hello Sir, I am developing social networking website using jsp and servlet . I have created login page using mysql but now i am not able to make posting status and commenting system on that post.Please provide me solution. thankyou aayush

Member Avatar for rproffitt
0
1K

The End.