Can some one tell me why the following code :-
class ArrayBasics {
public static void main(String args[])
{
int dynamicMulti[][];
dynamicMulti = new int[3][7];
for (int i = 0; i < dynamicMulti.length; i++)
{
for (int j = 0; j <...
All I want to do is create a JFrame with one JButton. This I can do. When the button is pressed I want another JFrame to open. This I can also do. However, when the new window opens I want the old window to dissapear. I'm having real trouble with this and I would appreciate it if some one could...
All I want to do is create a JFrame with one JButton. This I can do. When the button is pressed I want another JFrame to open. This I can also do. However, when the new window opens I want the old window to dissapear. I'm having real trouble with this and I would appreciate it if some one could...
Here's the code in it's most simplistic way:-
//v 1.3
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.net.URL;
// This example demonstrates the use of JButton, JTextField
// and JLabel.
public class LunarPhases implements ActionListener {
JPanel mainPanel...
I'm using the following inner class to make button open a new frame. When the new frame opens, the original one still remains but I want it to dissapear.
How do I do this please?
-----------------------------------------
ButtonHandler handler = new ButtonHandler()...
I have an ArrayList containing Objects which have String member variables. I need to output the values of these String member variables.
The ArrayList is called list1.
I've used list1.get(0) to return the 0 index Object in list1. How can I then access the returned Object's member variables...
I have three tables, employee, training and a link table emp_train which contains foriegn keys for both the training and employee table.
I need to be able to double click on the employee_nr field and execute a query that shows all training courses completed by that employee.
Do I need a data...
I've upgraded the version of Forms we use to version 6. Some of the functionality in the applications written in Forms 5 has been lost.
It doesn't seem to like ROWID when you execute a query for a data block. During run time the error reads "column ambiguously defined".
Is there...
Hi,
Our DBA informs us that it is impossible to install Forms version 6 in a Oracle 8i home. It complains that the Oracle home is already being used and you can't put Forms 6 in there.
The DBA says that Oracle Forms version 6 will only work with Oracle 7.
Please could somebody give me some...
When I select username,password from dba_users I get something like this
USERNAME PASSWORD
W12 1653F8262E4F5BA8
DEMO DD9FD1922A0AFC29
S4V52 7CC5B1DE8CD9F3DB
S4V5FGTGGH...
Thanks for the recent reply to this one. Something springs to mind though. If I have a .fmx called AM01.fmx saved in the same directory as the form I'm using, and I have a trigger saying
CALL_FORM('AM01.fmx');
shouldn't this open the form? At present I just get FRM-40010. If the forms are in...
Thanks for the recent reply to this one. Something springs to mind though. If I have a .fmx called AM01.fmx saved in the same directory as the form I'm using, and I have a trigger saying
CALL_FORM('AM01.fmx');
shouldn't this open thte form? At present I just get FRM-40010. If the forms are...
I need to know how I can deploy a multi form application withouth having to hard code the letter of the drive, or the full path name, in the call_form statement.
e.g. call_form('H:\application_name\forms\FORM_NAME.FMX');
If I do this then all the forms MUST reside in that directory. Is there a...
I have SDK1.4.1_01 and I'm typing this at the DOS propmpt :-
C>\sdk1.4.1_01\BIN\javac HelloWorld.java
I keep on getting :-
Bad Command or File Name
The class is called HelloWorld and I've even tried saving it in a directory called HelloWorld but still no joy.
I really want to get started...
Hi,
I downloaded Java SDK 1.4 from java.sun and installed it on my PC. I was going through a tutorial and wrote piece of code which I copied from the tutorial to Notepad called :-
divelog.java
The instructions said :-
Compile DiveLog.java as follows:
On a Windows platform...
Does anyone know how you can select the current date AND time from DUAL?
I know SELECT SYSDATE FROM DUAL returns the date, but not the time.
I need to write PL/SQL code that automatically inserts the exact time a record is created, into on of the fields.
Cheers.
Hi,
Can any body point me in the right direction. I have the .fmx files for the application. Is there any documentation for configuration of the server that Oracle 8 needs to be installed on, or anything else that needs to be done? You can send any info to andrew.smith@vosperthornycroft.com. As...
I downloaded Forms 6i from Oracle. I've got Oracle 8i Personal Ed. on my PC. When I installed Forms, first it wouldn't install because it was complaining that the "home" specified was in use by another Oracle thing. I managed to get round this by pointing it somewhere else and it...
Hi,
I need to truncate an Oracle 8i table from within a Forms 5 trigger. I've tried :-
EXECUTE IMMEDIATE 'TRUNCATE TABLE CTR_EMPL';
But it thows back an error when I compile it saying it doesn't like "IMMEDIATE".
Can you use Dynamic SQL in Forms??
What syntax can I use to do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.