31,001 Topics
| |
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? | |
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, … | |
What does mean by saying polymorphism allows programming in general rather then programming in specific? | |
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 … | |
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){ … | |
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) { … | |
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 … | |
how do i implement multiprogramming using fixed partition? Thanks.. | |
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 … | |
#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 … | |
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? | |
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 … | |
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; … | |
I want to convert my python code in JAVA. Please help | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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? | |
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 | |
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 … | |
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 … | |
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. … | |
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 … | |
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)+ … | |
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 | |
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 … |
The End.