98 byte By
hsy541a at 2007-11-27 11:29:18
<p>How to package other jar files into one jar? How can i get the class in the inner jar file?</p>
Hi,is it possible to download data like 1- 1000 numbers from a website into a java program in my local machine and execute the java program on the local machine.If yes then how can i pass this data ? can it be passed one by one or at bulk through a file? how doe my local program capture this data ? ...
2230 byte By
shoorica at 2007-11-27 11:29:33
I've written my first web page and uploaded the files to a server, the html text appears on the page, BUT the applet does not, when i open the java console this is the error that i get. Thank you to anyone that can help! When i run the it from my local drive everything worksload: class ...
719 byte By
N00dlesa at 2007-11-27 11:30:42
I'm currently using a JSpinner in my application with a SpinnerNumberModel. I gave this model a maximum value of 9999. Thinking this would be enough for the JSpinner to function correctly, it still gives problems. When I go past the 9999 value, it returns to 1.000. I never asked for these decimals ...
Dear all,I saw the following error in the server-login log file:--2007/07/24 15:15:03.098 (pid 2698)server/login/moreinfo#1185261303098Loaded class com.sco.tta.server.login.LdapLoginAuthority: { LDAPRoot=.../_ldapmulti/forest/ accountEnabledChecked=false anonLogin=false attemptPasswordChange=true ...
Hi forum user,I have integrated my SGD with AD.I saw the following error in jserver log file:--# more jserver2698_error.log2007/07/24 15:25:22.626 (pid 2698)server/ldap/error#1185261922626Sun Secure Global Desktop Software (4.31) ERROR:Active Directory service discovery failed: Failed to find any ...
2647 byte By
taqi10a at 2007-11-27 11:31:04
Respected Members,I am making a very simple program in Java swing using jdk1.4.2, the program simply contains a JFrame and nothing else,what it is simply doing that I have binded an event to this frame and which is that every time the user presses Ctrl-F3(control and F3 key) so a message is ...
789 byte By
taqi10a at 2007-11-27 11:31:06
Respected Members,In swing if we bind some event to a component or any container for example if I want to bind an event from my JFrame tha it is necessary that the focus should be set on the JFrame while its running, if the focus is not set than the event will not be fired, is it some way that I ...
347 byte By
jawadaha at 2007-11-27 11:31:09
HiI am using JWindow for showing a splash window before the application starts. First i use a JPasswordField for Login but i unable i type in it then i use progress bar and still it is unable to get any value for update.when i use JFrame it all works good.is there any method that JFrame borders not ...
365 byte By
mslinuza at 2007-11-27 11:31:25
well, i've been googling around for a while, but just curious if any of you havean idea in how to make netbeans-like toolbar ( or just got the link ).if you don't use netbeans then the netbeans-like toolbar is similiar to, for example, ms office application toolbar.when drag it doesn't float it ...
1271 byte By
jjdevinea at 2007-11-27 11:31:27
Hi,I am writing a swing based application which appends rows of components to a JPanel.The JPanel is within a JScrollPane. Currently I have set the components up like this:private Dimension mainPanelSize = new Dimension(780,3500);//....panelMain = ...
560 byte By
frknmla at 2007-11-27 11:31:40
hi friendsi have problem with getting value from jtable and format it.i want to get value from database and add it to my jtable value with formatted. i wrote my code like that.NumberFormat fmt=new ...
19862 byte By
musiigea at 2007-11-27 11:32:29
Hey Guys Am sending data to the serial port a byte at a time and a response is recieved at the serialport for every sent byte. My problem is that all the responses are displayed in the application after all the bytes are sent. I want each response to be shown in the application when it's recieved ...
1640 byte By
TPJ77a at 2007-11-27 11:32:39
Hello! I use NetBeans 5.5 and I develop my GUI with Matisse. I'm rather a beginner in developing GUIs with this editor...I'd like to display a dynamically changing image. The idea is: GUI shows the image, that is modified as some computations run in a different thread. App will be run on a single ...
Hello Experts,I have created a class CustomTableCellRenderer which extends DefaultTableCellRenderer for coloring of some rows in Table. this class looks likepackage gui;import java.awt.Color;import java.awt.Component;import javax.swing.JTable;import javax.swing.table.DefaultTableCellRenderer;public ...
611 byte By
Alantiea at 2007-11-27 11:33:21
I am using my own renderer to Jtree (which is showing windows file system) and have next problem.while trying to get name for files system dont see root one, i.e.:File f = new File("c:\\");System.out.print(f.GetName());shows nothing, while its perfectly working for other files.also - can some1 tell ...
Hi all,I wrote a program which uses the javamail with mail.jar and activation.jar .I have no trouble with my computer, but other computers do not open the jar file with the "Could not find the main class.Program will exit" error message. So that, i wanted to include javamail's jar files in the my ...
428 byte By
geffdea at 2007-11-27 11:33:30
I recently finished some work where I rewrote an applet. The applet used to require only Java 1.1; however, because I used Swing instead of the AWT, Java 2 is required to run now. It will run under 1.4.2, but I am afraid that some customers might need to upgrade their Java installation. I found ...
I am trying to develop a swing app. This app contains JLabel-JTextField/JTextArea pairs. However when I run the code, the JTextArea does not contains the vertical scroll bars. I am enclosing the method that creates the swing components. Am I missing something in the code for adding ...
Hey JAVA Gods,I was wondering if you folks can take a look see at the code below. I can't seem to get the calculate button to work..../packages imported for class and method useimport java.applet.Applet;import java.awt.*;import java.awt.event.*;import javax.swing.*;import ...
577 byte By
Dwarfera at 2007-11-27 11:33:49
Hi all,I currently have a gui, a client chat programe, with two JTextAreas and one send button.The uppermost, and first, JtextArea displays incoming messages, and the lowermost JTextArea is used to write messages to be sent. When the gui starts I would like the flashing cursor to be in the bottom ...
hello.how can I modify the following code so that JCheckBox can be used instead of JComboBox? i want users of my video library system to be able to view CD/DVD/Game information by name, age category, type and year. Users should be able to click on a check box (e.g. view by name, age category, type ...
889 byte By
oki78a at 2007-11-27 11:33:56
Hi,I posted my question already in the swing forum, but they told me to post it here... so here is the description of my problem:on my linux system (Linux localhost 2.6.21-gentoo-r4 #1 SMP PREEMPT Mon Jul 16 13:53:53 CEST 2007 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux) I am ...
<p>Hi all,</p><p>I would like to change the background colour that is displayed while a JButton is being clicked. I have had a look around and can't find anything that tells me. </p><p>I know this is probably a quick one but the help would be much appreciated</p><p>Thanks</p>
783 byte By
geffdea at 2007-11-27 11:34:04
I recently finished some work where I rewrote an applet. The applet used to require only Java 1.1; however, because I used Swing instead of the AWT, Java 2 is required to run now. It will run under 1.4.2, but I am afraid that some customers might need to upgrade their Java installation. I found ...
<p>How can we disable an item from JList?</p>
<p>I have a buttons in a java applet that, when clicked, display text. I want to make the buttons link to a web page instead. How would I go about doing that?</p>
Hi all,i'm a student in polytechnic in Singapore. i am doing a disc rental project using jcreator right now and is facing some difficulties.i need to create a table inside a class with back ground, some lables, a 10 rows table and a generate button. and what this table gotta do is to generate 10 ...
115 byte By
RPalluka at 2007-11-27 11:35:26
<p>Is possible to see a jDialog into the application bar or only jFrame windows can showing there?</p><p>thanks</p>
I have a JList matched up with a JTextArea. Inside the JList I want it to list numbers corresponding to the line in the JTextArea. I have the JList's and JTextArea's JScrollPanes synched up. But, I only want the JTextArea's JScrollPane to show up. Is it possible to have the JList's JScrollPane ...
105 byte By
his_oWna at 2007-11-27 11:37:10
<p>It won't let me launch from my webserver</p><p><jnlp>codebase has an invalid value: $$codebase</p>
<p>i found this item when searching how to increase the size of the dropdown bigger in a combobox. But in java 1.5 show() method is basiccombopopup is deprecated. How to override this?</p>
My Solaris 10/x86 system currently has JRE patches 118668-05 and 118669-05. I tried to install the -12 patch updates, but the installation failed:--Package SUNWj5jmp from directory SUNWj5jmp in patch 118668-12 is not installed on the system.--How do I update the JRE on this ...
Every time I click on the More button, the TextField doesnt show up.It like, the panel is not refreshed?/****************************************************************//* Hello*//* *//****************************************************************/import java.awt.*;import java.awt.event.*;import ...
Hello world :)I use JDK 1.6 update 2. My problem description:I have a database with product categories. Each category can have unlimited subcategories. For displaying it's structure in a JTree I've extended DefaultTreeModel, override some necessary methods and everything works fine. But when a ...
Hi Everybody,i love java very much. but here before i used VB when it comes GUI design. When i tried to use GUI in java, it seems to be very tedious to work on. So please any one can help, how to get expert in swing technology. As compare with VB design environment, no environment in java ...
The java -Xmx option can be used to set the maximum amount of memory the Java application can use. But in the Windows Task Manager, the "java.exe" process can use more than this upper limit (e.g. started app with -Xmx128m to use up to 128 MB but Task Manager shows for the java.exe process 219 MB!). ...
Hi!I'm currently developing an application in Java 6.0 which uses HTML, and I realised there were differences when printing a page contained in a JTextPane and in FireFox, for example. I experimented a bit and realised the problem was in general printing (not just HTML), and mostly worse with ...
<p>Hi everybody,</p><p>I created a JTable, in which the data is coming from a server, when I am printing the JTable, the data is not populating but when ever i resize the any column of JTable the data is getting displayed,,, </p><p>So any one give me a better solution for this, </p><p>Regards,</p>
122 byte By
frknmla at 2007-11-27 11:40:44
<p>is there a datagrid for java?</p><p>if there is how can i use?</p><p>please help me?</p><p>thanks for your replies.</p>
<p>Is there any difference between Swing & HTML forms?</p>
Hy!I want to make a table with number of rows and columns took from 2 texfields!I have 2 textFieldsfor row and column number and a Create button!I add 2 valkues for the textFields,for ex 6,7 and i push the create button and the table created has 6 rows and 7 columns!How can i do that?Any ...
Hy!I want to make a table with number of rows and columns took from 2 texfields!I have 2 textFieldsfor row and column number and a Create button!I add 2 valkues for the textFields,for ex 6,7 and i push the create button and the table created has 6 rows and 7 columns!How can i do that?Any ...
<p>How is Java Beans useful in wrting java progs</p>
406 byte By
downeta at 2007-11-27 11:41:24
Hi, I've this error in only one pc with Vista / IE 7 when tring to connect to the classic webtop ( http://server/tarantella)Unable to connect: Security is enabled on the server, but the client Security Pack is missingThe same pc can connect with SGD native client or with Java Webtop (server/sgd) ...
Hello,I have a wierd problem with JTextField and the memory.I need to fill a JPanel with different Components (including JTextFields), then do some calculation, remove the Components and filling the JPanel again.When i so this too often my i get an OutOfMemory Exception. I narrowed to problem down ...
92 byte By
New_Kida at 2007-11-27 11:41:56
<p>How do I add a Selection listener to the cancel button in a Windows file open window?</p>
221 byte By
subbu1a at 2007-11-27 11:42:06
<p>Hi,</p><p>I want the selected item of the JComboBox not to be listed with all the other unselected items. But, the selected item item should be displayed. Please help me. Earliest reply is appreciated.</p><p>Thanks</p>
I've got a JMenuBar that I want to populate with JMenuItems taken from a variable array, say [20, 30, 50, 70] (these values change every time though). This is fine, I've managed to do that with no problems.Now I want to add an ActionListener to each of these JMenuItems that will take the number ...
361 byte By
geffdea at 2007-11-27 11:42:36
I have a number of small, embedded devices running a Cherokee web server, each with their own IP address and hostname. Each of these devices has a standard image that includes a few applets. Is there a way to make a standard JNLP file that could go in the image but would still work? My concern is ...