32,204 Topics
| |
[COLOR=#0000ff][B]Hello, I am new at this forum. I am trying to figure out how, if possible at all, to transfer data from an asp .net page into a javascript script in an HTML page. [/B][/COLOR] | |
hi i have this site: [url]http://sosco.port5.com[/url] i have some java script in it like: no scroll, no right click, no select is a posibility, when loading the page, to hide that statusbar message? or to disable the stausbar? because i'm to tired to purge the code for testing! thx | |
I am having some trouble trying to get a JApplet to display in a Browser. The [applet](http://javafaq.nu/images/smiles/icon_sad.gif) does compile and does come up (displays) in a Microsoft Windows window frame, but does not display in a browser. I have several components that I place in JPanels and successfully place those … | |
Hi everyone, I do not actually have web page i can test this with but would really appreciate anyone with experience on this topic. You see i am trying to upload a html page called wt.html from my disk to a website called [url]http://www.rt.com/rf/wt.html[/url] using the HttpUrlConnection by first authenticating … | |
hi every one .... thanks for comming to this thread ... Dose any one know how to separate mantissa and exponent of a double and store them in two integers? :?: | |
i was trying out some java gui's and when I tried the Panel nothing seems to come out. The frame does! but no panel. i was wondering it could be the JDK was old my version out home is jdk1.0.5 something like that. or my code was old school. The … | |
Just wondering if it is possible to register an Access database as a date source using code in a java program rather than going to Windows to register the data source with the database manager. How would this be done? If anyone could point me in the right direction I … | |
I have some code that I need help with. The code compiles but I get a runtime error. Here is the error and the code: ERROR: Exception in thread "main" java.lang.Error: Do not use MessageLog.setLayout() us e MessageLog.getContentPane().setLayout() instead at javax.swing.JFrame.createRootPaneException(JFrame.java:465) at javax.swing.JFrame.setLayout(JFrame.java:531) at MessageLog.<init>(MessageLog.java:23) at MessageLog.main(MessageLog.java:90) Press any key … | |
Hi everyone, I have a rather confusing question but please bear with me for a while. You see i am trying to upload a file to a certain website called [url]http://www.doubleZ.com[/url]. I am using java's HttpUrlConnection class. Connecting to the website is okay and i am also getting its outputstream … | |
I am looking for someone that can help me online for an hour or so maybe a few times for the next few weeks that can help me understand what I am supposed to do for my class programs. I am not looking for someone to do them for me … | |
I'm trying to list some data gathered from files into a JTable - here's the code I'm using: [code] /* Packages listed in a JTable */ Object[] columnNames = {"Package", "Version", "Installed"}; int packageCount = getPackageCount(); Object[][] data = new Object[packageCount][2]; Scanner dbIndex = new Scanner(new File("/opt/npkg/dbindex.npkg")); int row = … | |
How to populate data from a database table into JList? I can retrieve the data from the database table ok. No Problem but now want to populate those data into the JList. What are the code for this? I need to know the class and methods for this. Thanks!!!! | |
[LEFT]Hi, I am not new to ASP and c# but fairly new to Javascript. I have a Datagrid with a button column and a text column. The button is linked to a Javascript which when pressed prompts the user to enter a number. Upon entering a number and clicking 'OK', … | |
Hello, I am novice programmer and I am experimenting with swing. I created a scrollabe text area that seems to scroll great when I hold down a key for a long time. But, when I select a different tabbed pane and then come back to the pane containing the text … | |
what kind of java do they use in those yahoo games. im a senior computer science student and its time for my classmate to make a special project. we a re planning to make a game of checker with the same interface as the yahoo games. I would like to … | |
I am new to this forum. Thnx for accepting my registration . | |
I have a question about creating my own custom classes. I want my own class - NButton. The idea of this class was to quickly make JButtons, by adding my own custom argument sets. Here's my prototype for this: [code] import javax.swing.JButton; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; /** * NButton - … | |
I am having trouble getting my timer class working with my scoreboard frame and application. Any constructive help is appreciated. [code] public class ScoreboardTimer extends Thread { private int counter; // the number of seconds remaining on the timer private boolean isRunning; // toggle variable that controls whether the counter … | |
This post is asking ALOT, but I'm not expecting one person to leave me a hefty response, so any bits of widsom and knowledge are MUCHLY appreciated. Could someone(s) please explain to me (in detail) how to use: - Data Models (for JTree's and JTable's) - Pattern matching (java.regex.Pattern) and … | |
Hi there , I need a calculator that is flexible enough to perform +,-,/,%,^and *. can you help plz:?: | |
hi, I did what it said in the following web site([url]http://www.onjava.com/pub/a/onjava/2005/05/11/sqlexplorer.html[/url] ) but cant get the sqlexplorer to show up in the other menue. has anyone else tried this in LINUX(suse), or if anyone has tried different way let me know please. thank you | |
[B]Just want to confirm if it is possible to set in this case (Example 1) class Two's pumpId variable by sending it as a parameter to class One's setPumpId method without using the usual return method assignment like : [code]pumpId = o.getPumpNum()[/code] I think in C++ we can do that, … | |
Ok, I know this is a stupid-easy question, but how do I "gather" (best word I could think of) an image? [code] JFrame frame = new JFrame(); Image programIcon = (...?...); frame.setIconImage(programIcon); [/code] My main issue is that since Image is abstract, I can't exactly go " = new Image("yadda.png");" … | |
Hi I want to repaint a page in applet. When that page is repainted, i want part of that page not to be repainted. That should be static. Is there any way to separate the applet window as so many parts and to repaint the necessary parts only? Pls provide … | |
So. I'm having an issue. I'm building an application that loads class files as extensions during runtime. I'm doing this, becuase I want my application to be able to grow in the future without having to recode and recompile the main source.. So, I plan to make seperate class files … | |
I am trying to calculate the miles per gallon per trip & also average miles per gallon overall. The per trip works fine but I can't get the average to work. It is just reading the per trip instead of averaging. Any suggestions? THANKS! import java.awt.*; import java.applet.*; import java.awt.event.*; … | |
Write a program that reads an unspecified number of integers. Keep track of how many positive and how many negative numbers are entered. The input terminates when the user enters 0. Display the count and the average of the positive numbers and the count and the average of the negative … | |
I have a table which is placed in a Panel. This panel contains a Horizonal Scroll Bar which when scrolled to the right enables us to see the whole JTable. Now the Table itself has a vertical scrollbar. The probelm is when the user can't see the whole table he … | |
I am not able to code this is java. I have to use nested loops. The pattern I need to get is 1 2 3 4 5 6 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 |
The End.