32,199 Topics

Member Avatar for
Member Avatar for alex0220

Hello I need help with this java tax assignment it is asking to Write the Java code needed to perform the following:• Calculate state withholding tax at 6.0%, and calculate fed-eral withholding tax at 25.0%.• Calculate dependent deductions at 2.0% of the employee’s salary for each dependent. public class Payroll.Java …

Member Avatar for stultuske
0
195
Member Avatar for divinity02

Hi every I am doing over my programming final project trying to see where I have gone wrong. And slowly am beginning to see some of my mistakes, I guess I was a bit overwhelmed anyway, the is part is where I was and still a bit confused. What is …

Member Avatar for divinity02
0
356
Member Avatar for sankubha

Now am using substance look and feel version 5.3.I want to upgrade the it to latest version 7.2.1. I need to know what is the new features in new version and difference between 5.3 and 7.2.1.why we need to prefer the new version.

Member Avatar for Schol-R-LEA
0
350
Member Avatar for TekknoDraykko

Greetings again! I'm learning how to write to and read from databases using JDBC, (using Netbeans) and I've run into a snag. I'm trying to save data to a database, but when I try the following exception message is thrown: Column 'COURSEID' is either not in any table in the …

Member Avatar for TekknoDraykko
0
363
Member Avatar for Litherz

I'm creating a simple game in Netbeans but I've come across a problem, when I've 500 coins and I try to add more, the total coins value will go to -1 therefore I think I need a else if statement in my code to stop and display a error message …

Member Avatar for Schol-R-LEA
0
112
Member Avatar for nitish.mohiputlall

Original question is as follows in the text box it should display 1 + 2 and upon clicking equal it should display the sum. With three values there are many combination 1+1,2+3+3, 1+3+3 .... but it is not working please help? the codes are not complete i'm just testing it …

Member Avatar for stultuske
0
270
Member Avatar for sarthak25

How can I convert videos (flv, wmv, mov, m2v, etc..) to mp4 format ? Actually, I'm trying to embedd videos in my web application (on a web browser), but to play them (flv, wmv, mov, m2v, etc..), user needs to add plugin (vlc, wmp, etc). But HTML video tags plays …

Member Avatar for jwenting
0
2K
Member Avatar for terence92

Hi, I have this element {1, 1, 2, 3}, so i have an duplicate element. I want generate combinations and my result should be: {1} {2} {3} {1 1} {1 2} {1 3} {2 3} {1 1 2} {1 1 3} {1 2 3} {1 1 2 3}. The order …

Member Avatar for rubberman
0
151
Member Avatar for borhane

need help in programing application based ELCTRE I method , problems with input using jtable .

0
86
Member Avatar for Miran_Leli

`The exercise is to enter one number (n1) and after the user has to enter n1 numbers.Then it has to be printed the number of negative numbers out of the n1 numbers added. So if the user decide that n1=5 and then add 5 numbers : 3,4,5,-1,2 the program should …

Member Avatar for JamesCherrill
0
643
Member Avatar for hefaz

Help me, What is @override in Jave? i can't understand a bit of the code in jave, when i am reading an android game source code. Thanks

Member Avatar for hefaz
0
130
Member Avatar for pars99

I'm making a program that takes the last letter and second to last letter of a name and displays a formatted version in front of the name. I'm passing an array to hold all the names and it seems to work properly, but it displays null before each output. Why …

Member Avatar for stultuske
0
135
Member Avatar for divinity02

this assignment here was my take home assignment. I am kinda doing it over just to see and know where i went wrong with. it is either my codes wrong somewhere but am not getting the required output. I had to do two methods along with two arrays. dont know …

Member Avatar for JamesCherrill
0
250
Member Avatar for ali11

Hi I am trying to move JTabbedPane down below top panel.I want it where the bottom panel begin.Thanks. import java.awt.*; import javax.swing.*; public class GridBagLayoutTest { JPanel bottomPanel; JPanel topPanel; public GridBagLayoutTest() { JFrame frame = new JFrame("GridBag Layout Test"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setLocationByPlatform(true); JTabbedPane tabbed=new JTabbedPane(); tabbed.add(bottomPanel,"One Way"); tabbed.setBounds(12, 200, 20, …

Member Avatar for JamesCherrill
0
193
Member Avatar for Surajit_1

I am trying to experiment with the whole idea of creating two text files then write to one of them, rename the second file with the first file and then deleting the first file. I have a school project where i need to apply this concept. So, before i actually …

Member Avatar for rubberman
0
295
Member Avatar for Hind_1

im new to java and this is my first assignment can anyone help me solving it: compile the class final grades, based on the students’ scores obtained in the classwork, mid-term, and final exams. According to the course syllabus, the classwork accounts for 65%, the mid-term exam accounts for 15% …

Member Avatar for JamesCherrill
0
375
Member Avatar for arup_1

javac Cannot find my Example.java file after saving it in c:\program..\java..\bin\!! i am using win 7 (64 bit). Following points are so confusing.. 1. **Even i cannot** see the file in that directory form window!! 2. If i want to copy it 2nd time, windows ask me to **"overwrit"**. (Means: …

Member Avatar for stultuske
0
250
Member Avatar for deceivingrakesh

Hi guys , I have run into a problem with jasper reports and dynamic reports , i'm just trying to generate a simple PDF from a List of beans fetched from Hibernate , when i try to generate PDF from Action , i get the following Error:NoSuchMethodFound:org.w3c.dom.Node.getTextContent()Ljava/lang/String; the method : …

0
131
Member Avatar for no123

i've made the game Othello in java and i need a way to display to the player, the move the computer did. i can't just return a-6 or d-5 because the size of the board can be changed. anyone has a way? thank you in advance :)

Member Avatar for no123
0
144
Member Avatar for sciwizeh

Hello All, I'm trying to write a simple html editor that will highlight tags, and it does, but if the user types the caret jumps to the very end of the document, how can I stop this from happening? here's my code: [CODE=java] import javax.swing.*; /** * Main frame for …

Member Avatar for reguieg
0
347
Member Avatar for shankmuchlove

I am using xampp and windows.... I need to call java classes from php. How to use php java bridge... I am using php 5.2.6

Member Avatar for Abid_4
0
203
Member Avatar for divinity02

tell me if my codes is correctly done in calculating the gpa and the quality points and calling the methods for the gpa and quality points because my output is reading zero. i have also to write two arrays to store both the students grades and course. have no idea …

Member Avatar for stultuske
0
228
Member Avatar for Brandon_7

I had a test in AP Computer Science and I got the following question incorrect: Given the following class A public Person class is written, and the class has two private String instance variables to store the person's name: one named firstName and one named lastName. The class has two …

Member Avatar for Markland
0
2K
Member Avatar for anirodacilis

Hello, I am another newbie, trying to finish an assignment, and I would need some help in splitting a string from serial. I use the demo code for eZ430-RF2500 Wireless Sensor Monitor, where I changed only the tx of the access point's temperature(by commenting it), with the purpose of displaying …

Member Avatar for JamesCherrill
0
365
Member Avatar for no123

I'm making the game Othello in java and I need to make an AI which will be a good rival and very challenging. I've read all about search trees,alpha beta pruning,minimax and others. I understood the principles but what I didn't understand is how do I start the code (what …

Member Avatar for rproffitt
0
164
Member Avatar for centenond

So im doing a MMO, wich will have a lot of entities, monsters, players etc .. So i want opinions from you experts, wich a aproch should i go for... create the entity when its near the view port so that the game dnt struggle updating each entity or will …

Member Avatar for centenond
0
145
Member Avatar for n21115

I've searched extensively for this, but failing to arrive at a proper solution, I had to proceed with this question. I have just recently started learning JavaFX/Java and I am trying to build a table which, along with some other columns, would have a single ProgressIndicator column. This means that …

Member Avatar for JamesCherrill
0
1K
Member Avatar for mmmmmmmm

I have a array of string I will call a method on this array for each of the element of it ,the method will return one integer,but some of the elements are the same then I do not want to call the method . for example this is the array:{aa …

Member Avatar for JamesCherrill
0
186
Member Avatar for ali11

Hi I am creating a program in which I have 2 tabs. I want to make my tabs bigger in size so they can take whole panel space. Is there any way I can make both tabs size bigger. thanks import java.awt.*; import static java.awt.Font.BOLD; import java.awt.event.*; import java.awt.event.*; import …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Braeley

So I've tried desperately to download JRE to end up with nothing. Originally I thought I deleted something so I cleared my computer of all JRE files plus all java related files, deleted them and completely removed them. I even downloaded JavaRa and removed all files from there. I then …

Member Avatar for Braeley
0
320

The End.