Questions tagged [java]

Java (not to be confused with JavaScript or JScript or JS) is a general-purpose object-oriented programming language designed to be used in conjunction with the Java Virtual Machine (JVM). "Java platform" is the name for a computing system that has installed tools for developing and running Java ...

0
votes
0answers
4 views

Deep comparing each element in an array

I have the following 3 files,A.java:class A {private float b; public A(float b) {this.b=b;}public float getB() {return b;}public String ...
0
votes
0answers
5 views

Scene is off-centered on stage after switching from a different scene

I've tried numerous things to make this scene fit the stage (as other scenes in my application do) but I can't figure it out. I'm currently using buttons and controllers to switch scenes, with the aim ...
-1
votes
0answers
5 views

set textview from antoher activity in android

I'm having a problem with my app.So, I'm trying to save some data into another activity, from mainactivity inputs. And I think I found the error but can't fix it. I believe my app is searching for ...
0
votes
0answers
3 views

Using Jackson, how can I serialise the result of a parameterised method call to filter a list of child objects?

I'm using SpringBoot / Hibernate for my application framework.I have a class that holds a load of parameters for my application. It has some parameters that always apply, and some that differ ...
0
votes
1answer
10 views

Finding the average using java

Does anyone know how to do this problem? I'm a novice programmer just trying to pass my intro to java class!"Write a method called average that takes two doubles and returns a double that’s the ...
0
votes
0answers
5 views

SSLServerSocket and SSLSocket handhsake excepption in Java

I have a client/server architecture using SSLSockets in Java. I am getting handshake Exceptions. I executed the client application and server application from the terminal with the debug option to ...
0
votes
0answers
5 views

The array runs, but does not give the correct values when compiled?

I know I have to add some sort of code to count the last value at the end of the loop [outside of it I believe], and then my percentages and everything will be right, but I just don't know where I'm ...
0
votes
0answers
3 views

Mocking default SharedPreferences

So I have a class that takes in a Context through the constructor, and grabs the default SharedPreferences from it using:PreferenceManager.getDefaultSharedPreferences(context)I'm testing this ...
0
votes
0answers
3 views

Facebook Bot (Heroku)

When, I add a heroku link to FB - I have result error: The URL couldn't be validated. Callback verification failed with the following errors: curl_errno=28; curl_error=Operation timed out after ...
0
votes
0answers
7 views

java program can't find symbol class Node but I imported it

My program keeps stating that it cannot find the symbol Node but I have imported the package.import java.util.*;import java.io.*;import java.util.LinkedList;public class Client{public static ...
0
votes
0answers
8 views

Not Getting response from Angular Controller

i am new to angular js . I am trying to introduce Angular Js into one of my existing application . Below is the HTML and JS<!doctype html><html ng-app="ldlApp"><head><script ...
0
votes
0answers
11 views

Opening .jar file on mac using JDK 11 fails with RuntimeException

I am trying to open a .jar file (https://github.com/ptrckbnck/SQLChecker/releases) on my MAC Mojave 10.14 , I need it for my university course. What I did:installed java OpenJDK 11 as suggested ...
-5
votes
0answers
15 views

Create a web page with a form and 3 drop-down boxes

Create a web page with a form and 3 drop-down boxes for the following CSS properties: color, font size, and background color. You may choose what values to have in the drop-downs. When a user ...
0
votes
0answers
5 views

FilterList / Search from List in Android Studio not working. I need help, because I haven't IDEA.

I must do small project - Notepad in Android Studio on my college.I have problem, because I must do the Activity which search and read file by it's name.This is my code:NotesActivity - Here I ...
0
votes
0answers
10 views

how to change fragment layout after it is created

i'm working on a game. game has a point table. and each game has seven level. i want to move point table present level to next level. because of that point table has a default layout, every creation ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,