32,199 Topics

Member Avatar for
Member Avatar for Leem_1

I do the class but there are some codes I need to help me please : -Write a number of member functions that do the following: •Calculate the student GPA •Search for the highest mark taken in a particular course •Print the ID, first name, and last name of all …

Member Avatar for nourimane
1
936
Member Avatar for Kam_1

Hi, I have the program, which is a traffic simulation, and I have a few linked lists in it. I'd like to ask you what is the easiest way to check if I don't have duplicats in them? The code which runs it looks like that: public static void main(String[] …

Member Avatar for JamesCherrill
0
284
Member Avatar for jkon

The facts: We are talking about a small company (5 persons) with many clients that making real money (we don't) . We provide our own software that has unique features against the e-commerce completion. The problem: the first glimpse of the problem arose around 2012 and made clear around 2014 …

Member Avatar for Trasser
1
2K
Member Avatar for misstj555

# Lab Question# We must create a program that do the following: Allow the user to type in a student name the coorosponds with the student's exam score. The program will be able to accpet exam scores till the user types in the phrase "allDone". The code will determine which …

Member Avatar for misstj555
0
2K
Member Avatar for misstj555

I am in a Computer Science Class and need help with the following Lab Assingment (WARNIG: this entry may be unintentionally long): # Lab Question # We must create a program that will do these three things: (1) Allow the user to type in a student name the coorosponds with …

Member Avatar for misstj555
0
571
Member Avatar for Kam_1

Hi, something weird happened with my program, I mean when I run it I see only grey frame (like I had only JFrame object in my app), then I minimalize application, maximalize it and only then I see all components painted (JButton, rectangels and lines inside Jpanel,...). Changing of frame …

Member Avatar for JamesCherrill
-1
2K
Member Avatar for Pk11

Hi, I have two problems with application I write in Java. Now it looks like that: import java.awt.*; import javax.swing.*; public class Main{ public Main() { JFrame frame = new JFrame(); frame.setSize(1200,900); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); JPanel background = new JPanel(new GridBagLayout()); background.setBackground(Color.lightGray); LeftPanel lp = new LeftPanel(); background.add(lp, new GridBagConstraints(0,0,1,3,3.0,1.0, GridBagConstraints.WEST, …

Member Avatar for JamesCherrill
0
436
Member Avatar for Kam_1

Hi, I'd like to ask you a few questions about a things which don't work right now in my (very simple) graphic interface. The code I have: import java.awt.*; import javax.swing.*; public class Simulation{ public Simulation() { JFrame frame = new JFrame(); frame.setSize(1200,900); frame.setTitle("Traffic simulator"); frame.setResizable(false); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); JPanel background …

Member Avatar for JamesCherrill
0
541
Member Avatar for ABaileyRush92

Hi i am new to java and just learning as i go , I the basic of calling mothod arguments and so forth but i am having difficulties calling my array method so it would come up to the terminal to the user when the code is running . i …

Member Avatar for JamesCherrill
0
460
Member Avatar for Amruta Sriram

If Anyone Knows , can you please help me how to import the text file to JTable by using JFilechooser ? Even the text file contains the specific charecters line length eg: idUsernamePasswordEmailAgeGender ( ID = 2 Chars, Username = 10 chars ( if username not having 10 chars means, …

Member Avatar for JamesCherrill
-1
634
Member Avatar for dukoolsharma
Member Avatar for John221

Hi, I need your help with my project. I'm doing traffic simulator, but I don't want it to be static map with moving cars, I want it to have methods to generate the roads with intersection (for now I have few simplifications like the roads are straight vertical or horizontal …

Member Avatar for JamesCherrill
1
3K
Member Avatar for IntelegoIt

I study the Quicksort algorithm like this : // Java program for implementation of QuickSort class QuickSort { /* This function takes last element as pivot, places the pivot element at its correct position in sorted array, and places all smaller (smaller than pivot) to left of pivot and all …

Member Avatar for rproffitt
0
449
Member Avatar for dukoolsharma
Member Avatar for JamesCherrill
0
349
Member Avatar for Jose_21

[Pulsating Spirograph (Processing)](https://www.ktbyte.com/projects/project/93961/pulsating-spirograph?ref=20181212daniweb2)

Member Avatar for Reverend Jim
-1
426
Member Avatar for Jose_21

[[Depths (Made with Processing)](https://www.ktbyte.com/projects/project/94051/depths?ref=20181210daniweb)](null)

1
2K
Member Avatar for babi.meloo

I need to create a class that represents one crayon of a particular color and height(length). Then, I need to design an applet that lets me draw a box of different colored crayons. This is what I have so far: **CLASS:** import java.awt.*; public class Crayon { private final int …

Member Avatar for Paul_65
0
2K
Member Avatar for Sameer_8

Hello i have a problem in my UDP implementation in java. I supose to make the program read two files which is itc-1 and itc-2 but my program only read the itc-1 and function right actully but when i run it and read itc-2 file it crached i don't know …

Member Avatar for rproffitt
0
355
Member Avatar for Leem_1

java language (ArrayList) The Registrar Office at the university has asked you to help them write a Student Information System (SIS). The system can be used to store information about students, courses, and students' transcripts (courses already taken by a student). · Define a class called StudentType that holds information …

Member Avatar for rproffitt
0
713
Member Avatar for Andsello

I'm trying to create a multicolor table (composed by buttons) where every X seconds a thread change the color of its button. The first thing I did was manage the threads with a semaphore, but then I realized that maybe it wasn't necessary since I want that each button changes …

Member Avatar for JamesCherrill
0
291
Member Avatar for Kiratiphan

my project is sort score of Student using Linked List and sort algorithm can i coding loop for input from user and save value to node in linked list and export or sort value like this ? Thanks for help or discuss or give any idea (any code is idea …

0
251
Member Avatar for Gheorghita

Hi I would like to ask you the way i can call a static method when i need to know for exemple what price is bigger. I have 3 prices. How to set it? Help me please

Member Avatar for JamesCherrill
0
167
Member Avatar for gahhon

Hi, I'm using NetBeans with Java. I have create a JFrame with some checkboxes and a button to open browser go to the specific URL based on the checkboxes' values. But how do I auto-login/auto fill the username and password textbox then trigger the login button? Please kindly advise. Thanks.

Member Avatar for rproffitt
0
473
Member Avatar for prakash2813

Hello everyone. I have been trying to get desired output since last 4 days and so far very near to it. I am really stucked in the logic. Please help me or help me in writing proper logic. Open the attached zip file for whole eclipse project. No need to …

Member Avatar for jwenting
-4
450
Member Avatar for teddy

Write a program to read 50 students’ marks, calculate and print the number of students who succeed and the number of students who failed (any marks below 40 should be considered failed).

Member Avatar for jwenting
0
386
Member Avatar for Snowdo

The entire point of this dice game is for a user to first roll four dice, if the answer to this roll is a 9,11,18 or 24 the user wins. If they roll a 6, 12, 13, 17, 19 or 23 the user loses. But if the user rolls any …

Member Avatar for JamesCherrill
1
3K
Member Avatar for snigger

Hi I need to show an image thumbnail in one of jTable cells But I don't know how to do it! I'm using netbeans to design GUI . How can I do that? Thanks

Member Avatar for JamesCherrill
0
4K
Member Avatar for mise

I want to make a program wher the user enters his password in a java program and as he is typing it, the letters turn to stars so as to hide his password (since I'm trying to design a multiplayer game). Is it even possible using java?

Member Avatar for Reverend Jim
0
191
Member Avatar for divinity02

hi everyone I am currently in the process of designing a bank atm machine appliction and I would like to apply a backgrond color to some of the button, I tried some codes but it dont seem to be working, well what I meant was I dont know if the …

Member Avatar for divinity02
0
296
Member Avatar for Agus Virga

How to save image from computer client to server using java?? Give me the source code..

Member Avatar for jwenting
-2
466

The End.