35,618 Topics

Member Avatar for
Member Avatar for Phrren

I can't figure out why I'm getting this error, i've checked all the posts I can find here and they are all a method inside another method, which i'm pretty sure I don't have. This is the error message it gave me: Exception in thread "main" java.lang.RuntimeException: Uncompilable source code …

Member Avatar for stultuske
0
1K
Member Avatar for kdar

What can I use to write application for Windows Mobile 6.1 and 6.5? Application was written before (not by me) using VB.Net 2008, but I really would like to move away from it to plain C/C++ or possibly Java. Where can I start and what are my options? I don't …

0
115
Member Avatar for pmark019

I have a JSP with a button. This button is disabled. How can I make the JSP keep on reloading until isCheck becomes true and it will make the button enabled? Here is my javascript: var usbAvailable = <%=CheckUSB.getInstance().getStatus()%>; function confirmSound(){ HyPAS.Sound.confirm(); HyPAS.LED.on(); location.href='ScanJobServlet' } function checkUSB(){ <%response.setHeader("Cache-Control","no-cache");%> if(usbAvailable==false) { …

Member Avatar for asmira
-1
2K
Member Avatar for mbahny

I would love if someone had a few minutes to help me in my programming, I usually am alone doing this trying to learn and all, which entails a bunch of guess and checking with no real pin point of where I went wrong. http://pastebin.com/pE0giYq1 This is a script/program done …

Member Avatar for sirlink99
0
202
Member Avatar for abra_ka_dabra

Just curious to know if we can download youtube videos using downloader using HTTpClient? import java.io.*; import java.net.*; public class trial { public static void main(String[] args){ setAndAuthenticateProxy(); try { URL url = new URL("http://www.youtube.com/watch?v=tQC7rO8cjLs"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); InputStream in = connection.getInputStream(); FileOutputStream out = new FileOutputStream("C://Temp/fo.flv"); …

Member Avatar for pbj.codez
0
206
Member Avatar for NaikTharki

Hello Everybody Its has been a very long time since I started some programming project for my own curiosity. And now that curiosity has reached a level of desparation. I want to make a talking program. You know like Text-to-Speech. I searched google, but all I found was theory. I …

Member Avatar for JamesCherrill
0
274
Member Avatar for gagun

ok i was working on simon says app...here is the codes ...something is giving me nullpointerexception...i have trying to think for hours and cant seem to find anything to correct on...please help Here is the Main.java package com.gagan.simonsaysreplica; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; …

Member Avatar for cool_zephyr
0
877
Member Avatar for ross.clare.5

You are interested in keeping track of the team members and competition infor- mation for your school’s annual entries in computer science programming com- petitions. Each team consists of exactly four team members. Every year your team competes in two competitions. As an initial start for your database, create a …

Member Avatar for jwenting
0
1K
Member Avatar for xxmp

When the user finish with the order and pay then i want to create a pdf with the order receipt with email. How i can create this pdf online and sent it to the user? Thank you very much

Member Avatar for peter_budo
0
283
Member Avatar for PratikM

Sup guys, Its been a while since I've been on this but I have a question regarding If statements and strings. I am trying to create a program and I need the user input (yes/no) so i am using strings for that. The problem that I'm having is that whenever …

Member Avatar for JeffGrigg
0
129
Member Avatar for DavidKroukamp

I have recently been interested in Java Swing and Game development, so naturally I began creating many different 2D games. During them I found myself having to rewrite much code, but eventually I decided to write some classes that would help me whenever I wanted to make a game. Here …

Member Avatar for JamesCherrill
3
2K
Member Avatar for rnana

What attributes and behaviors would an object representing a bank account have?

Member Avatar for JamesCherrill
-2
269
Member Avatar for christine.dunne.963

ok Here is where I am now. I had the code written and it displayed correctly as long as salesPerson1 was the highest earner. I added the additional code if total2 > total1 and so on and now I do not get the calculations just display total commission of 1,2, …

Member Avatar for pbj.codez
0
188
Member Avatar for emanhossnycs

Hello, I want to create java application which can run .cmd file. I already write the code which run .cmd file, but my problem is the following: this .cmd file prompts the user to enter his mail and password & I want my program to give these values to the …

Member Avatar for emanhossnycs
0
300
Member Avatar for murali2489

Hi All, I have created a Class named Stock and have declared three Constructor . First constructor with no parameter, second constructor with three parameter, third with Two parameter. When I call my constructor inside a System.out.println(constructor); , it should display the variable Values right ? . but instead it …

Member Avatar for murali2489
0
198
Member Avatar for joma.tioquin

the program should be able to display array (11 22 33 44 55 66 77 88 99 00). then will ask user to input a number that is (only) in the array displayed. then display the new array. sample: input = 44, new array should be 11 22 33 55 …

Member Avatar for joma.tioquin
0
408
Member Avatar for somjit{}

[this](http://docs.oracle.com/javase/tutorial/uiswing/examples/components/TextComponentDemoProject/src/components/TextComponentDemo.java) is the code i was looking at.Its about how to use JTextPane and related swing text Components along with actions and keymaps. my question is that in this part textPane = new JTextPane(); textPane.setCaretPosition(0); textPane.setMargin(new Insets(5, 5, 5, 5)); StyledDocument styledDoc = textPane.getStyledDocument(); if (styledDoc instanceof AbstractDocument) { doc …

Member Avatar for somjit{}
0
221
Member Avatar for Szabi Zsoldos

Hi guys, I want to create a crawler to extract some infomation from a page. The problem is that it is written with the Java Wicket Framework and I don't know how to scrape informations from it because I don't know how to submit some post parameters. Is this possible …

Member Avatar for Szabi Zsoldos
0
391
Member Avatar for abra_ka_dabra

Can somebody explain me the use of "Delegate" and its equivalent in java... I am learning java programming and has encountered a C# program which use "Delegate" and pass on functions as arguments to another function.... I am trying to modify the C# program for use in java...

Member Avatar for sepp2k
0
628
Member Avatar for bhanu1607

Hi All, This is Bhanu Teja M. I have a problem with an object. Actually i have to convert an object into another object. Here in my Category object contains a list of categories (subcategories). The main issues in this code is we have to convert the all subcategories (Category …

Member Avatar for JamesCherrill
0
336
Member Avatar for shockwave4uonly

does java have the good scope in future or there is any other language which is having gr8 demand in coming time

Member Avatar for jwenting
-1
150
Member Avatar for kilermage

[Click Here](http://www.upload.ee/image/3396246/newerror1.jpg) This is what I get when I run the code. Please help me fix this. EDIT: A lot has changed since 2008 so idk how to upload the image so I just made a link for it.

Member Avatar for kilermage
0
204
Member Avatar for afifah.hamidon

Hi, I'm using ` int TxtAge = Integer.parseInt(tfAge.getText().trim());`to get value from my textfield and search it in database. Then, I'm using `Integer age = Integer.parseInt(stringTokenizer.nextElement().toString());` to go to next attributes in my database. I have no problem using those codes for textfield but when I'm using the JComboBox the result …

Member Avatar for afifah.hamidon
0
146
Member Avatar for Mr.M

Hi DW I'm creating an ATM program and now I want to call the Dispensor to dispense the selected amount from the options provided. The main problem here is importing this `import atm.input.CashDispenser; ` the rest of the code is fine. here is the full code: import atm.input.CashDispenser; import java.util.Scanner; …

Member Avatar for Mr.M
0
141
Member Avatar for SAM2012

Hi, I need help in running a software, thay have plugins in the from of jar files. which I dont know how to run and execute. I have JDK installed. Please suggest. Thank you so much.

Member Avatar for SAM2012
0
303
Member Avatar for somjit{}

i saw the docs for both .. but found the terms a bit hard to get. i was hoping to get some simple answers here. thanks for your time :)

Member Avatar for somjit{}
0
327
Member Avatar for Vaspar

I am using Robot's screenCapture method which returns BufferedImage, and then send using Socket to client on Android. If I don't reduce Quality then It works fine but it is very slow as Image is large and takes much time to send. I am trying to Reduce quality of BufferedImage(using …

Member Avatar for JamesCherrill
0
711
Member Avatar for cjap20

The link tied to this post is what I have to do. I could do this if I all the answers and questions were already established. My problem is that I don't know how to make the program start from scratch and make it "learn". This is my code as …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Deve

**Bold Text Here** hey any one can help me sort out my problem.. when i enter the customer id then in tabular format i want its all detail. how to do.. like in textBox i enter customer id as 1 then pressed ok button then in new frame or in …

Member Avatar for peter_budo
0
247
Member Avatar for tanmay.majumdar2

Hi people, I recently learn about 'Saving objects'. In order to practice it a little bit, I started making a problem. However I got stuck by a strange syntax error. It says that I do not have the right amount of braces. But I do have the right amount of …

Member Avatar for pbj.codez
0
169

The End.