31,001 Topics

Member Avatar for
Member Avatar for vedmack

Hi ... i found a way to add watermark in java to the following images format: PNG , JPG , GIF... (like this: [url]http://blog.codebeach.com/2008/02/watermarking-images-in-java-servlet.html[/url]) Now im looking for a way to do the same with BMP and TIF... (cause this way doesn't work on that format...) Anyone know how to …

Member Avatar for peter_budo
0
159
Member Avatar for ronnexngh

Im trying to program a Caeser cipher that will upload a file from documents and enrypt/decrypt it. i do not know how to implement one main class containing all that and different methods in one class. i have different separate classes. can anyone pls put them together as one main …

0
51
Member Avatar for onsir

I have design report with ireport, if that report i run in netbeans its ok, but while i move to drive c: got error like this "error displaying report page. see the console for details" if i try in command prompt get message [code] java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown …

0
95
Member Avatar for AS_82

What is the difference between s/mime ,tsp and pgp? Reference :encoding type in Bouncy Castle.org , jar download

0
63
Member Avatar for drawer1001

I am facing a problem here. I want move a trianngle shape and a reatangle shape using only one slider. I have created the two shapes And each of this shape is selected what i click the corrosponding button. two buttons are used to select two shapes Can any onw …

0
34
Member Avatar for suretd

Good Day All, I have another question: I have done this program to sort a list of artist and their biggest hits, etc. It has 4 parallel arrays that i have to sort alphabetically using the Sort Option in the menu bar. I am using Bubble sort, to sort the …

Member Avatar for VernonDozier
0
147
Member Avatar for blur0224

I'm trying to develop a simple program that automatically downloads PDF files from a web server and organizes them into Files. When I download any .pdf file, the size is roughly 30% bigger than when I download it with a browser and it pdf opens, but does not display. So …

Member Avatar for blur0224
0
214
Member Avatar for onlinegear

hi there i am trying to creat a subtotal for each row i have created and for each item in the combo box i dont know how to do this can some help plz [CODE] /* * To change this template, choose Tools | Templates * and open the template …

Member Avatar for peace_of_mind
0
113
Member Avatar for alias120

I am having a lot of trouble getting this program to work properly. No compilation errors, but this is the output i get when i compile; init: deps-jar: Compiling 1 source file to /home/alias120/NetBeansProjects/createFile/build/classes compile: run: Checking to see if file already exists... true You produced the following file contents: …

Member Avatar for alias120
0
74
Member Avatar for rosiecomsoft

[B]IN JAVA!!![/B] what is this "noclassdeffounderror"??? i m getting this error at run time what should i do? while searching on Google i found this "public NoClassDefFoundError(String s) Constructs a NoClassDefFoundError with the specified detail message. [B]Parameters[/B]: s - the detail message." :confused:

Member Avatar for Ezzaral
0
79
Member Avatar for joker21

The program must allow the user to create a login by using Dr.Java GUI. After he creates a log in it will ask the user would he like to by an Xbox360 game or a PC game. After the user clicks the box it opens a selection of 10 different …

Member Avatar for Ezzaral
0
243
Member Avatar for v-n
Member Avatar for mmmusa

Hello everyone can someone please help me on my TMA..........i'm having problems in the following Q's....please provide me the codes SNIP I WILL BE REALLY THANKFUL TO YOU:pretty: C) - Translate the following scenario to a Java Program: [10 M] We assume that an array a of size n and …

Member Avatar for javaAddict
0
214
Member Avatar for airey1988

Hi, i am a newbie at this and i am having problems with the following errors. U:\year 3\AssignmentFinal\Customer2.java:29: non-static method setName(java.lang.String) cannot be referenced from a static context i have inserted my code below any help would be greatly appreciated. [ICODE] // customer class import java.io.BufferedReader; import java.io.File; import java.io.FileReader; …

Member Avatar for birina
-1
1K
Member Avatar for gitech

Hai Friends, i want read the string from server and to write in bytes to openOutputStream. Example : byte bytestr[]={0x1D,0x28,0x4C,0x87,0x02,0x30,0x43}; StreamConnection con =(StreamConnection)Connector.open(serverConnectionString); os = con.openOutputStream(); os.write(bytestr); i want to read bytestr from server as string using httpconnection, and to convert to byte array,how can i implement this. please help …

Member Avatar for peter_budo
0
140
Member Avatar for bharanidharanit

Hello, Where to download jade.core and jade.wrapper packages??? Thankyou

0
70
Member Avatar for Zibo

Hello. I've got simple JFrame and into that I put JPanel (object of subclass of JPanel class). I want to check, what's this panel's size from inside of this panel class, but every method (getSize, getBounds) returns [0,0]. If I call getSize method from JFrame class, then it's fine, but …

Member Avatar for Zibo
0
188
Member Avatar for llemes4011

Hi, I was wondering it was possible to write a program that runs from the System Tray in Windows XP. For example, AVG runs all the time, but is on the System trey, so you don't worry about it until you need it. I was wondering if it's possible to …

Member Avatar for JamesCherrill
0
92
Member Avatar for MrMackey

Hi everyone, Here I will keep you updated on my first java project that I do, excepting the school projects. The main Idea is to make a new window where calculations are done by [B]multiple inputs and outputs[/B]. At school I already learned to make windows, fields and buttons, but …

Member Avatar for verruckt24
0
81
Member Avatar for jaiprakash15

Dear Friends, am working on a project where i have to convert the HTML file to a PDF file. am using tidy and fop methods for converting. am not good at XSL style sheet. when i try to run the program by giving the input file (39.html) to ma program …

0
92
Member Avatar for add4

How can i check if the ObjectOutputStream has unread object wriiten to the stream? When i'm runnig my program which has server and client (the client sends the screen shot and the server displays it) in the client side i got an error(java.lang.OutOfMemoryError: Java heap space), any one can help …

Member Avatar for JamesCherrill
0
99
Member Avatar for kanodi

Hi guys, wonder if you could help me with a problem I am having. I am working on a app that parses an XML file, and when executed from my IDE(Netbeans) all works flawlessly, however when I deploy and execute my app via Webstart I get a NullPointerException on the …

Member Avatar for kanodi
0
215
Member Avatar for redmaverick

I have to generate html files from .java files. I tried generating from eclipse but was stumped. there are just 4 files. Can somebody help me out. Send me a pm please!!!

Member Avatar for redmaverick
0
116
Member Avatar for add4
Member Avatar for sneharaveendran

public class Test { public static void main(String[] args) { String line=".Raghu"; System.out.println(line); char[] h= line.toCharArray(); char[] f=null; int c=0; if(h[0]=='.') { for(int i=0; i<h.length; i++){ f[c]= h[i]; System.out.println(f[c] + h[i]); c++; } f[c]='\0'; } } }

Member Avatar for sneharaveendran
0
93
Member Avatar for JustmeVSI

I'm having a project form school for a inventory management system and I want to do something extra. The inventory management system is for spare parts for machines and I want to be able to see the the manuals(PDF files) for thous machines in the GUI but I have no …

Member Avatar for hardik.rajani
1
237
Member Avatar for hemanthjava

Hello there, I am using the JTextPane in my Java Swing Application. How do I make it Handle Hypelinks. Like lets say the use enters [COLOR="Green"]\\some_foldername\some_subfolder_foldername\some_file.xls [/COLOR]or any other file type, It should Automatically, treat it as a hyperlink. Is it Possible to have such a functionlaity [B][U]JTextPane Hyperlink Functionality[/U][/B] …

Member Avatar for hardik.rajani
0
2K
Member Avatar for grisha83

Hello, I have an assignment where i have to create few methods using linked lists. one of them is method that should create an integer singly list and return the head. While i know how to add a single node i am not sure how to create list of them. …

Member Avatar for hardik.rajani
0
109
Member Avatar for Magda

Hello, I have been fighting with this assignment for almost 3 week now and it's almost ready besides one part that I simply don't understand. I would appreciate if someone could maybe translate it into "simple English" for me and maybe give me a little guidance. Basically we are writting …

Member Avatar for JamesCherrill
0
142
Member Avatar for MrDiaz

Hi everyone I've been trying to develop a mid-scale (size wise) application in the past few days. Something I'm doing for fun, to get some experience. My application is some sort of log system, it can have different users, each user has its own log entries (or records) and so …

Member Avatar for JamesCherrill
0
189

The End.