32,199 Topics

Member Avatar for
Member Avatar for Violet_82

Hi guys, I have a simple application which allows users to input a divisor, a divident and then calculates the quotient. I'm using vaadin as framework but I don't think that matters. So I've been thinking about the exceptions that can occurr and these are the ones i have identified: …

Member Avatar for JamesCherrill
0
397
Member Avatar for Saurabh_13

THE CODE BELOW IS FOR SAVING FORM DATA FROM HTML FORM TO A TEXT FILE IN THE LOCAL COMPUTER. BUT, THE TEXT I AM GETTING IN THE TEXT FILE IS ALWAYS IN A SINGLE LINE AND I CAN'T ORGANIZE IT. THE CODE BEING USED IS AS BELOW. <!DOCTYPE html> <html> …

Member Avatar for stultuske
0
485
Member Avatar for Altjen_1

Hi daniweb community, this sounds really weird question but I'm having a problem finding a page/portal. has been about 2 days and I've been searching literally for more than 30 hours. From the desperation I am asking any of u if they know it. Inside microsoft page, or microsoft azure. …

Member Avatar for AssertNull
0
199
Member Avatar for Judi Almed

Hi! Can I ask for help, please? How can I pass variables especially array variables and values from a class to other class?

Member Avatar for JamesCherrill
0
80
Member Avatar for prashant_savadi

Java code to get windows service start time ? Like how we get using Process Explorer. Thanks in Advance! PFL for Screen Shot: https://drive.google.com/file/d/0B5KXd3eMbanKckt0YXZCTERWU2c/view?usp=sharing

Member Avatar for rproffitt
0
63
Member Avatar for asifalizaman

hi!guys pay some attention there thanks can any one tell be what is the difference b/t java and java script.. According to my point of view java is programing language that used for the application development..but i have a little knowledge about java script i think it is client side …

Member Avatar for _1_18
0
776
Member Avatar for hhappak

Hello, I am facing a problem I cant seem to find an efficient solution for. My application is supposed to parse a text file while another process is continuously adding to it. I have tried scanner and inputstream but both seem to stop once they hit the end of the …

Member Avatar for rproffitt
0
5K
Member Avatar for Kriti_1

Hello everyone! I have been working on my school project and I have encountered problem linking jTable with a table in the sql server.Can anyone please help me regarding it.Please help me with the code on how to link the the table.

Member Avatar for JamesCherrill
0
1K
Member Avatar for _1_24

Create a payroll program for 5 part timers for 1 month let the user program enter the name of 5 employee and the No. of hours per week. Based on the rank,calculate and display Net Salary based on the ff: Rank Rate per hour Instructor I Php 172 Instructor II …

Member Avatar for happygeek
0
182
Member Avatar for Judi Almed

Hi! I'm a beginner in Java can you share an answer for this assignment since I already been doing this for a week and I don't know how to answer. Create a Student class with those attributes: 1. firstName 2. lastName 3. grades (it contains grades between 0 and 10) …

Member Avatar for Judi Almed
0
208
Member Avatar for nitin1

Hi, I have one function (in a library I can't change the code) which takes a key and returns a Object. This code is written in java. I am calling this function from cpp code. I am accepting the result as jobject. 1. Added key as "key1" & value as …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Shellie_1

I really want to learn Java but I have no idea how to study it. I just keep reading the books yet have no idea how to program. :(

Member Avatar for Zycog
0
498
Member Avatar for Tre Sivileo

Hey new to JDBC SQL DERBY and Java so I don't know why but my Jtable only shows the columns. Here are my codes for my LeaderboardDAO class. public class LeaderboardDAO extends Dao { private static final Logger LOG = LogManager.getLogger(PlayerDAO.class); public static final String TABLE_NAME = "leaderboard"; private static …

Member Avatar for Tre Sivileo
0
364
Member Avatar for Pardeep_1

Hi, How to programming in java through make the web video chatting application? Please tell me about this knowledge and in which are require the skills.

Member Avatar for JamesCherrill
0
41
Member Avatar for nadiam

Hello. Im doing some practice questions and Im kinda stuck. So basically I have three Jbuttons: "Menu", "Left" and "Right", a JTextField : "tDisplay" and an array : status. code (dummy code for example): String[] status = {"hello","goodbye","goodnight","goodmorning"}; what needs to happen is when Menu is clicked Hello is displayed …

Member Avatar for JamesCherrill
0
422
Member Avatar for sup_1

Hi My code is giving me a red line under '.createStatement()' and I really don't know why and how to fix it. @Override protected String doInBackground(String... params) { if(userid.trim().equals("")|| password.trim().equals("")) z = "Please enter User Id and Password"; else { try { connection con = (connection) connectionClass.CONN(); if (con == …

Member Avatar for JamesCherrill
0
1K
Member Avatar for nitin1

Hi, I have been working on JNI. I have one doubt. When I call any native method from android activity (Java code), then we get jclass object from jobject instance we get in the native method as a parameter. Why do we need it actually? Here is a snippet from …

0
181
Member Avatar for BabaRoro

I would like to delete a binding group from my java code, Netbeans does not allow me to do it.I try to do this by right click >Refactor > Safely delete , but a warning appears and the group is not removed. How do I go about deleting this?

Member Avatar for stultuske
0
104
Member Avatar for Alex_47

Hi, I have problem I can't add to the JTable new row (public void addRow(ArrayList<Object> newRow)) from the other class with action of the button Main.java import com.sun.javaws.Globals; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import javax.swing.event.TableModelEvent; import javax.swing.table.AbstractTableModel; import javax.xml.bind.annotation.XmlElementDecl; public class …

Member Avatar for zaraki
0
254
Member Avatar for zaraki

Anyone here know a good java library for XADES signing? Tried my luck with Xades4j, but that didn't go anywhere, couldn't find any API for that. Please provide code examples if you can.

0
132
Member Avatar for Violet_82

Hi guys, I wonder if you can help. As I've started as a programmer, I've been told I have to practice OO a bit more. I've done the theory, but I think I will have to take another look at it. , Above all though, I have to do exercises. …

Member Avatar for AssertNull
1
589
Member Avatar for Violet_82

I'd like to start from the basics if I may please. I've read a few tutorial here and there and I've just created a test application with probably the simplest RPC calls you can possibly have (basically I want to use the RPC call to call a method to print …

0
178
Member Avatar for vishalsingh1080

I want to learn java for competitive programming . I'm actually aware of all the great books on java like thinking in java , effective java etc. But those books are very detailed . i want to learn enough for competitive programming without going into too much of unnecessary details …

Member Avatar for AssertNull
0
716
Member Avatar for Mar. Na.

Hi all; how can i find equal string in 2D array in java in this program,, i mean in this code i have 2D array 2 rows and 4 columns,for example in my code the equal string is "orange" ,,so how can search for any equal string in 2D array …

Member Avatar for Mar. Na.
0
1K
Member Avatar for filipa_1

Hello , I'm new with java and I have a work to do, but I don't understand anything :( Can someone please help me ? Create a program composed of two classes called: GradeCalculator (with main ( ) method ) and Student. The Student class structure is presented below: Student …

Member Avatar for JamesCherrill
0
174
Member Avatar for gopal_3
Member Avatar for Ayberk_Aziz
0
513
Member Avatar for Danilo_3

Someone could help me fix my problem. Im using netbeans and im developing a system as part of our ojt to create a system. I had a little problem of how to move tab or switch tab after i clicked a button. Please help me. thks :)

Member Avatar for JamesCherrill
0
48
Member Avatar for Builder_1

A farmer with his wolf, duck and bag of corn come to the east side of a river they wish to cross. There is a boat at the river’s edge, but of course only the farmer can row. The boat can only hold two things (including the rower) at any …

Member Avatar for AssertNull
-2
2K
Member Avatar for sangatik

Design and implement an application that determines and prints the number of odd, even, and zero digits in an integer value read from the keyboard. (java) using for loop

Member Avatar for AssertNull
-4
299
Member Avatar for Doogledude123

Hey everyone, I'm looking for some help with coming up with a system to communicate data between client and server sockets. I was thinking of a command system, but that would only work when the client is sending a request to the server, not when the server is returning data …

Member Avatar for JamesCherrill
0
373

The End.