32,204 Topics

Member Avatar for
Member Avatar for zelrick

Hello DaniWeb Community, I have a question about changing the symbol of my tracker. I am using google.maps.SymbolPath.CIRCLE Can I change this to a image of mine? jpeg / png file If yes, How I can do it? Thank you and God Bless -Tap

Member Avatar for JamesCherrill
0
571
Member Avatar for coder91

Hi just wanting to see how you can iterate over a hashmaps entry set checking both the key and values, if either matches the string passed it will return the other (if it matches the key it will return the value, if it matches the value it will return the …

Member Avatar for JamesCherrill
0
130
Member Avatar for rpv_sen
Member Avatar for JamesCherrill
0
246
Member Avatar for mohan@nano

Hi All I have some doubts while coding in java for the xml reading below is my xml format : <?xml version="1.0" encoding="UTF-8"?> -<ab_rsp status="ok"> -<itm title="United States" guid="04570A9A-6066-11E2-BB55-FF519035903F" type="country"> -<itm title="Arizona" guid="A83274AC-901A-11DF-A622-0C319DFF4B22" type="authority"> -<itm title="Academic Standards" guid="9935C580-C0DA-11DA-80AA-DCC515614119" type="document"> -<itm title="Technology" guid="E3E0AD06-FC32-11D9-8407-9AE6FB2C8371" type="subject"> <meta name="year">2000</meta> -<itm title="Readiness (Kindergarten)" guid="001DCFCC-2A74-11D8-A1A9-EB97E8AED672" type="grade"> …

Member Avatar for JamesCherrill
0
188
Member Avatar for coder91

Hi, I wrote a method that accepted a parameter and used a hashmap to return the value for that key. However I have been asked to change the way it is written so that code isn't duplicated. The hashmap used has key value pairs such as 'X', 'Y' in one …

Member Avatar for JamesCherrill
0
320
Member Avatar for Saboor880

Hello! There is another problem which I am facing in JDBC, is Insert statement. I am giving code of my program and explaining my problem . I am using ms access and netbeans 8.1 package database2; import java.sql.*; public class Database2 { public static void main(String[] args) { try { …

Member Avatar for JamesCherrill
0
257
Member Avatar for geysa

Warning: mysqli_query() expects parameter 2 to be string, object given in E:\xampp\htdocs\cadastro\cadastrar.php on line 46 Alguem pode me ajudar? <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>Cadastrar</title> </head> <body> <?php include "config.php"; $nome = isset( $_POST['nome'] ) ? $_POST['nome'] : 'valor_padrao'; $sobrenome = isset( $_POST['sobrenome'] ) ? $_POST['sobrenome'] : 'valor_padrao'; …

Member Avatar for stultuske
0
369
Member Avatar for noobjavacoder

Binary search tree not working, when it should. Any idea what am i doing wrong. any help would be much appreciated. this is the error: Exception in thread "main" java.lang.Error: Unresolved compilation problems: The method iprint(Node1) in the type BST is not applicable for the arguments () The method preprint(Node1) …

Member Avatar for Oxiegen
0
418
Member Avatar for AbiSharma
Member Avatar for Farhan_8

Hi, i am working on a database application in java and converting it from console to GUI, to do so i am using ucanacces driver and connecting it to my access database and creating queries using sql(NOT ALLOWED TO USE ANY OTHER METHOD) and want to perform the basic database …

Member Avatar for rproffitt
0
344
Member Avatar for sireiz

I am trying to iterate through a string and save the characters in a character array. It iterates perfectly and prints the characters but when I try to save the characters in the Array or in a List, it gives me NullPointerException. Can anyone point out the mistake I am …

Member Avatar for JamesCherrill
0
211
Member Avatar for Ayoub_1

so i am working on this table that have buttons combobox and checkbox... i did all of that and i am left whit one this i button that can add a icon in IMAGE column in the same row her is my main private JTable tb; private String[] comboData = …

Member Avatar for JamesCherrill
0
303
Member Avatar for mikey3891

ok guys.... i have a multiple choice scenario to deal with.... my problem is in the division....both my random numbers have been declared as integers.. this caused the problem of the answer being truncated and only the whole number portion being displayed... i tried to cast one as a double …

Member Avatar for mikey3891
0
252
Member Avatar for Misar

hello guys, i'm a noob in programming and i just want to understand this two question below: //does anyone know how is the question end, i head it in exam and i didnt know what to do with it: boolean b =false; int i=90; //also i head this question was …

Member Avatar for rubberman
0
161
Member Avatar for ravi raghav

i am trying to calculate the minimum difference between the sum of elements of two splits formed from a list. this is how the function should work. the function has to take a list of possitive integers(duplicates are possible) and split it into two sub lists. now it has to …

Member Avatar for JamesCherrill
0
214
Member Avatar for Saboor880

Hello to all! I am doing practice for JDBC and using netbeans 8.1. I created a table in mc access and wrote a program. But the problem is that when i pass column index then my program runs successfully. But I pass column name as in my table in mc …

Member Avatar for stultuske
0
243
Member Avatar for laguardian

Hello guys! I'm currently working on a matching app. In the app, the user can select what mode of difficulty they want(easy, medium, hard and suvival) as well as select one of the sets of images for the GridView(nba logos or world flags). My problem is that when the user …

Member Avatar for stultuske
0
336
Member Avatar for Saboor880

Hello guys! I am using netbeans8.1 and apache Tomcat8.0.27.0 I am making a simple web application for practice. I have made two html pages "index.html" and "welcome.html". On page index.html I am taking two parameters from user 'name' and 'sirName'. If user enters Saboor and Siddique in 'name' and 'sirName' …

Member Avatar for peter_budo
0
182
Member Avatar for ThisIsMeOrIsIt

public class MazeArray { public static void main(String[] args) throws FileNotFoundException{ File inputFile = new File("maze1.txt"); Scanner sc = new Scanner(inputFile); int maze[][] = null; maze = createMaze(sc, maze); mazePathFinder(sc, maze); printMaze(maze); } public static int[][] createMaze(Scanner sc, int[][] maze){ int arrayRowSize = sc.nextInt(); int arrayColumnSize = sc.nextInt(); maze = …

Member Avatar for stultuske
1
318
Member Avatar for kayleigh0411

I am trying to make a calculator, but I can not seem to figure out how to get the = operation to work. Everything else seems to be working fine, but I am just really struggling with the =. Any guidance in the right direction would be super helpful! import …

Member Avatar for JamesCherrill
0
1K
Member Avatar for queenofdrama365

JAVA How to read in strings from a file convert to byte code (unicode) and save in array for hashing? how to use hashing (using list of strings) to find longest chain? (from text file dont print the output in a file just dislplay.)

Member Avatar for JamesCherrill
-1
180
Member Avatar for trishtren

Hello, Iv been working on a project for a while now in java and i read somewhere that the GCJ can compile java classes into native binaries, after a quick google search it was revealed that this was true. However after reading a number of posts across the web and …

Member Avatar for jwenting
0
218
Member Avatar for queenofdrama365

list of 28,500 words (read in from text file), one word per line Do not actually store the words in the hash tables; rather use integer arrays initialized to all zeros. If a word hashes to position i, simply increment the value in position i. In running your trials, use …

Member Avatar for JamesCherrill
0
211
Member Avatar for Farhan_8

Is there any easy way to create constructors from private variables from public class Vehicle { public String VehicleNo;// AQP 4300 public String Model; //Toyota Vitz public String ChassisNo;// AE-09-8E-104N public String EngineNo;// AE-0097-EW3 public String DateReg;// 24/04/2006 public String Mileage;// 80,345 } TO THIS PARAMETERIZED CONSTRUCTOR public class Vehicle …

Member Avatar for JamesCherrill
0
207
Member Avatar for Farhan_8

> Hi, i am working on a personal project in which i am creating a ms access database and then connecting it using java to a GUI via UCanaccess .But the problem is how to identify the OOP concepts which should be implemented in my program i need atleaset aggregation,association,inheritance …

Member Avatar for JamesCherrill
0
82
Member Avatar for catby

Hi, I was wondering if someone could help me please.... I am new to java and have been struggling with this for about 2 weeks now!! At the moment I am just trying to get the program to print out a 5x5 matrix with the alphabet in it, using a …

Member Avatar for catby
0
871
Member Avatar for Farhan_8

Hi, I have been assigned Blood Bank Management System as java oop project.So i was wondering i someone can give me a headstart on which classes and methods to implement first so i can modify them applying all the oop concepts first.This is what i have worked on so far. …

Member Avatar for JamesCherrill
0
304
Member Avatar for coder91

Hi I recently started a new job and i've just been giving my first proper coding task. It is to write a method that will take a value and convert it to something else. eg. If the method receives Payment it will return 'P'. I'm just looking for the best …

Member Avatar for JamesCherrill
0
219
Member Avatar for ahmed alnaseri

Hi guys, I am trying to add a new component to my window by clicking on a clickable jLabel. Better said, with mousevent. Unfortunately, it does not work, at least for what i tried with. Can you help me here? My code: package test_1; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Cursor; …

Member Avatar for JamesCherrill
0
213
Member Avatar for noobjavacoder

I have written a program in java using selection, bubble and merge sort and I have to print just the time it took to run the sort which works just fine, but how do I sort a sorted list? I want to see how much faster is it to sort …

Member Avatar for JamesCherrill
0
242

The End.