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
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
i have problrm related to bean in my bean there is one method .browser prints the value which i m passinghow to stop this
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 ...
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 ...
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 ...
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 ...
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 ...
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
I quit.
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 ...
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 ...
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 any help in this.
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 ...
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 ...
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!
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 ...
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 ...
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
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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] = ...
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
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
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, ...
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 ...
Hi,I need to call a assembly language code from java.Please suggest me.
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 ...
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 ...
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?
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 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..
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!