| |
thread by: yehah |
last post Nov 20 '20 by: Ishan Shah
Write a program that will ask the user to
enter his/her salary.
2. 2% will be deducted if the salary is
above 20,000.00, otherwise 1% will be
deducted.
3. Display the net pay or take-home pay of
the user.
netpay = salary - deduction
|
thread by: BogdanFloares |
last post Nov 14 '20 by: dev7060
Let's say I have this 2d array:
-1.0 -8.742278E-8 0.0 0.0
8.742278E-8 -1.0 0.0 0.0
0.0 0.0 1.0 0.0
0.0 0.0 0.0 1.0
That I want to send to vertexshader in an uniform mat4. I don't want to use JOML so I used a 2d array(float) for creating transformation matrix, but I can't...
|
thread by: Ravi savani |
last post Dec 16 '20 by: dev7060
I am trying to append a custom HTML div in the currently active tab body tag.
In chrome extension have created one HTML popup file.
In this extension, I won't set some options in popup.html file. then after clicking the append button, then append customize HTML in the active tab body tag.
The main problem is I want to add external CSS and...
|
thread by: Ariiza13 |
last post Jan 12 '21 by: dev7060
I'm new here and I'm looking for help, I found this way to open files on google chrome with java:
private void abrirVideo(String archivo) {
File arch = new File(archivo);
String comando = "cmd.exe /c start chrome \"" + (archivo) + "\"";
try {
String s = arch.getParent();
...
|
thread by: jj310 |
last post Dec 31 '20 by: dev7060
Using java
public charconvertBinaryToHex(boolean binary){
|
thread by: Ariiza13 |
last post Jan 13 '21 by: Ariiza13
i'm trying to make a program that downloads some files, and now i want to open the folder (on the windows explorer) where those files are (it's always the same folder) and select the last file that was downloaded, i found this code to do it on java:
private void openFile(File f) {
try {
Runtime.getRuntime().exec("explorer.exe ...
|
thread by: MELON123 |
last post Jan 29 '21 by: dev7060
hello,
I'm experienced OOP Delphi, C, Erlang, Javascript coder.
Please can you suggest me the best toolchain for scalable web apps using Java?
1) Java best IDE?
2) Java web framework (Spring?)
3) OS setup and web server (Debian Nginx, Windows IIS)?
4) reverse proxy setup?
5) community forum for developers?
|
| |
thread by: davidbrok5 |
last post Feb 14 '21 by: dreamtext
When testing flows that start with a message from a queue, or ends by publishing a message to the queue, would you prefer testing against a real server (e.g. using test containers) or stub the MQ client (e.g. using mockito)?
I started to craft a comparison table between the two, could be nice to discusss the trade-off
|
thread by: 91E20 |
last post Mar 20 '21 by: dev7060
How to insert image from jlabel to Excel file using Java netbeans?
I have a desktop application developed in netbeans, what I really want is the Fileinputstream for image from jlabel field to Excel file, I don't know how to insert image from jlabel field to Excel spreadsheet, but I can insert text to the Excel file but I can't insert image from...
|
thread by: 91E20 |
last post Mar 13 '21 by: 91E20
Please I will really appreciate help from this question,
I developed a desktop application using using Java netbeans and I added Excel spreadsheet plugin to the application for printing of report which is working fine but my mean problem here is that I want to insert image from jlabel field to Excel file using the application but I don't know...
|
thread by: 91E20 |
last post May 29 '21 by: dev7060
Please help,
I have a Java desktop application but I want to share the application to multiple users on a local computer offline so that everyone can access the application but I don't know where the database should be position in the computer so I can connect it to the application.
Am using JavaDB (derby database) as the backend for the...
|
thread by: Madjia22 |
last post Apr 7 '21 by: dev7060
import java.util.Scanner;
public class STressed
{
public static void main(String args)
{
int number = 2021 , Reverse = 0;
while(number !=0)
{
int digit =number%10;
|
thread by: ravipankaj |
last post Apr 12 '21 by: ravipankaj
package com.ds.algorithms.arraylist;
/**
* @Author pankaj
* @create 4/10/21 6:37 PM
Why to use ArrayList:
is a re-sizable array, also called a dynamic array(Growable array/ resizable Array). It grows its size to accommodate new elements and
shrinks the size when the elements are removed.
---> ArrayList internally uses an array to store...
|
thread by: ravipankaj |
last post Apr 12 '21 by: ravipankaj
package com.ds.algorithms.linkedlist.SLLcustomImplement;
/** * @Author pankaj * @create 4/11/21 6:19 PM */
public class Node {
int data;
Node next;
}
— — — — — — — — — — — — — — — — — — — — — — — — — — — —
package com.ds.algorithms.linkedlist.SLLcustomImplement;
/**
* @Author pankaj
|
thread by: Mr Key |
last post May 1 '21 by: Mr Key
I have been creating English checker game by using Java, everything is working fine, my king is jumping and capture opponents pieces as it should have been. My problem is that when the king is crowned after capturing the opponent pieces it continue to jump back and capture other pieces available. Actually it is supposed to stop right after being...
|
| |
thread by: bitty121 |
last post May 22 '21 by: dev7060
the expected output is
*_*_*_*_*
*_*_*_*_*
*_*_*_*_*
*_*_*_*_*
*_*_*_*_*
but my code is kindof wrong
public class RowColumnStarUnderscore {
|
thread by: UniDue |
last post Jul 2 '21 by: dev7060
Hey everyone, I am still very much a beginner in programming, and i am facing an issue with a code that i am hoping someone could help me with. I found the code below for overlaying and comparing the pixels of two images in an online forum. When i try to compile the code i get a syntax error. Hope you can help me find the error. Thanks in advance....
|
thread by: UniDue |
last post Jul 1 '21 by: UniDue
I am still very much a beginner in programming, and i am facing an issue with a code that i am hoping someone could help me with. I found the java code below for overlaying and comparing the pixels of two images in an online forum. When i try to compile the code i get a syntax error. Hope you can help me find the error. Here is the link to three...
|
thread by: yakovcohen94 |
last post Jul 6 '21 by: dev7060
I want to build a category list scrollview in android studio using java. I having truble to understand how to pass value from TextView to anthor TextView with same value in other activity.
activity_first.xml
<TextView
android:id="@+id/PersonName"
android:layout_width="match_parent"
...
|
thread by: yakovcohen94 |
last post Jul 7 '21 by: yakovcohen94
I have a problem with save the value of string or editText in java android. When I redirect from FirstActivity to Second and return after it to First, I need that a String that i fill earlier stay in the place that I wrote it. (Like a cookies in js).
|
thread by: NandiniJoshi |
last post Jul 12 '21 by: dev7060
Question:Input
2
5
1 2 3 4 5
7
5 1 4 6 8 1 4
Output
1 2 3 4 5
5 1 4 6 8 1 4
import java.util.*;
|
thread by: yakovcohen94 |
last post Jul 8 '21 by: yakovcohen94
How do I make loading gif of 3 dots between activities that I already built? after pressing continue button I want loader to be showen for 5 sec and then redirect to the next activity.
|
thread by: UniDue |
last post Jul 24 '21 by: dev7060
I am still very much a beginner in programming and am facing a problem with a Java code. I would be very thankful for suggestions and comments. The problem is as following:
I found a Java code online that is designed to compare two pictures and highlight the differences between them. However, the way the code works is by using a loop that...
|
| |
thread by: Geralt96 |
last post Oct 19 '21 by: dev7060
Good Morning! Could someone help me with the code for the problem below? It is an exercise suggested by a professor of an engineering course. Below is the requested, if anyone can help, I would be very grateful.
"In previous exercises, we created an algorithm to convert a resistor color code into a numerical resistance value. Now, we'll do the...
|
thread by: Marylou17 |
last post Oct 24 '21 by: dev7060
Good day!
I'm new to programming.
Can you guys help me on how to make a simple program that will display the employees name and how to let user enter the rate(pay) per hour and the number of hours worked separated by spaces only and then it'll calculate the wage, cause this part is makes me confused what to used to run...
Thank you so much!!...
|