Why is the Sun JavaBeans Tutorials so outdated?

282 byte By jtp512a at 2007-10-2 17:29:00
The JavaBeans tutorial at http://java.sun.com/docs/books/tutorial/javabeans/ is so outdated, it is ridiculous.Where is a *good*, or I should say *useful*, JavaBeans tutorial that goes through the beginnings and advanced topics?Thanks,--Todd

Sql issue

1169 byte By mpakalisa at 2007-10-2 17:32:08
Hi everyone,I am building an MDI app, and in one of my search internal frames I have a text field called product description. Ideally, I would like the user to enter one or more characters (even words) in that field, and the results, retrieved from a databse, to be displayed in a JTable.The ...

Content Management System integration with Swing application

875 byte By vijjja at 2007-10-2 17:33:19
Hi all,This is a repost of http://forum.java.sun.com/thread.jspa?threadID=727064I am doing R&D on finding out suitable Java based open source Content Management System.We have an J2EE application with Swing based client. Also a limited number of web interface are there. Database is ...

bdk

313 byte By hi_tech_ia at 2007-10-2 17:35:40
does anyone know where i can download BDK bean developer kit? I have trie this page http://java.sun.com/products/javabeans/index.jsp but i cant find no links to download bdk! i als installed the jdk 5.0 with netbeans but i cant find BDK.some help and suggestions are welcome!thank ...

Paint Component using scaled Graphics with TiledImage

4302 byte By rogerrhodya at 2007-10-2 17:38:28
Hello,I am in the process of adding minor image manipulation in an application I created. I have paint overridden on the component that displays the image and in that component I am scaling the graphics to a representation of the image at 300 dpi versus the screen resolution. The image is a ...

Very basic JavaBeans question

532 byte By GizmoCa at 2007-10-2 17:38:39
HelloIn my main.jsp file, I have the following code<jsp:useBean id="ForumsDB" scope="session" class="code.Forums"></jsp:useBean>This bean works. I am able to use the methods of ForumsDB in my main.jsp file.But the problem is, I cannot use this bean in my other JSPs!Maybe I am ...

Window on top of others

303 byte By r.hollensteina at 2007-10-2 17:40:34
Some programs have a feature that keeps their windows always on top of other applications (such as mini-players from WMP and iTunes). Is it possible to implement this using Java? Or maybe not /pure/ Java, but some method from AWT or Swing that relies on a native system call?R. ...

java beans

149 byte By devnaggoheela at 2007-10-2 17:41:14
i have problrm related to bean in my bean there is one method .browser prints the value which i m passinghow to stop this

open external link in JavaHelp view / Load .class from html

525 byte By effectivea at 2007-10-2 17:47:41
The objective is to open a web-page link (www.amazon.com) in an external browser (mozilla, firefox...). The link is inside html used to view JavaHelp contents. Actual implementation opens the link in the same navigator used by JavaHelp, and the site is opened without formatting. "Blank" target ...

Help with Fixed length text file

403 byte By Fast_Franka at 2007-10-2 17:47:57
Hello,I have a fixed length text file that I want to import using java.I want to read each line and break it apart.The problem is when I read a line, the data is not in a fixed position, so I cannot substring it out.The line ends with hex 0d 0aI fI open the file in Wordpad, it looks ok, all ...

howto refresh javabeans for oc4j app server

475 byte By scotto81a at 2007-10-2 17:49:30
Hi there,I am new to the javabean playing field and was playing around with jsp interaction with a test javabean. When I first deployed the jsp and javabean(Test.class) all worked well. But then I tried to make some changes to the java bean but the jsp was still using the old version of my java ...

insert into database from a textfield

354 byte By Willempiea at 2007-10-2 17:52:34
Hi !I would like to insert some information into my database.The information stands in a textfield, but how can i implement it in my sql statement?so it would be like this insert into database values ("textfield1", "textfield2") i think.tnx ...

Beginner java bean woes

475 byte By scotto81a at 2007-10-2 17:53:03
Hi there,I am new to the javabean playing field and was playing around with jsp interaction with a test javabean. When I first deployed the jsp and javabean(Test.class) all worked well. But then I tried to make some changes to the java bean but the jsp was still using the old version of my java ...

javabeans and the forum

181 byte By scotto81a at 2007-10-2 17:53:49
Can someone direct me to a forum that is able to answer my previous question, the post right below this one, instead of referring me to the code of conduct page?Thanks

Thanks for all the fish

14 byte By scotto81a at 2007-10-2 17:54:00
I quit.

new file extension

324 byte By ravisenana at 2007-10-2 17:54:06
hi all,I am doing a desktop application.i need to save the data with a new file extension.For example, i need to save the file with .lo extension.But the problem is, it becomes as a unknown format.How can i create a new file extension.please help me to solve this problem.Thanks in ...

Insert a date into java form

549 byte By boom_zapa at 2007-10-2 18:01:52
Hi,I am using NetBeans IDE, and trying to create a user interphase which involves having the user enter a date. Anyone know how to force the user to enter a date and nothing else. Could I somehow use JFormattedTextField? Also another question. Anyone know how to set the position of the window ...

How to read and write Unicode text with MS Access?

323 byte By anhdt2a at 2007-10-2 18:11:29
Hi all, I'm new to Java, so please forgive me if my question is too ... ^_^I'm writing a small program that read and write data with MS Access. However, when I insert Unicode text into the database, it has wrong encoding like this "h?y l? n?m".Please tell me how to fix this.Thanks in ...

can we operate cd roms through java programs

28 byte By pavan_balsani@yahoo.co.ina at 2007-10-2 18:11:46
can any help in this.

How i will print an Excel file from java

1055 byte By bina_jatnoa at 2007-10-2 18:21:20
hi,I have generated an excel file using "jexcelapi_2_5_9" tool. Now want to print this file.Now i cannot do it. How this possible? Is there anybody can help me? I have send my code :package selec_image;import jxl.Workbook;import jxl.write.*;import java.io.*;public class Excel { public ...

How i will print an Excel file in java

1065 byte By bina_jatnoa at 2007-10-2 18:21:26
hi,I have generated an excel file using "jexcelapi_2_5_9" tool. Now want to print this file from java.Now i cannot do it. How this possible? Is there anybody can help me? I have send my code :package selec_image;import jxl.Workbook;import jxl.write.*;import java.io.*;public class Excel { public ...

my gui doesnt open up to the correct size

222 byte By dryan83a at 2007-10-2 18:28:19
when i run my gui from netbeans, it opens up so you can see none of the components. i have to resize it manually everytime to see the components! if anybody has any ideas on why this is happening please let me know!

How to read value of -Xmx from my Java application?

372 byte By Jobinesha at 2007-10-2 18:28:31
HiI need to ensure that may application is always running with 256 MB of heap size. Can we read this value from Java applicatio so that I can force the user to ensure the setttings.I tried using Runtime.getRuntime().maxMemory(), but it gives me back the "reserved" space for the heap. Any better ...

Which version of java support for printing an excel file

2644 byte By bina_jatnoa at 2007-10-2 18:41:24
Hi,I cannot print an excel file in java. I can easily print an image from my printer using java. And i can print image, postscript. But i cannot print an simple text & an Excel file. I have printed an image file using following code. Is there anybody can tell me about which version of java ...

copying panel

288 byte By ravisenana at 2007-10-2 18:42:27
hi all, Is it possible to copy( or clone) a panel in one tab of a tabbed pane to another tab?. I tried doing that,but the problem is the source tab gets removed from the tabbed pane.please help me to solve this problem with your valuable suggestions.thanks in advance

How i will see the print Preview of an excel file by clicking a button in j

2051 byte By bina_jatnoa at 2007-10-2 18:43:14
hi,I have created an excel file from java. Now i want to see the print preview of this file by clicking a button in java? Is it possible in java? I have used JExcelApi for this. Is there anybody can help me?This is my code:package image_handle;import jxl.Workbook;import jxl.write.*;import ...

Showing a simple image in a simple application

583 byte By lpxa at 2007-10-2 18:46:36
Hi,I need to consult a database, retrieve a blob from it (image) and show it inside a window.I have several questions: - Which kind of component I use to display a image? (i saw people using jlabel in some tutorials, is this the most apropriated way of doing it?)- If the image is bigger then ...

JGoodies vs Spring RCP - design direction

808 byte By Pcasanovaa at 2007-10-2 18:47:38
Hi all,I'm neck-deep in developing a 3 tier app (Swing -> RMI -> custom app server w/Hibernate -> SQL Server (or any DB since using Hibernate :).I'm looking into databinding and have come across JGoodies Binding and also Spring Rich Client Platform, which also leverages data ...

executing jar file

266 byte By ravisenana at 2007-10-2 18:48:39
hi all, i have created a desktop application, for which i have imported a jar file.When i created my application into an executable jar file, it neither shows error nor executes.Please help me solve this problem.Its Very urgent.Thanks in advance

Populating a Java Bean with textarea and Drop Down List

5530 byte By Trampasa at 2007-10-2 18:50:45
[nobr]I have a jsp page that has a few text boxes, 1 drop down list and 1 text area.I am passing the information into a Java Bean.My problem is that my drop down and text area are not been propulated into my Java Bean but the text boxes are fine.Can anyone help please1st JSP page that has the ...

Detect if a JFrame is already opened

782 byte By il_Fustaa at 2007-10-2 18:50:56
I've a problem on a desktop MDI application, when the user click on and image, the application open a JFrame for the larger image, but every time the user click on it it open a new window.How can i prevent this? Can i check if the window is already opened?here is my code:public void ...

Exception while using JDIC

2048 byte By sankeethana at 2007-10-2 18:54:10
I used jdic-0.9.1 for registering the file type association of the file format that i have created. While executing the code for registering the association it throws the following exception.java.lang.UnsatisfiedLinkError: no jdic in java.library.pathat ...

how to set and get (user enteted) date_of_birth field value to java beans

19043 byte By srinivassl@gmail.coma at 2007-10-2 18:54:57
hi ,i'm new to jsp and java beans..i'm enterning new user details by using one jsp page (it include's html tags) and also using java beans, java class file. all the input attribute values are stored successfully but trouble with date_of_birth, how to store date_of_birth of user to database ...

Ctrl+C explorer?

342 byte By overdrivemurphy81a at 2007-10-2 18:55:11
Is there any way to trigger the Ctrl+C command from a java application' as to copy a text selection made by the mouse on internet explorer to the system clip board.If not does any know the exe / service the command calls and ill figure out the rest myself!Any help would be greatly ...

NetBeans wont recognise JavaHelp

451 byte By QWERTYa at 2007-10-2 18:59:15
Hi,Im implementing JavaHelp in my project in netbeans, it recognises it while im coding e.g. i can do the import and get the autocomplete lists etcbut when i try to compile the project as a whole it tells me package javax.help does not existbut if i compile the implementing files by themselves ...

problem with textarea

376 byte By ravisenana at 2007-10-2 19:04:18
hi all, I have problems in getting values from the textarea.Actually i need to get values line by line from the textarea.I tried it using getRowCount() method, but the problem is it gets line by line only if there is a new line character (ie.,Enter pressed) at the end of each line.please help ...

incompitable type problem plz help

762 byte By cooljassia at 2007-10-2 19:04:53
hi 2 all, please help me to get rid of this errorpublic class test{public class test{public static void main(String arg[]){Double maxValue[]=new Double[3];double ...

why this is not running - plz help

5785 byte By cooljassia at 2007-10-2 19:05:21
hi plz help me to y this is not runningimport java.awt.*;import java.awt.event.*;import java.io.*;import java.util.*;import javax.swing.*;import javax.swing.event.*;public class ProgressMonitorInputStreamTest{public static void main(String ar[]){JFrame frame=new TextFrame();frame.show();}class ...

how to execute executable files in linux

4451 byte By sribua at 2007-10-2 19:06:23
HiThis program displays all system executable commands in the form.This is working fine in windows O.S,but the same program has to be run in linux O.S.Ihave made changes like above but while running it is throwing io exception.if( osName.equals( "Linux" ) ){cmd[0] = " " ;cmd[1] = "/C" ;cmd[2] = ...

how to get application path in java bean

248 byte By enda at 2007-10-2 19:11:32
hi all, We will be using <%= application.getRealPath("/") %> for getting the application path in jsp. is there any similar way to find the path using a bean. Please do help....thanxMessage was edited by: end

New to javabean

201 byte By Ajit_Mahadika at 2007-10-2 19:12:27
hello everybodyhow to create a javabean component. Where to store it. And how to make use of it again.I am new to this concept.Plz help me in this regard.Thanx

calling constructor of super class

2698 byte By speeeeeedeeea at 2007-10-2 19:15:07
Hello everyone! I'm a student. I hope I can find guidance. Here's the issue:Super class: PropertySub class: Houseconstructor of parent class:protected Property(String id, char status, String address,String tenet, String landlord, long rent, char freq,long amtDue, String date, boolean repair, ...

Recursion

367 byte By guruarkalguda at 2007-10-2 19:17:15
hiCan anybody tell me the logic to display the all possible numbers in a recursion like if the given number is 4 then i want disply should be something like should give me value of the recusion number in this case as u all know 24.4*3*2*13*2*12*11OR11*21*2*31*2*3*4.Thanks in ...

how to call assembly language code from java

92 byte By praveenja at 2007-10-2 19:17:19
Hi,I need to call a assembly language code from java.Please suggest me.

javax.comm under WindowsXP and Netbeans

567 byte By Zodiaca at 2007-10-2 19:18:10
Hello everybody,I'm using "NetBeans IDE 5.0 with J2SE 5.0 Update 6 Bundle", i downloaded http://mdubuc.freeshell.org/Jolt/javacomm20-win32.zip since the Java Communications 3.0 API does not seem to support Windows. I put the files according to the readme file.I found an example code that ...

Remote Desktop For Java

362 byte By johnarevaloa at 2007-10-2 19:19:37
i am trying to do a remote desktop application, i have finished devices control, but desktop simulation needs 2Mbps, now im using JPEG RTP format, screen capture image size is better with PNG format, can i build a Datasource with PNG format and send across RTP SESSION?, OR someone knows other ...

JavaBeans and C++

99 byte By a_Jdeva at 2007-10-2 19:24:40
Is it possible Java beans and C++ components to work together without being on top of CORBA?

How does <jsp:setProperty .... property="*">.. work?

422 byte By neonavaa at 2007-10-2 19:27:58
[sorry for my bad english] I've seen a convenient way to automatically set javaBean properties from request which look like this. <jsp:setProperty .... property="*"..> I wonder that how does it work? How it understand which set method it should call, for example method setName() for ...

Help:Java Bean ourbutton is not loading in my BDK 1.1

239 byte By Symphony_legenda at 2007-10-2 19:29:10
Help me guys the ourbutton bean is not loading in my BDK toolbar?i check the jar folder .. button.jar file is there but ..i cant see that file in the BDK toolbar ..i am using 1.4.1 jdk....Help me please..

hiding the mouse pointer?

161 byte By znicolaoua at 2007-10-2 19:29:12
Is it possible to hide the mouse pointer in java? I have a full screen application and I do not want to see the pointer while it is running.Thanks!