Questions tagged as 'java'

0
answers

How to implement an N-ary or K-ary tree to make the game 8-Puzzle with A *

How can I implement a tree that saves the father and the list of children in java I have done the following class to store the states. Is there a simple way to fill in the nodes with the possible states of the game 8-Puzzle? public class Nodo...
asked by 13.09.2018 / 05:14
2
answers

Matrix 10 * 10 print cross-stitch and print which is the smallest

How do I make the route to print the smaller number of the crusade print? package mp4; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Mp4 { public static void main(String[] args)...
asked by 25.09.2018 / 07:28
0
answers

Create tables in XML to pass them to PDF

I have this XML, in which I use Aspose.pdf in JAVA so that, through this XML, I can create a PDF with the data I want to put in it. The problem is that I want to make a table and it does not work for me. I've tried it this way: <?xml ve...
asked by 13.09.2018 / 11:33
0
answers

JFreechart library use

I am working on a software for the location of electrical structures and I want to make a graph similar to the following one. I have been reviewing the JFreechart library but I can not find a way to reach something similar. I am also op...
asked by 13.09.2018 / 17:36
0
answers

Error running javascript without iframe

I have a problem running the same script on 2 different pages, what happens is that on a page with iframe this runs normally, I skip all the alerts that I put (the alerts I put them to see until part of the script is runningbat.) Now when I u...
asked by 13.09.2018 / 19:14
0
answers

Configure java EE project on glassfish server

I have a Java EE Webapp project, I am in the process of configuring it on a server with glassfish 5, JDK8.0_172 and plesk as the control panel. The project is divided into 3, EAR EJB and web. After executing them in Netbeans 8.2 IDE, I genera...
asked by 11.09.2018 / 14:42
0
answers

Problem when running JDeveloper JAR with External Libraries

Good afternoon I'm using the JCalendar Library 1.4 of toedter in an application and when I run it in the IDE JDeveloper it works correctly, but when I generate the .Jar it does not run when the program uses those libraries, this check since you...
asked by 19.09.2018 / 21:26
0
answers

Why is the android sdk not installed when android studio is installed?

I had my android studio working perfectly, I finish working and turn off my pc, the next day when I turn it on the sdk does not appear, I try to install it by downloading it separately and nothing, download the android studio again and still not...
asked by 19.09.2018 / 18:17
0
answers

ERROR Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

I try to create PDF using a comma delimited txt file, but when I create the PDF it sends an error:    JRCsvDataSource ds = new   JRCsvDataSource (JRLoader.getLocationInputStream (RutaTXT)) This is the class to create PDF using JASPER to c...
asked by 11.09.2018 / 17:39
1
answer

Deactivate keyboard numbers in android studio so that only allows entering 0 and 1

This time I am in a dilemma, I am creating an application that transforms a sentence or word given to its equivalent in exadecimal, this with the purpose of generating a bsc frame and printing it so that the user can visualize it, but when movin...
asked by 15.09.2018 / 04:04