32,199 Topics

Member Avatar for
Member Avatar for Mo_3

Hi, I've been doing research on a career in coding/programming and now I'm very interested and motivated to learn it. I'm a complete beginner and limited financially at present. So I'm confused as to how to go about it. I love reading a lot and sitting on my laptop, so …

Member Avatar for deutnukem
2
744
Member Avatar for Eric_28

I want to create a php function that i can use to get a particular user details and display the info gotten in my ProfileActivity when a user profile is been clicked in my app. so i wrote this php code to get user details from my database but when …

Member Avatar for AndrisP
0
500
Member Avatar for Dalek Caan

Howdy All - I am just wondering if anyone has successfully converted a *massive* (subjectivity implied) COBOL application to another language. If so, into which language was your system converted and when was this done? What were the potholes you, no doubt, hit? Was the conversion far more expensive than …

Member Avatar for Jim_9
0
1K
Member Avatar for skelley

I have a program that is meant to display the total, average, student name and letter grade for a student. I'm almost done writing it but I have no idea how to make it loop so it goes back to step 1 from step 4. Everything I've read on using …

Member Avatar for JamesCherrill
0
1K
Member Avatar for John_165

The API docs are now found at [ Java Development Kit Version 11 API Specification](https://docs.oracle.com/en/java/javase/11/docs/api/)

Member Avatar for JamesCherrill
0
2K
Member Avatar for Rebecca_7

I am doing a java caesar cypher application and i need your help.I am supposed to Implement a Caesar cipher, both encoding, and decoding. The key is an integer from 1 to 25. This cipher rotates the letters of the alphabet (A to Z). The encoding replaces each letter with …

Member Avatar for rproffitt
0
399
Member Avatar for Ahmad_27

Create a class called Circle contains: Two instance variables (attributes): radius (typed double) and color (typed String). Provide a set and a get method for each instance variable. getArea(), which return the area of this instance, respectively. Create another class called Circle Test to : Create two different objects “Circle”, …

Member Avatar for Reverend Jim
0
113
Member Avatar for Sameer_8

Hello, I have a questions in TCP client to server communication: This is what is require me to do: First of all, if we run the program from multible command line or multible PC it will run the same program. ( of cource ) Second, the program should read from …

Member Avatar for rproffitt
0
375
Member Avatar for divinity02

hi people I am building a atm machine but havent actually coding it as yet, just the gui interface part i have done so far because i am doing something else at the moment but in between i would do someting with it. so i have put in an if …

Member Avatar for Armand_2
0
281
Member Avatar for Eric_28

i am creating an app with android studio and i'm using mySQL.and i want to implement friends feature in my app to enable users send and recieve friend requests, i have created tables and writen the server side php code for that, i have also created an add as friend …

Member Avatar for pty
-2
1K
Member Avatar for [TMMG]

public class Gradesv2 { public static void main(String[ ] args) { //local variables int numTests = 0; //counts number of tests int testgGrades = 0; //individual test grade int totalPoints = 0; //total points for all test double average = 0.0; //average grade int test1 = 95; int test2 = …

Member Avatar for JamesCherrill
0
545
Member Avatar for Saboor880

Hello to all! I have added a jcombobox in a jpanel by dragging it from palette (Netbeans IDE). I am populating jcombobox with database without any problem. For example i have following 5 items in my jcombobox: Italy, Uganda, America, Canada, Austria When my jtable is focused and i type …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Sunshineserene

Hi all, I need to read a text file (I've attached it, you can take a look), and then store all the numbers in it into a 2D array. After which, I need to parse it. I need urgent help here! ):

Member Avatar for Red_2
-2
19K
Member Avatar for divinity02

hi everyone i have not been here in a while. so here I am practicing building a forensic managment java application but the thing, i am trying to connect to the database, so, like i am importing the codes that would help connect to the database, like I mean the …

Member Avatar for jwenting
0
531
Member Avatar for Sith_1

Moderators: Please dont delete this post as it is featured A part of an assignment I have due. The assignment states - A program that prints out lines of asterisks, based on the values determined by the user input. The program first asks for the minimum number of asterisks, the …

Member Avatar for jwenting
0
420
Member Avatar for John_165

Question from codility test Write a function: class Solution { public int solution(int[] A); } that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1, 3, 6, 4, 1, 2], the function …

Member Avatar for JamesCherrill
0
10K
Member Avatar for Edward_16

I've written a code that creates a Checkerboard Array application. There are no errors when I compile the code. Once I run the application, the window pops up but its just a blank white window. The code is as follows: import java.awt.*; import java.awt.event.*; public class Checkerboard extends Frame implements …

Member Avatar for JamesCherrill
0
224
Member Avatar for mattyd

I've just started a class to learn automation testing via Selenium. I'm using Firefox 61.0.2 (64-bit) I'm noticing a possible bug; not something major, but something that prevents efficiency: When attempting to load a saved project into the IDE via Open Project or through drag-and-drop, it does not load. Usually …

Member Avatar for rproffitt
0
457
Member Avatar for V3N0M

Hi Guys, I am looking for career advice. I am currently pursuing my associate's degree in computer science here in Texas. And I wanted to know if you guys know how people with associate's degrees get a job. As an international student, I would like one year of work before …

Member Avatar for rproffitt
0
431
Member Avatar for Max_26

I have class with main method like: public class Main { public static void main(String[] args) { long timeCheck; long periodOfTime; ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(2); long initialDelay = 0; // the time from now to delay execution long period = 1; // the period between successive executions scheduler.scheduleAtFixedRate(new FeedReader(img, url, …

Member Avatar for Max_26
0
561
Member Avatar for rezhin_1

hey guys I'm new in perogramming the question is that (if your salary is 10000 after how many years will be doubled if each year increases by %5)??!!

Member Avatar for jwenting
0
192
Member Avatar for Robert_79

Hello I am trying to create chaper links for my Vimeo videos on my site. I have managed to get a script working with direct links but cannot get it to work with a drop-down menu. Here is my code: <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script> <script src="https://f.vimeocdn.com/js/froogaloop2.min.js"></script> <script> $(window).load(function(){ var link_1_track = 26; …

Member Avatar for JamesCherrill
0
381
Member Avatar for JamesCherrill

Praises be to the gods! Just when I thought all hope was lost, not just one but two proper Java questions. Maybe the road to recovery starts here?

Member Avatar for mysunindia
0
367
Member Avatar for Onur_2

Hello, I'm trying to create a program for a multiple choice test. I have 12 students, and I have the answers, all I need is to learn which student chose how many correct and wrong answers and left how many empty. All I need is something like this Students Correct …

Member Avatar for JamesCherrill
0
262
Member Avatar for scheppy

Guys, Im wondering, If I have another class with a jpanel in it... and I add this to the jPanel, this should work correct? jpanel.add(new DoughOverviewList()); jpanel.repaint(); for some reason its not showing in my jpanel, /* * To change this license header, choose License Headers in Project Properties. * …

Member Avatar for scheppy
0
405
Member Avatar for scheppy

Hey Guys, So I have a JTextfield in the cells of 1 of the columns in my JTable I want to allow only numbers and up to one dot/period. Doesant need to contain a period. The persiod can be anywhere except at the end of the number. 1 ok .1 …

Member Avatar for JamesCherrill
0
769
Member Avatar for Phantess

I'm trying to get a pop up as soon as a user logs in. I already have the pop up, but it keeps popping up all the results one at a time when I only need it to pop up within 15 minutes before the appointment time. How can I …

Member Avatar for JamesCherrill
0
451
Member Avatar for Phantess

I am trying to display this SQL query in a table. String query = "SELECT COUNT(`appointmentId`),EXTRACT(MONTH FROM `start`) FROM `appointment` WHERE YEAR(start) = '" + year + "' GROUP BY EXTRACT(MONTH FROM `start`)"; Unfortunately I cannot alter the database. I am trying to list the total appointments per month on …

Member Avatar for Phantess
0
1K
Member Avatar for WDrago

All, For the life of me I cannot get this program to compile. The error message "error: non-static variable this cannot be referenced from a static context" occurs on lines 23 and 24. Here is the entire program: [CODE]public class ThreadTest { public static int x = 0; public class …

Member Avatar for JamesCherrill
0
28K
Member Avatar for scheppy

Hi Guys, I ussually dont post anything here often, just get everything off of everyone elses questions, but I'm having a strange problem that im scratching my head over, I have a JTable where I can Add and remove rows... This is just for testing purposes, I'm about to make …

Member Avatar for scheppy
0
746

The End.