31,001 Topics

Member Avatar for
Member Avatar for chivini
Member Avatar for anandhachandru
0
93
Member Avatar for Palanisamy_1

Hi, I am getting below error when I run the Junit test causes throught build though i have set classpath of all http jars in build xml file org/apache/http/conn/ssl/TrustStrategy java.lang.NoClassDefFoundError: org/apache/http/conn/ssl/TrustStrategy at com.gehcit.eicu.util.HttpUtil.constructHttpUtilityConnection(Unknown Source) at com.gehcit.eicu.domain.Notifications.readRemoteNotifications(Unknown Source) at com.gehcit.eicu.workflow.NotificationProcess.execute(Unknown Source) at org.activiti.engine.impl.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34) at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37) at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25) at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:49) at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:40) …

Member Avatar for Michael_32
0
408
Member Avatar for Sudhakar_1

how to create a timer in jsp "Time out in (HH:MM:SS) : " in front of that time. Example: before time HH:MM:SS AND time display pls help as soon as possible in this task

Member Avatar for anandhachandru
-1
99
Member Avatar for Satyajit Rath

get data from client in server socket java I am creating a server app which does the following task Accept connection from client Process each client connection to separate thread Receive data from client send data to client I am able to connect client but not able to receive data …

Member Avatar for JamesCherrill
0
145
Member Avatar for JohCarlo

hi programmers i have a seriuos problem when i run and clean my codes there was a error. and the problem is maven Dependencies which is ojdbc14.10.2.0.4.0.jar was not in the resperatory how to fix this? TIA

Member Avatar for peter_budo
0
3K
Member Avatar for QuizzNaYeeziey

Create a class named Painting that cntains fields for a painter's title,artist,medium (such as colour),price,and gallery commissoin. Create a constructor that initializes each value and create instance method that get and set field to an appropriate default value,and create instance method that get and set the fields for title,medium,and price. …

Member Avatar for JamesCherrill
-2
264
Member Avatar for JohCarlo

i don't know if im in worng language or not but im using Eclipse for my program and then once i build my program using maven build. but i got a error No plugin found for prefix 'C' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available …

Member Avatar for JohCarlo
0
159
Member Avatar for anandhachandru
Member Avatar for Pobunjenik

I've managed to construct a working code for John Conway's Game of Life. Now I wish to GUI-ize it. My only problem is printing a matrix. I want a huge text field to print "_" for no life and "X" for life in each cell (much like I did in …

Member Avatar for sishenyelang
0
1K
Member Avatar for michael.james.90475

public void rotate(double theta) { // this is the matrix to multiply by.. //x*cos(theta) , y* sin(theta) // x* -sin(theta) //y * cos(theta) vertices[0][0]= vertices[0][0]* Math.cos(theta)+ Math.sin(theta)*vertices[0][1]; vertices[0][1]= vertices[0][0] * (-Math.sin(theta)) + Math.cos(theta)*vertices[0][1]; vertices[1][0]= vertices[1][0]* Math.cos(theta)+ Math.sin(theta)*vertices[1][1]; vertices[1][1]= vertices[1][0] * (-Math.sin(theta)) + Math.cos(theta)*vertices[1][1]; vertices[2][0]= vertices[2][0]* Math.cos(theta)+ Math.sin(theta)*vertices[2][1]; vertices[2][1]= vertices[2][0] * …

Member Avatar for michael.james.90475
0
252
Member Avatar for Gl753

I'm working on a programme that's supposed to accept input of doubles from an array however it's not quite working out for me. It takes in Integers alright but not the double values. Could someone point me in the right direction Any help is much appreciated double array[] = new …

Member Avatar for samson.dadson.3_1
0
226
Member Avatar for Markyboy

Help. I've been tasked with writing a program that calculates the average temp for a week, getting user input for daily temps, calculating the average and printing out the results. I got that part. The second part is asking me to print out a message (Too hot!) if the avg …

Member Avatar for samson.dadson.3_1
0
222
Member Avatar for Ant695

` This is the code /*Practice Assessment 2 - Question 5 Program to calculate how many days and weeks in a given month 24/2/15*/ import java.util.*; public class calender { public static void main (String []args) { Scanner keyboardIn = new Scanner (System.in); String month; int days_in_month, weeks, days; System.out.print …

Member Avatar for michael.james.90475
0
232
Member Avatar for amogh.max

I would like code to display ms access database dynamically in a jframe . here is my database.**[img]http://i.imgur.com/PtuGLnX.png?1[/img]**.I tried searching a lot but i think i need personal help in this area as this is a suppose to be dynamically updated Jframe.on the other hand i am open to suggestion …

Member Avatar for JamesCherrill
0
408
Member Avatar for lena1990

i want to record voice then play it at the same time but when i use the below code i got delay and echo of the voice and some noise i will be grateful for any help int bufferSize = AudioRecord.getMinBufferSize(frequency, channelConfiguration, audioEncoding); AudioRecord audioRecord = new AudioRecord( MediaRecorder.AudioSource.MIC, frequency, …

0
209
Member Avatar for serubiri

Hello Fello Programmers out there; I have been trying to build ajava app from net bean 8.0 and Jdk 1.8, An app that has a data base connection so that data can be worked with, it also has images. The problem is that i can get a jar that is …

Member Avatar for serubiri
0
366
Member Avatar for johnny70

I want to remove the first line in jtextpane and setting setContentType("text/html") at the same time. setContentType("text/html"); Element root = getDocument().getDefaultRootElement(); Element firstLine = root.getElement(0); getDocument().remove(firstLine.getStartOffset(), firstLine.getEndOffset()); When I use setContentType("text/html") in the code it does not remove the first line.

Member Avatar for JamesCherrill
0
759
Member Avatar for Tuan_2

Javacript novice here, I've been trying to learn how to remove this annoying error I always get on Nike.com I tried to remove it through adblock which I can't The only way to remove this error is click the 'OK' button. heres the script for the "OK" button <button class="notification-button …

Member Avatar for minitauros
0
202
Member Avatar for Kadian

int e=0; int Compatability=0; int numOfDisagreements=0; int tsize=likes.size()+dislikes.size(); int numOfCommonLikes=0; int numOfCommonDislikes=0; if (user.likes.get(e).equals(Stranger.likes.get(e))){ if ((Stranger.howDoYouLike(likes.get(e)))== 1 && user.howDoYouLike(likes.get(e))==1) { numOfCommonLikes=numOfCommonLikes+1; } } else if (user.dislikes.get(e).equals(Stranger.dislikes.get(e))){ if ((Stranger.howDoYouLike(dislikes.get(e)))== -1 && user.howDoYouLike(likes.get(e))==-1) { numOfCommonDislikes=numOfCommonDislikes+1; } else { numOfDisagreements=numOfDisagreements+1; } e++ ; } Compatability=(numOfCommonLikes+ numOfCommonDislikes)- numOfDisagreements; return Compatability; } Am getting a …

Member Avatar for JamesCherrill
0
160
Member Avatar for sesaso

what is correct solution in Inheritance ???? I am new to genetics in Java and I want to resolve this question I look at the question existing attachments please and what is the correct dissolved and thank you very much

Member Avatar for JamesCherrill
0
218
Member Avatar for Roger_2

this is my latest class assignment, i would really appreciate some assistence with my pseudo code to help me in the right direction. my code skeleton is provided at the end of this post. Deque A double-ended queue, often abbreviated deque and pronounced deck, is an object with the following …

Member Avatar for JamesCherrill
0
364
Member Avatar for SkateX

Greetings, I'm having problems with my output. Essentially I am just trying to print out any Cat who is over 3 years old and has Claws. But my output keeps printing out either nothing at all or the 3rd cat 3 times. I've struggled with this for hours trying to …

Member Avatar for JamesCherrill
0
296
Member Avatar for jjones0150

Hello Guys, I'm having trouble getting my code to run correctly. I need the program to ask the user do they want to continue after they guess the number correctly. If they say "y" the loop should restart if they reply "n" the program should end and close. I will …

Member Avatar for JamesCherrill
0
2K
Member Avatar for manalibhadula

Hi I am trying to connect to a server, to transfer a file. I have added remote to the known host file of source server and generated public key. From terminal i am able to login to remote server without password, but here through java , i am getting below …

Member Avatar for manalibhadula
0
293
Member Avatar for Trevor_5

trying to get the maximum location in my matrix of 4 columns and 3 rows. can anyone help point me in the right direction import java.util.*; public class Program3{ public static void main(String[] args){ double [][] m = createArray(); double [] colsum= new double [m[0].length]; for(int i=0;i<m[0].length;i++) colsum[i]= sum(m,i); printResult(m, …

Member Avatar for stultuske
0
201
Member Avatar for Amenda.St

I'm new with java programming so I'm sorry if my question is a lazy one. I'm working on a project that consists on collecting job offers from the web. So as a first step, I want to extract data (job offer data) from a specific webpage. So I want to …

Member Avatar for peter_budo
0
241
Member Avatar for jyotibborade

How do I edit jasper report at runtime? means i have to edit previously created jasper report properties like page height,width,show and hide some fields

Member Avatar for stultuske
0
46
Member Avatar for ema-miles

please some one help me send for me the codes for programme that helps in compueting the marks of stusednts by finding out their average total marks position in class and also tell if one is able to go to the next class with in a short time for a …

Member Avatar for stultuske
-3
129
Member Avatar for skill11

how i can write java programme like this out put Enter the number of minutes:*1000000000* 1000000000 minutes is approximately 1902 years and 214 days

Member Avatar for JamesCherrill
0
118
Member Avatar for murali2489

Hi All, I have an online screen in which a form filed is filled with Numeric Characters .. if the entered four digits are not numeric, it will throw an alert message saying "**Only numerics allowed**". Now the new requirement is it should accept alphanumeric characeters instead of Numeric Characters. …

Member Avatar for djjeavons
0
170

The End.