Java Core APIs
- Need help with jsr-82 API's
- Sat, 12 Feb 2011 09:59:00 GMT
- Hello everyone! I am supposed to write j2se code for bluetooth connection. I came across two jsr-82 bluetooth protocol implementation: Bluecove and Avetana. I tried a sample code with bluecove. But since my OS is WIN 7 64-bit OS, it shows me error: "bluecove_x64.dll is missing". So i am at a...
- Class not found in remote application
- Tue, 18 Jan 2011 11:48:00 GMT
- I have just tried to use a remote application through Internet explorer which I had previously used successfully several months ago.I am getting the error below and really have no idea where to look - should I ask the people who control the server where the app is located? or is something on the mac...
- An integer, x has a binary value (using 1 byte) of 10011100. What is the binary value of z after
- Sun, 09 May 2010 20:56:00 GMT
- int y = 1 << 7;
int z = x & y;...
- converting binary file to text file in java
- Mon, 14 Jun 2010 03:29:00 GMT
- please tell me codr for converting binary file to text file in java...
- Domain of Cookie lost
- Wed, 07 Jul 2010 03:16:00 GMT
- Hi Experts,
We have a scenario whereby we have 2 portals of different domains and 1 portal is the leading portal that has a login page where when user logins, submits credentials to the 1st and 2nd portal and sign on simulatenously seamlessly. This is done by creating a java servlet in the 1st po...
- error with assert
- Mon, 12 Jul 2010 09:46:00 GMT
- i am using jdk1.3 and while compiling a programme using assert i am getting following error
prompt>javac -source1.3 a2.java
javac: invalid flag : -source
usage: javac<options><source files>
where possilbe option include
and then there is a list
a2 is my java file name
k...
- JoptionPane problem in Java 6
- Sun, 15 Aug 2010 21:24:00 GMT
- Hi all,
Can anyone please tell me why this happens.
When i use Joptionpane in java 6 the application hangs. But with Java 5 it runs fine. What could be the issue.
...
- how to add headet & triler to .txt file
- Wed, 18 Aug 2010 07:02:00 GMT
- how to add headet and triler to .txt file...
- Java sound with usb headset in mac.
- Thu, 14 Oct 2010 04:52:00 GMT
- hi,
I Created a sound recorder using java sound api, it works perfectly in windows and linux. But when i try to play the audio file(wave) in mac os with logitech headset the audio is not clear heavy noise is produced in the background. But if i play the same file in open speaker of my system its cl...
- If let's say the user did not type in anything & just clicked ok & when the user pressed ESC
- Tue, 19 Oct 2010 16:27:00 GMT
- [/code]
what should I modify?
my program:
[code]
import javax.swing.*; // import the swing library for I/O
class Level1
{
public static void main (String[] param)
{
...
- JCE Padding
- Tue, 02 Nov 2010 02:37:00 GMT
- What is the equivalent of the RSA_PKCS1_OAEP_PADDING in JCE for encrypt mode?
...
- Actual length of encrypted hex value of PIN BLOCK
- Wed, 01 Dec 2010 04:14:00 GMT
-
Hi
One gentleman posted it on 13th friday,July,2007 below posting and another gentleman very well answered below query.
Now question to one answered it.
When I am following exactly I am getting the encrypted PIN BLOCK as 32 character length.
out of this 16 character representing my exp...
- JACOB-> I need a sample code to connect Quality Center in java
- Tue, 07 Dec 2010 01:53:00 GMT
-
Hi,
am using JACOB api to access HP quality center to run scripts, Can anyone please share sample code to connect QC through JAVA...
Thanks in advance
Shrinivas
kbshrinivas.thatisjava.com.gmail.com
...
- code for reading & deleting a line in a file simultaneosly using inter thread communication
- Mon, 26 Apr 2010 00:00:00 GMT
-
i need a code for reading and deleting a line in a file simultaneosly using inter thread communication?...
- Delete file in client system?
- Mon, 05 Apr 2010 00:14:00 GMT
- How to delete a file in client system from server? I'm developing remote anti-virus. Please help me....
- iam getting 3 graph after executing instead of 1 graph why?
- Tue, 06 Oct 2009 02:11:00 GMT
- pls help 4 me...
- Zooming Images
- Mon, 14 Jul 2008 17:31:00 GMT
- Hi there.I need my application to be able to zoom in on an image and have the user be able to scroll to see any part of the image that is too large to be shown in the given area.I have looked on the web and I have read the Programmers Guide and everything else on JAI on the Sun website, but I am...
- Zooming area in the frame
- Mon, 14 Jul 2008 13:55:00 GMT
- I have an image in which different areas are highlighted (using red rectangle) when the up/down arrow key is pressed.here is the code which highlights the imagecode: package com.sample;import java.awt.BorderLayout;import java.awt.Color;import java.awt.Dimension;import java.awt.Graphics;import ja...
- Zooming an entire "workspace" - & user may work with zoomed version
- Wed, 19 Sep 2007 16:04:00 GMT
- I'm creating an app that has some sort of a workspace that may contain "frames" (not Frames in Java context) that contain either text or images. The text in these frames have different styles (Fonts), colors, alignment, space between characters etc.)I will need to create a zooming facility ...
- I am writing a program that displays geometric str...
- Wed, 19 Sep 2007 07:03:00 GMT
- I am writing a program that displays geometric structures (e.g. circles, straight lines, ...etc.). I need my program (the Canvas) to be able to zoom out and zoom in the display, similar to what acrobat reader does, for example, with the text it displays. Is there any available classes that can ...
- zoom problem(help needed urgently )
- Fri, 21 Sep 2007 09:54:00 GMT
- friends, i m working on a class in which there is one JPanel inside a JInternalFrame. i have functionalities like zoomin and zoomout. for that i m writing my code on mouse clicked of JPanel but my problem is that mouseClicked method is getting called several times even if i click once on JPanel ...
- Zoom a 2D graphic object?
- Mon, 14 Jul 2008 17:14:00 GMT
- We can zoom a 2D graphic object by scale x,y coordinates.For instance, a rectangle will be enlarged to double size by double its coordinates,My question is to seek the idea of keeping the object size unchanged but zoom the inside detail?Just like Mapquest,click zoom button more details will be c...
- Zone blocks
- Wed, 16 Jul 2008 21:21:00 GMT
- What are zone blocks and how can we make use of them in assocication with jsp. Is there any site which has the tutorials containing examples of zone blocks? Please suggest some sources where i can find examples to learn more about zone blocks....
- Hi.I'm trying to compress a file, but no book ...
- Sun, 13 Jul 2008 21:57:00 GMT
- Hi.I'm trying to compress a file, but no book I've got says anything about it, and I couldn't see much in the sun tutorials, etc.Looking through the API, it seems like I should be using stuff in java.util.zip, but I don't know ehat to use, eg what is the best Zip format.I tried t...
- Zipping subdirs along with files
- Sun, 13 Jul 2008 21:18:00 GMT
- I need to zip up the contents of a selected directory. Zipping up files in this directory is no problem. However, my 'ziiping' needs to take into account if the dir has subdirs in them. Does anyone have some code examples that I could see for this? I was thinking that I need to utilize r...
- Zipping Subdirs
- Sun, 13 Jul 2008 21:22:00 GMT
- I need to zip up the contents of a selected directory. Zipping up 'files' in this directory is no problem. However, my 'zipping' needs to be able to handle subdirs(and subdirs and so on) in that particular directory. Does anyone have some code examples that I could see for this?...
- zipping or not
- Sun, 13 Jul 2008 21:21:00 GMT
- hello all,in my program I want to parse several flatfiles. Depending on the source (where these files come from originally) a parsing procedure can involve only a single file, or several files (different or same format), or a zipfile with several files (different or same format).My problem is th...
- zipping files: problems with german umlauts in filename
- Sun, 13 Jul 2008 21:21:00 GMT
- hello all,i have a problem with zipping files:i use the class JarOutputStream, JarEntry (java.util.jar.*) to zip few files together to a archive. That works fine for normal filenames but when the filename have a german umlaut like "Prfdokument.txt" in it, in the zip archive the filename is calle...
- ZIPOutputStream's putNextEntry(ZipEntry e)
- Wed, 16 Jul 2008 21:01:00 GMT
- Hi, I have question about ZIPOutputStream's public void putNextEntry(ZipEntry e). When we place a ZipEntry, the method puts this ZipEntry object in the beginning of the stream right? The one occupied beginning position prior to the method was placed behind this current one or is it deleted?...
- ZIPOutputStream's public void putNextEntry(ZipEntry e).
- Sun, 13 Jul 2008 21:56:00 GMT
- Hi, I have question about ZIPOutputStream's public void putNextEntry(ZipEntry e). When we place a ZipEntry, the method puts this ZipEntry object in the beginning of the stream right? The one occupied beginning position prior to the method was placed behind this current one or is it deleted?...
- "Java Core APIs" Related Questions
- New Features in Java 1.4
- Where can I find some information about how to use the new features in Java 1.4? Some tutorial or well explained code sample?Thanks in advanceNono ...
- Dynamic Class Loading - The Advantages & Uses
- Hi all, I am trying to understand where Dynamic Class Loading is used. I know that its core to the Singelton design pattern but is it used in RMI or similar tecchnologies, and if so how?Thanks,...
- Reading text file by an applet?
- How can I read a local/web text-file by my applet with no disturbance of browser's security-exception?thanks in advance ...
- IOException
- I want to know what is communication link failure, I get this error when access JDBC, I get an error with unexpectd sql exception raised along with the io exception of communication link failure.sample : java.sql.SQLException: Error during query: Unexpected Exception: java.sql.SQLException messa...
- memo application
- Happy new year everyone. Please im working on a jsp/servlet project involving sending inter-departmental memos in a corporate organisation.Im a bit confused as regarding implementation details... im considering making it an email application, but since the application is going to be restricted/c...
- Help on JavaMail - special character in subject
- Hi Guys,I encounter problem when I put special characters in subject. Ex. String subject = test . Then mimeMessage.setSubject(subject). I sent the email to my company account and hotmail account, it worked fine. But I sent to yahoo account, it turned out test__ . (adding underscore in space). I...
- JavaMail: Manipulating the FROM attribute in one session
- There's an FAQ in the Sun site which says:quote:Q: How can I explicitly set the SMTP FROM: attribute when sending a message?A: The mail.smtp.from property can be used to set the SMTP FROM: attribute. If this property if absent, the message's From attribute is used. If multiple threads ne...
- How to pop-up a message for mail?
- Hi All Can anybody tell me how to write a program to pop-up a messagewhen i'll get mail on to a current logged in system in the LANThanks In Advance...
- ImageTypeSpecifier for 12 bit grayscale image
- Hello All! I am using ImageTypeSpecifier to create grayscale instance for 8, 16-bit images. But when i try to create for 12 bit grayscale image, i am getting the following exception,code:Caused by: java.awt.image.RasterFormatException: MultiPixelPackedSampleModel does not allow pixels to span da...
- Direct hardware access under java
- is it possible, to directly access for instance a printer port adress? i did so last time with visual c++'s outp() and inp() statements under win95, and with some drivers under winnt 4.0. now i need the same function with XP and java. i explicitly DON'T mean to print a nice form, but to read ...