Please Fix Tutorial Errors - Customize and Personalize an Application
Oracle JDev Powers-That-Be,
There are some misspellings on the Customizing and Personalizing an Application on the Oracle JDeveloper tutorials (http://www.oracle.com/technetwork/developer-tools/jdev/ccset18-all-084117.html) that got me for about 4 hours today.
In "Create and Deploy Customization Class", #7
<JDEVELOPER_HOME>jdeveloperjdevlibpatches< jar_file_name> . Should be
<JDEVELOPER_HOME>jdeveloper/jdev/lib/patches<jar_file_name>.That really got me. I didn't know the significance of that error until I compiled, looked over the example multiple times, and then got to page 37 of 57 on http://www.scribd.com/doc/40222312/21/The-CustomizationLayerValues-xml-configuration-file
Also, step 12
adf-config.xml should be adfc.config.xml
Please fix.
Will
I fixed the directory specification at:
http://www-content.oracle.com/technetwork/developer-tools/jdev/ccset18-all-084117.html
Similar Messages
-
Please fix these errors for me...
Here is my code...
When I compiled it, it said
Exception in thread "main" java.lang.NullPointException
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at javax.swing.JFrame.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at SecondsCalc.<init>(SecondsCalc.java:43)
at SecondsCalc.main(SecondsCalc.java.166)
Please fix these errore for me..Thank you!!
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class SecondsCalc extends JFrame
private JPanel panel; // To reference a panel
private JLabel messageLabel1; // To reference a label for days
private JLabel messageLabel2; // To reference a label for hours
private JLabel messageLabel3; // To reference a label for minutes
private JLabel messageLabel4; // To reference a label for minutes
private JTextField daysTextField; // To reference a text field for days
private JTextField hoursTextField; // To reference a text field for hours
private JTextField minutesTextField; // To reference a text field for minutes
private JTextField secondsTextField; // To reference a text field for seconds
private JButton calcButton; // To reference a calculate button
private JButton exitButton; // To reference a exit button
private final int WINDOW_WIDTH = 310; // Window width
private final int WINDOW_HEIGHT = 100; // Window height
Constructor
public SecondsCalc()
// Set the window title.
setTitle("Seconds Calculator");
// Set the size of the window.
setSize(WINDOW_WIDTH, WINDOW_HEIGHT);
// Specify what happens when the close button is clicked.
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// Add a GridLayout manager to the content pane.
setLayout(new GridLayout(6, 1));
// Build the panel and add it to the frame.
buildPanel();
// Add the panel to the frame's content pane.
add(panel);
// Display the window.
setVisible(true);
The buildPanel method adds a label, text field, and
add buttons to a panel.
private void buildPanel()
// Create a label for days to display instructions.
messageLabel1 = new JLabel("days");
// Create a text field for days 10 characters wide.
daysTextField = new JTextField(10);
// Create a label for hours to display instructions.
messageLabel2 = new JLabel("hours");
// Create a text field for hours 10 characters wide.
hoursTextField = new JTextField(10);
// Create a label for minutes to display instructions.
messageLabel3 = new JLabel("minutes");
// Create a text field for minutes 10 characters wide.
minutesTextField = new JTextField(10);
// Create a label for seconds to display instructions.
messageLabel4 = new JLabel("seconds");
// Create a text field for seconds 10 characters wide.
secondsTextField = new JTextField(10);
// Create a calculate button with the caption "Calculate".
calcButton = new JButton("Calculate");
// Create a exit button with the caption "Exit".
exitButton = new JButton("Exit");
// Register the action listeners.
calcButton.addActionListener(new CalcButtonListener());
exitButton.addActionListener(new ExitButtonListener());
// Create a JPanel object and let the panel
// field reference it.
JPanel panel1 = new JPanel();
JPanel panel2 = new JPanel();
JPanel panel3 = new JPanel();
JPanel panel4 = new JPanel();
JPanel panel5 = new JPanel();
JPanel panel6 = new JPanel();
// Add the label, text field, and button
// components to the panel.
panel1.add(messageLabel1);
panel2.add(messageLabel2);
panel3.add(messageLabel3);
panel4.add(messageLabel4);
panel1.add(daysTextField);
panel2.add(hoursTextField);
panel3.add(minutesTextField);
panel4.add(secondsTextField);
panel5.add(calcButton);
panel6.add(exitButton);
add(panel1);
add(panel2);
add(panel3);
add(panel4);
add(panel5);
add(panel6);
CalcButtonListener is an action listener class for
the Calculate button.
private class CalcButtonListener implements ActionListener
public void actionPerformed(ActionEvent e)
int seconds; // The number of seconds
int min;
int day;
int hour;
long result;
// Get the text entered by the user into the
// text fields.
day = Integer.parseInt(daysTextField.getText());
hour = Integer.parseInt(hoursTextField.getText());
min = Integer.parseInt(minutesTextField.getText());
seconds = Integer.parseInt(secondsTextField.getText());
//Actullly gettext method returns string and you need to convert it into int or double value using Integer.parseInt method.
// Calculate to seconds.
result = (day *((hour * 60 * 60) + (min * 60) +seconds));
// Display the result.
JOptionPane.showMessageDialog(null, result + " seconds");
Private inner class that handles the event when
the user clicks the Exit button.
private class ExitButtonListener implements ActionListener
public void actionPerformed(ActionEvent e)
System.exit(0);
public static void main(String[] args)
SecondsCalc ac = new SecondsCalc();
}fgb wrote:
Exception in thread "main" java.lang.NullPointException
at SecondsCalc.<init>(SecondsCalc.java:43)
at SecondsCalc.main(SecondsCalc.java.166)Something is null on line 43. What does that line do and why is it needed?That's right!!
I did not need to put line 43, which was
// Add the panel to the frame's content pane.
add(panel);
Thank you very much!!! -
How to identify the OAF customizations and personalizations
Hi All,
We are in the process of upgrading from 11.5.10 to 12.1.3
There are certain customizations and personalizations done on many OAF pages of various modules (like Self service, iRec, iSupplier, etc)
Will the upgrade impact these customizations/personalizations? If so, will it be entirely removed and do we need to redo the customizations/personalizations over again?
Also, I have another need for identifying the existing customizations and personalizations (in 11.5.10) in OAF pages. There are no documents with us which will explain the existing customizations/personalizations in OAF . Need to identify the same. Is there a way which i can follow to identify these?.
Any pointers on this will be really helpful
Thanks,
MohanCan you please give me some pointers on identifying/migrating the OAF personalizations/customizations
Any documents/links to the same will be really helpfulRun the query in this thread to find the list of personalizations -- Re: Can I get a report of all personalizations?
To migrate personalization, please refer to:
Upgrading Form Personalizations and OA Framework Personalizations from Oracle E-Business Suite Release 11i to 12.1 (Doc ID 1292611.1)
Customization in Oracle Applications (Doc ID 743490.1) -- Moving Personalizations between instances
Tips About FNDLOAD (Doc ID 735338.1)
Thanks,
Hussein -
Possible fix for errors 11503 and 50
Here's a possible fix for Error 11503 and for error 50.
It worked for me and hopefully it will work for you.
I believe this error is caused by the incomplete downloading of either an update to an app. In my case it was caused by closing the lid on my laptop when I was downloading app updates on a very slow internet connection in a hotel.
Anyway, here is what I did that fixed it completely.
Close iTunes.
Go to this folder : /iTunes/Mobile Applications/Downloads
You'll find tmp files there. Drag them out of this folder to a temporary folder on your desktop. The Downloads folder should now be empty.
Restart iTunes.
All should be fine.
If it is, delete the desktop folder with all the temp files.
If it's not, then I can't help further, but that's what worked for me.Several possible causes from the info you gave
Battery level low - recharge it for at least 4 hours till the full charge sign displays (2 prong icon instead of lightning icon).
Time to Reset the iPod - Press the Menu and center Button for about 10 secs till the Apple logo comes ON, then let go of the buttons.
your hardisk is starting to give problems, hence the skipping and some song refuse to play. - Do a disk diagnostic - follow this post by tt2.
https://discussions.apple.com/message/17028567#17028567
If you have updated any sofware application in Windows, then follow this Apple support procedure
http://support.apple.com/kb/TS1539
Most likely you have to do all, as the iPod hardisk filesystem would have been corrupted, or else the iPod Reset would bring it to normal operation.
Good Luck! -
Error message and close down application
Error message and close down application when trying to import images in Lightroom. Any thoughts?
Also:
Which operating system?
Which version of Lightroom?
Which camera?
How are you importing the files - cable to camera? Card reader? -
I checked FAQ and solution to quit first and not close windows didn't help me. Will a new version be coming out to fix this problem? And if so PLEASE make it soon
hello, this is currently a problem in firefox when you first close all open firefox windows and then close the application afterwards - the bug should be addressed in a later version of firefox.
as a workaround in the meanwhile you could close firefox (through firefox > quit) while the browser window is still running or try this: enter about:config into the firefox location bar (confirm the info message in case it shows up) & search for the preference named '''browser.sessionstore.resume_from_crash'''. double-click it and change its value to '''false'''. -
My Jot forms are not being read in Firefox and I am getting an error message in all cases on my websites. They work fine in Safari, etc. on my MAC. And please don't ask me about versions. Your Firefox is the problem as usual. PLEASE FIX ASAP. IT IS URGENT.
Hello,
The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
'''Note''': ''This will cause you to lose any Extensions and some Preferences.''
*Open websites will not be saved in Firefox versions lower than 25.
To Reset Firefox do the following:
'''For Firefox versions previous to 29.0:'''
#Go to Firefox > Help > Troubleshooting Information.
#Click the "Reset Firefox"[[Image:Button reset]] button.
#Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
#Firefox will open with all factory defaults applied.
Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
Did this fix your problems? Please report back to us!
Thank you. -
Apple, please fix safari random crash and tab auto refresh
Apple, are those issues ever going to get fixed? They destroyed iOS 7's usability and the latest 7.1 beta doesnt seem to address either.
1) Safari randomly crashes - happens multiple times a day. Sometimes opening new pages, sometimes scrolling through existing page. This issue has NEVER happened on iOS 6.
2) Tabs auto refreshing when you switch from 1 tab to the next - it is EXTREMELY annoying, for example when i was typing up a post in a tab or looking at the result of a long search, then need to lookup something else so i open up a new tab, then when I go back to the original tab, it automatically refreshes wiping out everything i just typed or the searh result. This issue has NEVER happened in iOS 6.
I am using ipad air with the latest update. Please fix them, it's unacceptable.This is a user-to-user forum hosted by Apple. You are only talking to other users here not Apple.
If you have a suggestion for Apple use: http://www.apple.com/feedback/ipad.html -
How can I fix the error image and get the regular image to load?
Ever since the recent big update for Firefox I've been getting some sort of error for loading certain images.
Here: http://tinypic.com/r/103bf3l/8 I have put one of those sites that give that error
--The original image that is supposed to show is also available in that image
Certain sites give a different size of that error image, but it looks the most like an error triangle
I've already tried the troubleshoot of not loading images and none of the options worked
If someone has this problem or knows how to fix it, it would be a great helpSolution found:
The addon "Stylish" with the theme "Google two themes" interfered with the image loading of the sites. Disabling the theme was the solution. -
Please fix print errors in Admin Guide
In the admin guide PartNo: 820388511, pages 49-51 have a print error and need to be fixed.
fgb wrote:
Exception in thread "main" java.lang.NullPointException
at SecondsCalc.<init>(SecondsCalc.java:43)
at SecondsCalc.main(SecondsCalc.java.166)Something is null on line 43. What does that line do and why is it needed?That's right!!
I did not need to put line 43, which was
// Add the panel to the frame's content pane.
add(panel);
Thank you very much!!! -
Customize and Personalize Window
How can I customize the welcome screen where we login?
I wanted to put our company logo.
Thanks!!
IccaHello Icca,
We can changes in login window because this logo is copy write and if you want to company logo then better is set backgroud image in given bellow path
Administration>System Initialization>General Setting> select Font & Bkgd Tab.
here we select company logo ,after clicking on browse button.
Thanks
Manvendra Singh Niranjan -
Please fix the Update Button and Update all
this looks like bug
Please read this whole message before doing anything.
This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
Step 1
The purpose of this step is to determine whether the problem is localized to your user account.
Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
Test while logged in as Guest. Same problem?
After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
Step 2
The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, or by a peripheral device.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2. -
var myDoc = app.activeDocument;
myDoc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
myDoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
var myTable = app.selection[0].paragraphs[0].tables[0];
myColumns = myTable.columns.count();
myRows = myTable.rows.count()
var myCs = new Array;
for (var c = 0; c < myColumns; c++)
myCMaxWidth = 0;
for (a=0; a< myRows; a++) {
if (myTable.rows[a].columns.length!=myTable.rows[a].cells.length) {
continue;
try {
myOutText = myTable.rows[a].cells[c].texts[0].createOutlines (false);
} catch (err) {
continue;
myC1Width = myOutText[0].geometricBounds[3] - myOutText[0].geometricBounds[1]
myOutText [0]. remove();
if (myCMaxWidth < myC1Width) {
myCMaxWidth = myC1Width;
myCs.push(myCMaxWidth);
myTable.columns[c].width = myCMaxWidth;
var myTableWidth = myTable.width;
var myTableColWidths = myTable.columns.everyItem().width;
var myColumns = myTable.columns.count();
var myTableParent = myTable.parent;
var myParentWidth = myTableParent.textFramePreferences.textColumnFixedWidth;
var myAdjustment = (myParentWidth - myTableWidth)/myColumns;
for (var c = 0; c < myColumns; c++)
myTable.columns[c].width = myTableColWidths[c] + myAdjustment;This forum is about scripts in Acrobat/Reader. You need the one for
InDesign Scripting, I believe. -
Error stopping and undeploying java applications and View Log Messages link
I was redirecting to this forum by instant chat JCS Support.
Have a few issues with my JCS account:
1) I am getting the following error when clicking View Log Messages hyperlink - Failed to get messages for service - java.
2) Have 2 applications: Branding and Connectivity which I tried to stop or undeploy and getting errors for both.
Could you help to resolve the both issues?Sorry, it was unfortunate that C2C could not help you. We had an issue last week with our console. Its now fixed, and you should not see this issue anymore. If you do continue to see an issue, post here and I will investigate.
-
Tutorial Error: Wrong image in Developing Applications w/ Oracle ADF UIX
I was going through this tutorial and noticed that the image in Step 4 of "Create Default Business Components" shows the wrong View Objects. It shows CustomersView, OrderItemsView and OrdersView when they should be DepartmentsView and EmployeesView.
updated image to show departments and employees, not the customer schema. thanks for catching this.
Maybe you are looking for
-
How to pass value to some view parameters for a nested combo, on load ? 11g
Hi, I have a requirement for to do two combos, in a master-detail relationship. The first one it's a very simple combo, a simple query in DB, so far so good. The second one depends on first and depends either from the username, that I get from a Payl
-
Report category for this selection
u201CPeriodu201D selection dates: - Codes 1, 2, D, F, I, K u201CSelection Criteria: - Payroll Area - Person ID - Personnel Number (multiple selection) - Employment Status equal to 1 or 3 I want to have the above as part of my sel
-
Error Code -8062???
Can't empty my trash!! This error code comes up everytime!!! HELP!!! I downloaded Family Feud from Uproar.com and the file was named mop.com.....yikes. now I can't empty my trash without getting that code -8062.
-
Task execution always in new window
Hi, I would like to open each task in new window. For example, when I create "New Expense Report" from tutorial, form opens in new window and new instance is created. When I execute task from inbox, form with "New Expense Report" opens in workspace (
-
Macbook Pro OS 10.6.8 will not recognize IOGEAR GUH420 combo usb/firewire hub
My IOGEAR GUH420 combo usb/firewire hub is not being recognized by my MacBook Pro. I have changed usb ports and cables and still no luck. I have another unpowered Belkin hub that it sees, but not the IOGEAR. I bought the IOGEAR based on Mac forum rec