473,544 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
2
1,216
thread by: tecnetaz | last post Jun 26 '19 by: tecnetaz
I created class and define three kind of variables. What are the differences among them? Public Static String c1, Static String c2, String c3?
1
1,413
thread by: gosai jahnvi | last post Jun 27 '19 by: zmbd
how to generate extend report WebDriver driver; static ExtentTest test; static ExtentReports report; @BeforeClass public static void startTest()
0
1,195
thread by: zangkang770508 | last post Jul 3 '19 by: zangkang770508
0 I want to visualize the result of some calculations. Here is part of my code: fig = plt.figure(figsize=(10, 10)) ax = fig.add_subplot(111, projection='3d') Lx = np.linspace(0, h_x*(N/2-1)+x_size, int(1.5*N)) Ly = np.linspace(0, h_y*(N/2-1)+y_size, int(1.5*N)) X, Y = np.meshgrid(Lx, Ly)
2
10,201
thread by: chrimpylimes | last post Jul 8 '19 by: chrimpylimes
I get this error while trying to do "./gradlew runClient". log: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release : Extra: : Running with arguments: : Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker : Using primary tweak class...
4
1,903
thread by: gosai jahnvi | last post Jul 9 '19 by: jasicajames
What are the phases in Automation testing Life Cycle?
0
2,467
thread by: programmer3 | last post Jul 22 '19 by: programmer3
Hi everyone! I need help transferring an image via TCP from a python program on my raspberry pi to an android application. I have set up a client-server architecture such that my raspberry pi 3 records audio, performs some analysis on it, and then sends the data (via TCP) to the android app to display on the app screen. The recording and...
1
1,677
thread by: chrimpylimes | last post Jul 28 '19 by: chrimpylimes
Hythere! so far i've got another problem. the code does not have any compile errors, but i can't find the block in the game( ; _ ; )/~~~ Code: package xyz.zhc.elements; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import...
1
1,513
thread by: An123 | last post Aug 1 '19 by: dev7060
21.3 (Electoral map) Modify USMap.java to add the electoral counts at the bottom as shown in Figure 21.1. When setting a red/blue state, the count is updated interactively. The electoral votes for each state can be obtained from http://state.1keydata.com/state-electoral-votes.php. Hint: You may store the electoral count for each state using a Map...
1
1,819
thread by: Jude michael | last post Oct 12 '19 by: dev7060
Enter employee name: Jess Diaz Press F for Full Time or P for Part Time: P --- Part Time Employee --- Enter rate per hour : 82.10 Enter no. of hours worked : 128 Enter no .of overtime :6 Employee Name : Jess Diaz Basic Pay : 10508.8 Overtime Pay: 615.75
0
1,855
thread by: Aslancheg | last post Nov 9 '19 by: Aslancheg
Hello. I program on android studio. I do my messenger there and do not know how to add video calls and voice messages. Help please.
1
3,010
thread by: JShell | last post Nov 16 '19 by: dev7060
Hello community, I am trying to create an application that will allow me to type on a window that is behind a separate window. For explanations sake (because I am not always great in my descriptions) I will give one example of how one may use this: If I only had one monitor and say was using a laptop, and wished to view a lecture...
3
8,045
thread by: Charles Sherman | last post Nov 26 '19 by: creigelde
import java.util.Random; import TerminalIO.KeyboardReader; public class random { public static void main(String args) { int guess; int answer; Random generator = new Random(); KeyboardReader reader = new KeyboardReader();
2
1,962
thread by: AmbrusFernas | last post Nov 29 '19 by: gits
After attending several interviews a recurring question I've seen is "Why Java". It seems a fair question at first but if the interview is for a Java role why do you need to justify it's use? The Last interview said they use Java, Perl, JavaScript and soon to use Python. The asked why Java and seemed to imply i was inflexible as i prefer Java. Not...
1
1,580
thread by: Sophia195 | last post Dec 11 '19 by: dev7060
Hi guys I have been asked to program; Allow the user to enter a number of race results (A minimum of two participants can run in a race and a maximum of 7). Process the results by • Allowing a user to enter a race participants name • Allowing a user to enter a race participants completion time (a value between 0.00 & 10.00 mins.) Is the...
1
2,145
thread by: marou | last post Dec 11 '19 by: dev7060
i want to forward from my servlet to a jsp page , i created my jsp page (SaisieProduit.jsp) under the WebContent and surely i created my web.xml (it implements my servlet class correctly because i have another jsp page that works correctly by using the same servlet), in another jsp page (header.jsp) i created a link (Saisie.do).,,my question is...
1
2,012
thread by: paigemccand | last post Feb 7 '20 by: dev7060
Hello, my homework for computer class says "• In a biology experiment, Cory finds that a sample of microorganisms doubles in population every 12 hours. He wants to know how many hours it will take to reach a certain microorganism population level if he starts with 1000 organisms each time. • WAM (write a method) to receive an integer N...
1
2,107
thread by: Xillez | last post Feb 26 '20 by: dev7060
Hey again! I've made 2 separate systems, an ECS and a Collision detection system for a game. I want an event handling system for handling the communication between components and game management systems (collision detection, ECS and so on). After a bit of prototyping and thinking I've come to two separate ways I can handle this and I'm just...
1
1,907
thread by: brian emomugr | last post Feb 27 '20 by: dev7060
the program should result to either happy mood given by smile face or sad mood given by sad face
0
2,209
thread by: chenjiankun18 | last post Mar 27 '20 by: chenjiankun18
bet365 websocket uid change every time. I want to connect to bet365 websocket. How to do it? wss://pshudws.365pushodds.com/zap/?uid=40968239830588122
1
2,688
thread by: JluckyStrike | last post Apr 3 '20 by: Sherin
There is a network of tracks (list), tracks are of two types - standard (with one start and one end point) and with a fork ( one start and two end points). These points are called nodes. It is known that each track can only be connected to one other track. Thus, each node is connected to at least one other node, with a maximum of three nodes (if...
0
1,775
thread by: LeoDurf | last post May 1 '20 by: LeoDurf
package main; import java.awt.event.*; import javax.swing.*; import java.awt.*; /** * @author 16023 * */
1
1,932
thread by: LeoDurf | last post May 4 '20 by: dev7060
I have changed my code since the last question. I get a dialog box and ShowDialogMessage popups. I have a loop that runs to take user input and does a calculation. While running the loop, It di=oesn't detect the keypressed or keyReleased , however if I run the program without the loop, it detects the keypressed and keyReleased and ends the program...
4
10,857
thread by: rawash | last post May 14 '20 by: Sherin
I am able to fetch all the processes which are running in Windows task Manager. Now I want to end a particular process from those processes. Is it possible in Java, or do i need to write some native code??
2
3,072
thread by: himal | last post May 22 '20 by: Ishan Shah
please help me.... 1.Why doesn't this run? 2.When the user makes the first input and asks if the data needs to be inserted again, why doesn't it run again? 3.How to make array size dynamic data types?
2
3,084
thread by: aswal | last post May 29 '20 by: Sherin
Both of them provides abstraction and we have to give their implementation in their child classes so what's exactly is the difference between them and also please suggest me some scenario where i can use them.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.