32,199 Topics

Member Avatar for
Member Avatar for Vin vin

So I am making a responsive audio waveform, if you don't know what that is, it is something like this: (btw this is my goal to make those audio waveforms). https://i.ytimg.com/vi/J7uN-SQtOYI/maxresdefault.jpg https://www.youtube.com/watch?v=OVMuwa-HRCQ https://www.youtube.com/watch?v=SCD2tB1qILc I don't know how to describe it, so just look at the videos and image. but my …

Member Avatar for JamesCherrill
0
3K
Member Avatar for Sourav_1

Hii Guys I am currently Devloping a Java Remote Desktop Software like teamviewer I would like know some guidelines about the tools I can use for client and server side I could create a GUI using Swing and add by using Robot class to imitate mouseactions and keyactions and by …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Saboor880

Hi developers! I have made a POS software. I have added the functionality of "priniting to Thermal printer" and "barcodes". Firstly I added the functionality of Reciept printing which worked perfectly. Then I added the functionality of barcode scanning. As you know barcode reader device automatically scans the barcode and …

0
478
Member Avatar for Saboor880

Hi developers! I have made a POS software. I have added the functionality of "priniting to Thermal printer" and "barcodes". Firstly I added the functionality of Reciept printing which worked perfectly. Then I added the functionality of barcode scanning. As you know barcode reader device automatically scans the barcode and …

0
239
Member Avatar for Vin vin

I am making a program, and I don't know why my program becomes unresponsive, when I click the button ): I have a feeling its because of this: "connection = server.accept();" I don't know how to fix it. I am trying to recreate this: https://stackoverflow.com/questions/18505123/how-to-use-client-chat-on-different-pc but in javafx. package yeetYeet; …

Member Avatar for JamesCherrill
0
8K
Member Avatar for John_165

When we build an application, which layer should we start with? From top (UI) to bottom(Data Layer) or bottom to top?

Member Avatar for Dani
1
1K
Member Avatar for Fasola

[B]I've highlighted the code in question in red. Can somebody tell me how the red code makes Pac man and the Ghosts move?[/B] [code]// // PacMan // Another 1 day game (created in 5 hours). // // (C)2000 // Brian Postma // [email]b.postma@hetnet.nl[/email] // [url]http://www.homepages.hetnet.nl/~brianpostma[/url] // import java.awt.*; import java.applet.Applet; …

Member Avatar for weiwei_1
0
8K
Member Avatar for Violet_82

Hi guys, as part of an exercise I was involved with, I had to use the factory pattern to create a series of different objects, however I'd like to keep a list or map for what it matters of these objects and I'm getting a bit into troubles here. So …

Member Avatar for JamesCherrill
0
1K
Member Avatar for hidash_in

the below code is to list the running exe files in the windows task manager. but i need only the running applications in windows task manager. if aybody knows pls help me by sending code for this. i am awaiting pls. import java.io.*; import java.util.*; public class GetProcess { public …

Member Avatar for Nirman_1
0
3K
Member Avatar for deepak_48

i have define code File selectedFile = new File(selectedFilePath); when run and test is it file or not if (!selectedFile.isFile()){ runOnUiThread(new Runnable() { @Override public void run() { tvFileName.setText("Source File Doesn't Exist: " + selectedFilePath); } }); return 0; it give message source file does't exist; why give this message, …

Member Avatar for JamesCherrill
0
414
Member Avatar for shraddha_patel
Member Avatar for abdallah mohamad

hello everybody who can help with this task Now I will talk little about monoalpahapit cipher This is cipher is based on substitution the characters with another characters So in the encrypt.java file it counts how many the characters appeared in the cipher text , so in the picture that …

1
469
Member Avatar for misstj555

Hello. As a personal project, I am trying to create a "Java Argot" translator. However I am having some issues. The purpose of the program is to translate a sentece into the following "Secret Languages": "Pig Latin", "Leet" and "Morse Code". I have only done the "Pig Latin" translator however, …

Member Avatar for misstj555
0
1K
Member Avatar for Violet_82

Hi guys, I was trying to sort an arrayList using a comparator but I didn't have much luck, or at least it seems like there is something slightly wrong with it. I have these objects in the arrayList employeeCollection.add(new Employee("Dan", 112)); employeeCollection.add(new Employee("Tim", 2)); employeeCollection.add(new Employee("Rick", 11)); employeeCollection.add(new Employee("Jack", 19)); …

Member Avatar for JamesCherrill
0
1K
Member Avatar for dwlamb

I am trying to establish a connection between LibreOffice (5.4.6.2) and Mariadb (10.1.29)/mysql. I have researched various resources on the web but am stuck not being able to establish a connection preliminary steps taken: * the file mariadb-java-client-2.4.0.jar is downloaded from [https://downloads.mariadb.com/Connectors/java/connector-java-2.3.0/](https://downloads.mariadb.com/Connectors/java/connector-java-2.3.0/) * JRE is installed and enabled under LibreOffice …

Member Avatar for tejal_1
0
5K
Member Avatar for ok

Halli Hallo i hope im at the right Place. I want to get started with API-Gateway(s). Currently im running 5 Microservices written in Java (Spring-Boot) deployed via Docker. Each Microservices is protected via Keycloak. I want to use a API-Gateway so that i can combine every MS into 1 Link: …

Member Avatar for Dhiraj_4
2
8K
Member Avatar for Georgia_1

currently working on a project for college. when searching coffee names from the array list , it will show the object but will also show "there is no coffee in the list" for every time the object doesn't match the search, how can I sort this out? public static void …

Member Avatar for JamesCherrill
0
491
Member Avatar for Georgia_1

hi! I'm currently studying and having difficulty being able to print the array list, im not sure where im going wrong. any help will be appreciated import java.util.*; public class practice { static Scanner sc = new Scanner (System.in); static int numberOfCoffees = 0; static String[][] coffee = new String …

Member Avatar for JamesCherrill
1
683
Member Avatar for Zerough7707

So im just starting learrning code, and I am also using code.org as a starter tool. I'm on a lesson where it says to; write a program that simulates the rolling of two dice. Keep rolling the dice UNTIL the sum of the dice is either a 7 OR an …

Member Avatar for JamesCherrill
0
284
Member Avatar for Geanna Afera

public class BusPayment extends JFrame{ private JButton paynow; private JButton cancel; private JComboBox<String> jComboBox1; private JFrame frame; private JLabel label1, label2, label3, label4; private JPanel panel1, panel2,panel3; private JRadioButton destination1; private JRadioButton destination2; private JRadioButton destination3; private JRadioButton destination4; private JRadioButton destination5; private JRadioButton destination6; private JComboBox company; private JTextField …

Member Avatar for John_165
0
351
Member Avatar for guffadi

First: Design a class named Employee with private fields for that person’s: (1) name, (2) ID number, and (3) hire date. The ID number should be in the format ###–C, where # is a digit, 0–9, and C is a character, an uppercase letter, A–M. Write no-arg, 1-arg (name), 2-arg …

Member Avatar for JamesCherrill
0
498
Member Avatar for Mitch_3

Getting errors and having a hard time seeing where. If I get it to build it is ignoring the inputmenu. package personalprogram; import java.util.Scanner; /** * * @author mitch */ public class PersonalProgram { /** */ public final class InputMenu { public void display_menu() { System.out.println("1) Calculate Cubic feet per …

Member Avatar for JamesCherrill
0
381
Member Avatar for shakssage

Hi. I'm trying to create a Traffic simulator and I'm stuck on how to get a Car object to turn into a road. I've managed to have a car go straight (which is really easy anyway lol) but I can't really find a way to get it to turn into …

Member Avatar for RuhiAngel
0
2K
Member Avatar for Deep_9

hi all i am making a weather data program and i having a problem for bringinng my text file to the table. here i am putting all my code . and i also have to import a second output window for my code. for example when ever i enter ome …

Member Avatar for JamesCherrill
0
351
Member Avatar for snowwizard

public int evaluate() { if (root == null) { return -100000; } return evaluateHelper(root); (error) } private int evaluateHelper(MyBinaryTreeNode rt) { if (rt.left == null) { return Integer.parseInt(rt.data.toString()); (error) } switch (rt.data.toString()) { case "+": return evaluateHelper(rt.left) + evaluateHelper(rt.right); case "-": return evaluateHelper(rt.left) - evaluateHelper(rt.right); case "/": return evaluateHelper(rt.left) / …

Member Avatar for JamesCherrill
0
880
Member Avatar for Saboor880

Hi to all! I have SQL Server Express, SQL Server Management Studio 2012. My PC Name is : "SaboorPC" and SQL Server instance name is also "SaboorPC". I am trying to connect my Netbeans to My SQL Server but it is not connecting and giving the following error: "com.microsoft.sqlserver.jdbc.SQLServerException: The …

Member Avatar for rproffitt
0
438
Member Avatar for shehzadkhan

***java*** i have a assignment of oop by using java can any body help me pz : Design and implement these four classes Employee, MonthlySalEmployee, HourlySalEmployee, Company and implement the following functions: ⦁ Create an application class with N HourlySalaryEmployee objects and N MonthlySalEmployee objects. ⦁ Create constructors, accessor and …

Member Avatar for JamesCherrill
0
327
Member Avatar for phpiscool

I am working on a reservation app in Java and it is almost complete but I keep getting this error when running my app: Exception in thread "main" java.util.NoSuchElementException: No line found at java.base/java.util.Scanner.nextLine(Scanner.java:1651) at ReservationCalculator.main(ReservationCalculator.java:34) Full Code import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.time.format.FormatStyle; import java.util.Scanner; public class ReservationCalculator { …

Member Avatar for JamesCherrill
0
422
Member Avatar for Andreas_5

While coding a random program about how Convenient the program was for the user , I use Scanner, and its .nextInt(); to ask the user to rate the program's Convenience: 275.Scanner scan = new Scanner(System.in); 276.System.out.println("Rate the convenience of this program by typing 1 to 5..."); 277.System.out.println("1. *"); 278.System.out.println("2. * …

Member Avatar for Reverend Jim
0
409
Member Avatar for zeyneb

hey, i'd like to know if there is a java program that transformate 2D dicom images to 3D dicom images?

Member Avatar for rproffitt
0
457

The End.