31,001 Topics

Member Avatar for
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
257
Member Avatar for Phil_7

I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, kindex and sunspots, but I have no idea how to determine how to extract the 4 data fields I want, …

Member Avatar for Traevel
0
1K
Member Avatar for PulsarScript

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

Member Avatar for JamesCherrill
0
303
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
574
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
310
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
595
Member Avatar for ADENIJI_1
Member Avatar for JamesCherrill
0
79
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
654
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
464
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
88
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
86
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
262
Member Avatar for Carsten_1

I've been trying to have a button (Arduino) change the fill color of an ellipse in Processing 3. I thought an if statement like `if(button == 0){ if(fillValue == rgb){ fill(0,0,0);}`or something more or less. So if some one has the awnser please help.

Member Avatar for diafol
0
254
Member Avatar for Saboor_1

Hello to all! I have an order of a simple desktop pos which i will develop in java. Actually i have to develop this pos for a person who is owner of a hardware shop(nuts,bolts,nails, hammers and screw drivers etc.). He needs features as follows: 1-Automate his sales transaction i-e …

Member Avatar for rproffitt
0
254
Member Avatar for Adm666

So i've made a Node class : public class IntNode { private int _value; private IntNode _next; public IntNode(int v, IntNode n) { _value = v; _next = n; } public int getValue() { return _value; } public IntNode getNext() { return _next; } public void setValue(int v) { _value …

Member Avatar for JamesCherrill
0
911
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
560
Member Avatar for akrati

please , tell me how i should start making a simple search engine.......what are the things i will need to learn.And how should i proceed?

Member Avatar for Dani
0
305
Member Avatar for shivali_1

Hi , I want to display a calendar in frontend and then I want to retreive the date selected by user in another java file within same project. Please help how can i acheive this Regards, Shivali

Member Avatar for JamesCherrill
0
105
Member Avatar for Adm666

is there anyway to improve my code's time complexity or memory's complexity ? (without using advanced methods - im a beginner) its a method that gets an array filled with zeroes and other numbers, and it changes each number(which is not a zero) to the distance of the closest zero …

Member Avatar for JamesCherrill
0
316
Member Avatar for Adm666

i tend to make a method which compares between 2 strings, str1 and str2 and should return true in the terms: -every character in str1 must show up in str 2 at least once or more and in the same order -str2 must be the same length or longer than …

Member Avatar for Adm666
0
4K
Member Avatar for Monique_2

I wrote the program up, but I'm getting all types of errors. Which I'm new to this whole Java Application class. I keep getting errors : Please help. 1. employee is not defined. 2. NewSalesPerson is not defined. 3. UtilnumFormat is not defined. 4. Variable declaration not allowed here. 5. …

Member Avatar for JamesCherrill
0
653
Member Avatar for Monique_2

Part 2 to Salesperson Java Application, still new to this. class SalesPerson { /** * Fixed Salary */ final double fixedSalary = 35000; /** * Current Commission Rate */ public double curCommissionRate = 0.15; /** * Accrued Commission */ public double curCommission = 0; /** * Total Compensation */ public …

0
211
Member Avatar for Adm666

Just as the title says im trying to get the sum of a string's characters values, but in a recursive way and without for loops i tried to do this, but it says that a return type required? private stringSum(String s, int i) { if (i==a.length) return 0; return ((int)s.charAt(i)+ …

Member Avatar for Dani
1
161
Member Avatar for NhejdLoise

Moderator edit> Original text deleted Original post was just a copy of a homework brief. No effort shown, not even a question. Will everybody PLEASE read this advice before posting https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

Member Avatar for JamesCherrill
0
307
Member Avatar for Belén_2

Hi, I am creating a program that when you print an author, you must show all the information of all the books that the author has written. Add a new attribute in the Author class that will be "BooksWriting: List (Book)". I have expanded the program so that it also …

Member Avatar for JamesCherrill
0
288

The End.