32,199 Topics

Member Avatar for
Member Avatar for emanhossnycs

Hello All, I have an open source maven java project. I downloaded it to Eclipse using Git. when I made "maven install" to this open source, it is converted into 4 other projects, where each project has a war archive. I tried to test these projects by adding thier war …

Member Avatar for masijade
0
67
Member Avatar for emanhossnycs

Hello All, I have an open source java project in Eclipse & have a folder contains the javadoc of this project & I need to associate the java doc to this project. can any one tell me how I do this?

Member Avatar for JamesCherrill
0
217
Member Avatar for london-G

Hello, I am storing an image in the database. I would like to know how can I resize the image before actually saving the image. I have a form with a label, a button and a text field to store the image path.Here is my code public void SaveImage() { …

Member Avatar for JamesCherrill
0
286
Member Avatar for vedmack

Hi, I'm looking for an java api which can convert .doc file into .pdf file... i need this solution to work without any intervention of MS Office/Windows. If anyone have any idea about such api , please reply. Thanks ahead Daniel

Member Avatar for stultuske
0
3K
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
114
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
200
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
205
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
268
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
875
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 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
126
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
263
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
187
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
298
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
197
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
404
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
219
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
622
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
331
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
148
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
201
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
145
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
301
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
325
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
705
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

The End.