Need help with Math related operations...
I'm learning JAVA for more than 3 weeks and I really need help...
I'm using SDK1.4 with Elixir IDE Lite (+patch installed).
In the following screenshot <http://www.geocities.com/jonny_fyy/pics/java1.png>, I've got this error (when I right-click -> Compile) . Do you know what it means & how can I solve it?
Here's how it should look if correct (pic scan from lab worksheet)... <http://www.geocities.com/jonny_fyy/pics/lab.jpg>
Here's my java file... <http://www.geocities.com/jonny_fyy/FahToCeltxt.java>
Thanks for helping :>
Hi jonny
One step ahead:
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
public class FahToCeltxt extends Applet implements ActionListener {
TextField msgField ;
String msg = null;
int msgValue;
Label title;
Button b;
public void init() {
title = new Label("Enter degrees in Fahrenheit: ");
add(title);
msgField = new TextField (10);
add(msgField);
// msgField.addTextListener(this);
b = new Button("Convert");
b.addActionListener(this);
add(b);
// public void textValueChanged(TextEvent event) {
// msgValue = Integer.parseInt(msgField.getText());
// repaint();
public void paint (Graphics g) {
int result = (msgValue - 32) * 5/9 ;
g.drawString("Degree Centigrade is " + result , 50, 50);
public void actionPerformed(ActionEvent e) {
msgValue = Integer.parseInt(msgField.getText());
repaint();
}Regards.
Similar Messages
-
Need help with Math functions for text-based calculator!!!
I have the calculator working but I am having trouble figuring out thow to do a square root function, nth factorial, absolute value, and Fibonacci. Basically i got the easy part done. Also I am using the case to do the funtions but I am not sure if there are symbols on the keyboard that are commonly used for these funtions so i just made some up. I am new to java and this is only my second assignment so any help would be appreciated. Thanks
import java.util.*;
import java.math.*;
public class calculator
static Scanner console=new Scanner(System.in);
public static void main(String[]args)
double num1=0,num2=0;
double result=0;
char expression;
char operation;
String Soperation;
System.out.println("Enter ? for help or enter the operation in which to be processed");
Soperation=console.next();
operation = Soperation.charAt(0);
switch(operation)
case '+':
System.out.println("Please the first number");
num1=console.nextInt();
System.out.println("Please enter the second number");
num2=console.nextInt();
result=num1+num2;
break;
case'-':
System.out.println("Please the first number");
num1=console.nextInt();
System.out.println("Please enter the second number");
num2=console.nextInt();
result=num1-num2;
break;
case'*':
System.out.println("Please the first number");
num1=console.nextInt();
System.out.println("Please enter the second number");
num2=console.nextInt();
result=num1*num2;
break;
case'/':
System.out.println("Please the first number");
num1=console.nextInt();
System.out.println("Please enter the second number");
num2=console.nextInt();
if(num2==0)
System.out.println("Cannot Divide by Zero");
result=num1/num2;
break;
//square root
case'^':
System.out.println("Please enter a number");
break;
//fibonacci
case'#':
System.out.println("Please enter the position of the Fibonacci number");
break;
//factorial
case'!':
System.out.println("Please enter the number for factoring");
break;
//absolute value
case'&':
System.out.println("Please enter a number");
num1=console.nextInt();
result=num1;
break;
// help funtion
case'?':
System.out.println("Type + for addition, - for subtraction");
System.out.println("* for multipliction, / for division,^ for the square root");
System.out.println(" & for absolute value, # for fibonacci,and ! for factorial");
break;
System.out.println("The result is:"+result);
}rmabrey wrote:
I have the calculator working but I am having trouble figuring out thow to do a square root function, nth factorial, absolute value, and Fibonacci. java.lang.Math.sqrt()
nothing for factorial - write your own.
java.lang.Math.abs()
nothing for Fibonacci - write your own.
% -
Need help with applet related problems
First of all hello to everyone. I'm new to this forum. I usually can solve my problems google-ing around, but this time I just ran out of ideas.
I'm trying to develop a jni applet that can run native code for performance. I used netbeans so far and the applet works great when run from within the ide. At some point a managed to make the applet run inside firefox and iexplore, however somehow i screwed something up and now i can't make it run anymore. I don't really know what i did but i think it may be related to these lines in the console since everything up until awt works fine in the applet:
basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
basic: Native library jawt.dll not found
Ofc i may be wrong.
This also my be a local problem because a friend of mine tried the applet himself and said it's working.
All the jars are selfsigned.
below i posted the console output in case you want to take a look. Also I am interested about the "try again.." messages that seem to pop over and over again.
Java Plug-in 1.6.0_27
Using JRE version 1.6.0_27-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Gladiator
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : 200
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : null
network: Sever response: (length: 564, lastModified: Wed Sep 07 16:30:17 EEST 2011, downloadVersion: null, mimeType: application/x-java-jnlp-file)
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
Content-Length: 564
Content-Encoding: null
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\57\7465fe39-7a36cd96-temp
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
temp: new XMLParser with source:
temp: <?xml version="1.0" encoding="UTF-8"?>
<jnlp href="launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<jar href="SpaceGame.jar" main="true" />
</resources>
<resources os="Windows">
<nativelib href="lib/swt.jar"/>
</resources>
<applet-desc
name="test app"
main-class="javatest.JTest"
width="800"
height="600">
</applet-desc>
<security>
<all-permissions/>
</security>
</jnlp>
temp:
returning ROOT as follows:
<jnlp href="launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="SpaceGame.jar" main="true"/>
</resources>
<resources os="Windows">
<nativelib href="lib/swt.jar"/>
</resources>
<applet-desc name="test app" main-class="javatest.JTest" width="800" height="600"/>
<security>
<all-permissions/>
</security>
</jnlp>
temp: returning LaunchDesc from XMLFormat.parse():
<jnlp spec="1.0+" codebase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/" href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
<homepage href="null"/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
<jar href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar" download="eager" main="true"/>
<nativelib href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar" download="eager" main="false"/>
</resources>
<applet-desc name="test app" main-class="javatest.JTest" documentbase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.html" width="800" height="600"/>
</jnlp>
network: CleanupThread used 16572 us
basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
network: No Custom Progress jar
network: LaunchDownload: concurrent downloads from LD: 4
network: Total size to download: -1
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : 200
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : 200
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : null
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : null
network: Sever response: (length: 12948, lastModified: Tue Sep 06 22:46:50 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
network: Sever response: (length: 2007707, lastModified: Tue Sep 06 22:47:10 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
network: CleanupThread used 1 us
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
Content-Length: 12,948
Content-Encoding: null
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
Content-Length: 2,007,707
Content-Encoding: null
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c-temp
network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar , version null...
security: Blacklist revocation check is enabled
security: Trusted libraries list check is enabled
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
network: CleanupThread used 1 us
network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/5/26fb4185-10c9079c
network: Download Progress: jarsDone: 1
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-temp
network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar , version null...
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
network: CleanupThread used 2 us
network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/10/1082924a-7851bf5e
network: Download Progress: jarsDone: 2
network: Created version ID: 1.6+
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
basic: LaunchDesc location: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
network: Created version ID: 1.0+
network: Created version ID: 6.0.18
security: Validating signatures for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
security: TustedSet null
security: Empty trusted set for [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp]
security: Round 1 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
security: Entry [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar] is not prevalidated. Revert to full validation of this JAR.
security: Round 2 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c com.sun.deploy.cache.CachedJarFile@698403
security: Round 2 (1 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e com.sun.deploy.cache.CachedJarFile@e80842
security: Have 1 common certificates after processing file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
security: Istrusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp false
security: Accessing keys and certificate in Mozilla user profile: null
security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
security: User has granted the priviledges to the code for this session only
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
security: Mark trusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
basic: LD - All JAR files signed: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
basic: passing security checks; secureArgs:true, allSigned:false
basic: continuing launch in this VM
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: JNLP2ClassLoader.findClass: javatest.JTest: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: JNLP2ClassLoader.getPermissions() X
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.events.PaintListener: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
basic: JNLP2ClassLoader.getPermissions() X
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SWTEventListener: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Drawable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Layout: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.layout.FillLayout: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Composite: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Scrollable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Control: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Widget: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Shell: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Decorations: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Canvas: try again ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 81605 us, pluginInit dt 2397573 us, TotalTime: 2479178 us
basic: JNLP2ClassLoader.findClass: javatest.JTest$1: try again ..
basic: Applet initialized
C:\Users\Gladiator\AppData\Roaming
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display: try again ..
basic: Removed progress listener: null
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Device: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRIC: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Event: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.C: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Platform: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEX: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Lock: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Library: try again ..
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TCHAR: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.ACTCTX: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.DLLVERSIONINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.STARTUPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display$1: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Font: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Resource: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Callback: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WNDCLASS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TaskBar: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Listener: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PAINTSTRUCT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GCData: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GC: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PROPERTYKEY: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.HIGHCONTRAST: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.MSG: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Synchronizer: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTError: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTException: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Cursor: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMHDR: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMLVDISPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT: try again ..
basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
basic: Native library jawt.dll not found
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-awt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-awt-win32-3735.dll
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.MenuItem: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Item: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Menu: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.ToolTip: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$11: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$13: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.EventTable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WINDOWPOS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LRESULT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.RECT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Point: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SerializableCompatibility: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Rectangle: try again ..
basic: JNLP2ClassLoader.findClass: javatest.JTest$3: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TypedListener: try again ..
-----I am sorry for bold, i came here to ask for help. I used bold to differentiate output from my questions since i couldn't find tags.
I already validated jnlp using JaNeLA and got only optimization suggestions.
As I said in first post, this works for a friend of mine, so it's possible a local issue with my java or something ...
Also i reinstalled jre/jdk 7.0, then uninstalled and installed latest jre/jdk 6.
Hope I didn't leave a bad impression, i just want help. -
here's what i want to do.
chart looks like this:
number 1
-/+
number 2
number 3
number 4
total
if '+' sign or no sign is used in the space for it, number1 + number2 + number3 + number4 = total
if '-' sign is used, then number1 - number2 + number3 + number4 = total
any suggestions? i tried this;
var a = this.getField ("2"); 'corresponds to number 1'
var b = this.getField ("3"); 'corresponds to number 2'
var c = this.getField ("4"); 'corresponds to number 3'
var d = this.getField ("5"); 'corresponds to number 4'
var e = this.getField ("7"); 'corresponds to number -/+'
if (e.value = "-"){
event.value = a.value - b.value + c.value + d.value;
else {
event.value = a.value + b.value + c.value + d.value;
}Ok, thanks for the replies, and I will try the suggestions, but I finally solved the problem. Here it is.
var a = this.getField ("2");
var b = this.getField ("3");
var c = this.getField ("4");
var d = this.getField ("5");
var e = this.getField ("7");
if (e.value == "-")
event.value = a.value - b.value + c.value + d.value;
else
event.value = a.value + b.value + c.value + d.value; -
Need help with calculator project for an assignment...
Hi all, I please need help with my calculator project that I have to do for an assignment.
Here is the project's specifications that I need to do"
"""Create a console calculator applicaion that:
* Takes one command line argument: your name and surname. When the
program starts, display the date and time with a welcome message for the
user.
* Display all the available options to the user. Your calculator must include
the arithmetic operations as well as at least five scientific operations of the
Math class.
-Your program must also have the ability to round a number and
truncate it.
-When you multiply by 2, you should not use the '*' operator to perform the
operation.
-Your program must also be able to reverse the sign of a number.
* Include sufficient error checking in your program to ensure that the user
only enters valid input. Make use of the String; Character, and other
wrapper classes to help you.
* Your program must be able to do conversions between decimal, octal and
hex numbers.
* Make use of a menu. You should give the user the option to end the
program when entering a certain option.
* When the program exits, display a message for the user, stating the
current time, and calculate and display how long the user used your
program.
* Make use of helper classes where possible.
* Use the SDK to run your program."""
When the program starts, it asks the user for his/her name and surname. I got the program to ask the user again and again for his/her name and surname
when he/she doesn't insert anything or just press 'enter', but if the user enters a number for the name and surname part, the program continues.
Now my question is this: How can I restrict the user to only enter 'letters' (and spaces of course) but allow NO numbers for his/her surname??
Here is the programs code that I've written so far:
{code}
import java.io.*;
import java.util.*;
import java.text.*;
public class Project {
private static String nameSurname = "";
private static String num1 = null;
private static String num2 = null;
private static String choice1 = null;
private static double answer = 0;
private static String more;
public double Add() {
answer = (Double.parseDouble(num1) + Double.parseDouble(num2));
return answer;
public double Subtract() {
answer = (Double.parseDouble(num1) - Double.parseDouble(num2));
return answer;
public double Multiply() {
answer = (Double.parseDouble(num1) * Double.parseDouble(num2));
return answer;
public double Divide() {
answer = (Double.parseDouble(num1) / Double.parseDouble(num2));
return answer;
public double Modulus() {
answer = (Double.parseDouble(num1) % Double.parseDouble(num2));
return answer;
public double maximumValue() {
answer = (Math.max(Double.parseDouble(num1), Double.parseDouble(num2)));
return answer;
public double minimumValue() {
answer = (Math.min(Double.parseDouble(num1), Double.parseDouble(num2)));
return answer;
public double absoluteNumber1() {
answer = (Math.abs(Double.parseDouble(num1)));
return answer;
public double absoluteNumber2() {
answer = (Math.abs(Double.parseDouble(num2)));
return answer;
public double Squareroot1() {
answer = (Math.sqrt(Double.parseDouble(num1)));
return answer;
public double Squareroot2() {
answer = (Math.sqrt(Double.parseDouble(num2)));
return answer;
public static String octalEquivalent1() {
int iNum1 = Integer.parseInt(num1);
String octal1 = Integer.toOctalString(iNum1);
return octal1;
public static String octalEquivalent2() {
int iNum2 = Integer.parseInt(num2);
String octal2 = Integer.toOctalString(iNum2);
return octal2;
public static String hexadecimalEquivalent1() {
int iNum1 = Integer.parseInt(num1);
String hex1 = Integer.toHexString(iNum1);
return hex1;
public static String hexadecimalEquivalent2() {
int iNum2 = Integer.parseInt(num2);
String hex2 = Integer.toHexString(iNum2);
return hex2;
public double Round1() {
answer = Math.round(Double.parseDouble(num1));
return answer;
public double Round2() {
answer = Math.round(Double.parseDouble(num2));
return answer;
SimpleDateFormat format1 = new SimpleDateFormat("EEEE, dd MMMM yyyy");
Date now = new Date();
SimpleDateFormat format2 = new SimpleDateFormat("hh:mm a");
static Date timeIn = new Date();
public static long programRuntime() {
Date timeInD = timeIn;
long timeOutD = System.currentTimeMillis();
long msec = timeOutD - timeInD.getTime();
float timeHours = msec / 1000;
return (long) timeHours;
DecimalFormat decimals = new DecimalFormat("#0.00");
public String insertNameAndSurname() throws IOException{
boolean inputCorrect = false;
while (inputCorrect == false) {
while (nameSurname == null || nameSurname.length() == 0) {
for (int i = 0; i < nameSurname.length(); i++) {
if ((nameSurname.charAt(i) > 'a') && (nameSurname.charAt(i) < 'Z')){
inputCorrect = true;
else{
inputCorrect = false;
break;
try {
BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in));
System.out.print("Please enter your name and surname: ");
nameSurname = inStream.readLine();
inputCorrect = true;
}catch (IOException ex) {
System.out.println("You did not enter your name and surname, " + nameSurname + " is not a name, please enter your name and surname :");
inputCorrect = false;
System.out.println("\nA warm welcome " + nameSurname + " ,todays date is: " + format1.format(now));
System.out.println("and the time is now exactly " + format2.format(timeIn) + ".");
return nameSurname;
public String inputNumber1() throws IOException {
boolean inputCorrect = false;
while (inputCorrect == false) {
try {
BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
System.out.print("\nPlease enter a number you want to do a calculation with and hit <ENTER>: ");
num1 = br.readLine();
double number1 = Double.parseDouble(num1);
System.out.println("\nThe number you have entered is: " + number1);
inputCorrect = true;
} catch (NumberFormatException nfe) {
System.out.println("\nYou did not enter a valid number: " + "\""+ num1 + "\" is not a number!!");
inputCorrect = false;
return num1;
public String calculatorChoice() throws IOException {
System.out.println("Please select an option of what you would like to do with this number from the menu below and hit <ENTER>: ");
System.out.println("\n*********************************************");
System.out.println("---------------------------------------------");
System.out.println("Please select an option from the list below: ");
System.out.println("---------------------------------------------");
System.out.println("1 - Add");
System.out.println("2 - Subtract");
System.out.println("3 - Multiply");
System.out.println("4 - Divide (remainder included)");
System.out.println("5 - Maximum and minimum value of two numbers");
System.out.println("6 - Squareroot");
System.out.println("7 - Absolute value of numbers");
System.out.println("8 - Octal and Hexadecimal equivalent of numbers");
System.out.println("9 - Round numbers");
System.out.println("0 - Exit program");
System.out.println("**********************************************");
boolean inputCorrect = false;
while (inputCorrect == false) {
try {
BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in));
System.out.print("Please enter your option and hit <ENTER>: ");
choice1 = inStream.readLine();
int c1 = Integer.parseInt(choice1);
System.out.println("\nYou have entered choice number: " + c1);
inputCorrect = true;
} catch (NumberFormatException nfe) {
System.out.println("You did not enter a valid choice number: " + "\""+ choice1 + "\" is not in the list!!");
inputCorrect = false;
return choice1;
public String inputNumber2() throws IOException {
boolean inputCorrect = false;
while (inputCorrect == false) {
try {
BufferedReader br2 = new BufferedReader (new InputStreamReader(System.in));
System.out.print("\nPlease enter another number you want to do the calculation with and hit <ENTER>: ");
num2 = br2.readLine();
double n2 = Double.parseDouble(num2);
System.out.println("\nThe second number you have entered is: " + n2);
System.out.println("\nYour numbers are: " + num1 + " and " + num2);
inputCorrect = true;
} catch (NumberFormatException nfe) {
System.out.println("You did not enter a valid number: " + "\""+ num2 + "\" is not a number!!");
inputCorrect = false;
return num2;
public int Calculator() {
int choice2 = (int) Double.parseDouble(choice1);
switch (choice2) {
case 1 :
Add();
System.out.print("The answer of " + num1 + " + " + num2 + " is: " + decimals.format(answer));
break;
case 2 :
Subtract();
System.out.print("The answer of " + num1 + " - " + num2 + " is: " + decimals.format(answer));
break;
case 3 :
Multiply();
System.out.print("The answer of " + num1 + " * " + num2 + " is: " + decimals.format(answer));
break;
case 4 :
Divide();
System.out.print("The answer of " + num1 + " / " + num2 + " is: " + decimals.format(answer));
Modulus();
System.out.print(" and the remainder is " + decimals.format(answer));
break;
case 5 :
maximumValue();
System.out.println("The maximum number between the numbers " + num1 + " and " + num2 + " is: " + decimals.format(answer));
minimumValue();
System.out.println("The minimum number between the numbers " + num1 + " and " + num2 + " is: " + decimals.format(answer));
break;
case 6 :
Squareroot1();
System.out.println("The squareroot of value " + num1 + " is: " + decimals.format(answer));
Squareroot2();
System.out.println("The squareroot of value " + num2 + " is: " + decimals.format(answer));
break;
case 7 :
absoluteNumber1();
System.out.println("The absolute number of " + num1 + " is: " + decimals.format(answer));
absoluteNumber2();
System.out.println("The absolute number of " + num2 + " is: " + decimals.format(answer));
break;
case 8 :
octalEquivalent1();
System.out.println("The octal equivalent of " + num1 + " is: " + octalEquivalent1());
octalEquivalent2();
System.out.println("The octal equivalent of " + num2 + " is: " + octalEquivalent2());
hexadecimalEquivalent1();
System.out.println("\nThe hexadecimal equivalent of " + num1 + " is: " + hexadecimalEquivalent1());
hexadecimalEquivalent2();
System.out.println("The hexadecimal equivalent of " + num2 + " is: " + hexadecimalEquivalent2());
break;
case 9 :
Round1();
System.out.println("The rounded number of " + num1 + " is: " + decimals.format(answer));
Round2();
System.out.println("The rounded number of " + num2 + " is: " + decimals.format(answer));
break;
case 0 :
if (choice2 == 0) {
System.exit(1);
break;
return choice2;
public String anotherCalculation() throws IOException {
boolean inputCorrect = false;
while (inputCorrect == false) {
try {
BufferedReader br3 = new BufferedReader (new InputStreamReader(System.in));
System.out.print("\nWould you like to do another calculation? Y/N ");
more = br3.readLine();
String s1 = "y";
String s2 = "Y";
if (more.equals(s1) || more.equals(s2)) {
inputCorrect = true;
while (inputCorrect = true){
inputNumber1();
System.out.println("");
calculatorChoice();
System.out.println("");
inputNumber2();
System.out.println("");
Calculator();
System.out.println("");
anotherCalculation();
System.out.println("");
inputCorrect = true;
} else {
System.out.println("\n" + nameSurname + " thank you for using this program, you have used this program for: " + decimals.format(programRuntime()) + " seconds");
System.out.println("the program will now exit, Goodbye.");
System.exit(0);
} catch (IOException ex){
System.out.println("You did not enter a valid answer: " + "\""+ more + "\" is not in the list!!");
inputCorrect = false;
return more;
public static void main(String[] args) throws IOException {
Project p1 = new Project();
p1.insertNameAndSurname();
System.out.println("");
p1.inputNumber1();
System.out.println("");
p1.calculatorChoice();
System.out.println("");
p1.inputNumber2();
System.out.println("");
p1.Calculator();
System.out.println("");
p1.anotherCalculation();
System.out.println("");
{code}
*Can you please run my code for yourself and have a look at how this program is constructed*
*and give me ANY feedback on how I can better this code(program) or if I've done anything wrong from your point of view.*
Your help will be much appreciated.
Thanks in advanceSmirre wrote:
Now my question is this: How can I restrict the user to only enter 'letters' (and spaces of course) but allow NO numbers for his/her surname??You cannot restrict the user. It is a sad fact in programming that the worst bug always sits in front of the Computer.
What you could do is checking the input string for numbers. If it contains numbers, just reprompt for the Name.
AND you might want to ask yourself why the heck a calculator needs to know the users Name. -
Need help with Berkeley XML DB Performance
We need help with maximizing performance of our use of Berkeley XML DB. I am filling most of the 29 part question as listed by Oracle's BDB team.
Berkeley DB XML Performance Questionnaire
1. Describe the Performance area that you are measuring? What is the
current performance? What are your performance goals you hope to
achieve?
We are measuring the performance while loading a document during
web application startup. It is currently taking 10-12 seconds when
only one user is on the system. We are trying to do some testing to
get the load time when several users are on the system.
We would like the load time to be 5 seconds or less.
2. What Berkeley DB XML Version? Any optional configuration flags
specified? Are you running with any special patches? Please specify?
dbxml 2.4.13. No special patches.
3. What Berkeley DB Version? Any optional configuration flags
specified? Are you running with any special patches? Please Specify.
bdb 4.6.21. No special patches.
4. Processor name, speed and chipset?
Intel Xeon CPU 5150 2.66GHz
5. Operating System and Version?
Red Hat Enterprise Linux Relase 4 Update 6
6. Disk Drive Type and speed?
Don't have that information
7. File System Type? (such as EXT2, NTFS, Reiser)
EXT3
8. Physical Memory Available?
4GB
9. Are you using Replication (HA) with Berkeley DB XML? If so, please
describe the network you are using, and the number of Replica’s.
No
10. Are you using a Remote Filesystem (NFS) ? If so, for which
Berkeley DB XML/DB files?
No
11. What type of mutexes do you have configured? Did you specify
–with-mutex=? Specify what you find inn your config.log, search
for db_cv_mutex?
None. Did not specify -with-mutex during bdb compilation
12. Which API are you using (C++, Java, Perl, PHP, Python, other) ?
Which compiler and version?
Java 1.5
13. If you are using an Application Server or Web Server, please
provide the name and version?
Oracle Appication Server 10.1.3.4.0
14. Please provide your exact Environment Configuration Flags (include
anything specified in you DB_CONFIG file)
Default.
15. Please provide your Container Configuration Flags?
final EnvironmentConfig envConf = new EnvironmentConfig();
envConf.setAllowCreate(true); // If the environment does not
// exist, create it.
envConf.setInitializeCache(true); // Turn on the shared memory
// region.
envConf.setInitializeLocking(true); // Turn on the locking subsystem.
envConf.setInitializeLogging(true); // Turn on the logging subsystem.
envConf.setTransactional(true); // Turn on the transactional
// subsystem.
envConf.setLockDetectMode(LockDetectMode.MINWRITE);
envConf.setThreaded(true);
envConf.setErrorStream(System.err);
envConf.setCacheSize(1024*1024*64);
envConf.setMaxLockers(2000);
envConf.setMaxLocks(2000);
envConf.setMaxLockObjects(2000);
envConf.setTxnMaxActive(200);
envConf.setTxnWriteNoSync(true);
envConf.setMaxMutexes(40000);
16. How many XML Containers do you have? For each one please specify:
One.
1. The Container Configuration Flags
XmlContainerConfig xmlContainerConfig = new XmlContainerConfig();
xmlContainerConfig.setTransactional(true);
xmlContainerConfig.setIndexNodes(true);
xmlContainerConfig.setReadUncommitted(true);
2. How many documents?
Everytime the user logs in, the current xml document is loaded from
a oracle database table and put it in the Berkeley XML DB.
The documents get deleted from XML DB when the Oracle application
server container is stopped.
The number of documents should start with zero initially and it
will grow with every login.
3. What type (node or wholedoc)?
Node
4. Please indicate the minimum, maximum and average size of
documents?
The minimum is about 2MB and the maximum could 20MB. The average
mostly about 5MB.
5. Are you using document data? If so please describe how?
We are using document data only to save changes made
to the application data in a web application. The final save goes
to the relational database. Berkeley XML DB is just used to store
temporary data since going to the relational database for each change
will cause severe performance issues.
17. Please describe the shape of one of your typical documents? Please
do this by sending us a skeleton XML document.
Due to the sensitive nature of the data, I can provide XML schema instead.
18. What is the rate of document insertion/update required or
expected? Are you doing partial node updates (via XmlModify) or
replacing the document?
The document is inserted during user login. Any change made to the application
data grid or other data components gets saved in Berkeley DB. We also have
an automatic save every two minutes. The final save from the application
gets saved in a relational database.
19. What is the query rate required/expected?
Users will not be entering data rapidly. There will be lot of think time
before the users enter/modify data in the web application. This is a pilot
project but when we go live with this application, we will expect 25 users
at the same time.
20. XQuery -- supply some sample queries
1. Please provide the Query Plan
2. Are you using DBXML_INDEX_NODES?
Yes.
3. Display the indices you have defined for the specific query.
XmlIndexSpecification spec = container.getIndexSpecification();
// ids
spec.addIndex("", "id", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
spec.addIndex("", "idref", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// index to cover AttributeValue/Description
spec.addIndex("", "Description", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_SUBSTRING, XmlValue.STRING);
// cover AttributeValue/@value
spec.addIndex("", "value", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// item attribute values
spec.addIndex("", "type", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// default index
spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// save the spec to the container
XmlUpdateContext uc = xmlManager.createUpdateContext();
container.setIndexSpecification(spec, uc);
4. If this is a large query, please consider sending a smaller
query (and query plan) that demonstrates the problem.
21. Are you running with Transactions? If so please provide any
transactions flags you specify with any API calls.
Yes. READ_UNCOMMITED in some and READ_COMMITTED in other transactions.
22. If your application is transactional, are your log files stored on
the same disk as your containers/databases?
Yes.
23. Do you use AUTO_COMMIT?
No.
24. Please list any non-transactional operations performed?
No.
25. How many threads of control are running? How many threads in read
only mode? How many threads are updating?
We use Berkeley XML DB within the context of a struts web application.
Each user logged into the web application will be running a bdb transactoin
within the context of a struts action thread.
26. Please include a paragraph describing the performance measurements
you have made. Please specifically list any Berkeley DB operations
where the performance is currently insufficient.
We are clocking 10-12 seconds of loading a document from dbd when
five users are on the system.
getContainer().getDocument(documentName);
27. What performance level do you hope to achieve?
We would like to get less than 5 seconds when 25 users are on the system.
28. Please send us the output of the following db_stat utility commands
after your application has been running under "normal" load for some
period of time:
% db_stat -h database environment -c
% db_stat -h database environment -l
% db_stat -h database environment -m
% db_stat -h database environment -r
% db_stat -h database environment -t
(These commands require the db_stat utility access a shared database
environment. If your application has a private environment, please
remove the DB_PRIVATE flag used when the environment is created, so
you can obtain these measurements. If removing the DB_PRIVATE flag
is not possible, let us know and we can discuss alternatives with
you.)
If your application has periods of "good" and "bad" performance,
please run the above list of commands several times, during both
good and bad periods, and additionally specify the -Z flags (so
the output of each command isn't cumulative).
When possible, please run basic system performance reporting tools
during the time you are measuring the application's performance.
For example, on UNIX systems, the vmstat and iostat utilities are
good choices.
Will give this information soon.
29. Are there any other significant applications running on this
system? Are you using Berkeley DB outside of Berkeley DB XML?
Please describe the application?
No to the first two questions.
The web application is an online review of test questions. The users
login and then review the items one by one. The relational database
holds the data in xml. During application load, the application
retrieves the xml and then saves it to bdb. While the user
is making changes to the data in the application, it writes those
changes to bdb. Finally when the user hits the SAVE button, the data
gets saved to the relational database. We also have an automatic save
every two minues, which saves bdb xml data and saves it to relational
database.
Thanks,
Madhav
[email protected]Could it be that you simply do not have set up indexes to support your query? If so, you could do some basic testing using the dbxml shell:
milu@colinux:~/xpg > dbxml -h ~/dbenv
Joined existing environment
dbxml> setverbose 7 2
dbxml> open tv.dbxml
dbxml> listIndexes
dbxml> query { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }
dbxml> queryplan { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }Verbosity will make the engine display some (rather cryptic) information on index usage. I can't remember where the output is explained; my feeling is that "V(...)" means the index is being used (which is good), but that observation may not be accurate. Note that some details in the setVerbose command could differ, as I'm using 2.4.16 while you're using 2.4.13.
Also, take a look at the query plan. You can post it here and some people will be able to diagnose it.
Michael Ludwig -
Need help with JTextArea and Scrolling
import java.awt.*;
import java.awt.event.*;
import java.text.DecimalFormat;
import javax.swing.*;
public class MORT_RETRY extends JFrame implements ActionListener
private JPanel keypad;
private JPanel buttons;
private JTextField lcdLoanAmt;
private JTextField lcdInterestRate;
private JTextField lcdTerm;
private JTextField lcdMonthlyPmt;
private JTextArea displayArea;
private JButton CalculateBtn;
private JButton ClrBtn;
private JButton CloseBtn;
private JButton Amortize;
private JScrollPane scroll;
private DecimalFormat calcPattern = new DecimalFormat("$###,###.00");
private String[] rateTerm = {"", "7years @ 5.35%", "15years @ 5.5%", "30years @ 5.75%"};
private JComboBox rateTermList;
double interest[] = {5.35, 5.5, 5.75};
int term[] = {7, 15, 30};
double balance, interestAmt, monthlyInterest, monthlyPayment, monPmtInt, monPmtPrin;
int termInMonths, month, termLoop, monthLoop;
public MORT_RETRY()
Container pane = getContentPane();
lcdLoanAmt = new JTextField();
lcdMonthlyPmt = new JTextField();
displayArea = new JTextArea();//DEFINE COMBOBOX AND SCROLL
rateTermList = new JComboBox(rateTerm);
scroll = new JScrollPane(displayArea);
scroll.setSize(600,170);
scroll.setLocation(150,270);//DEFINE BUTTONS
CalculateBtn = new JButton("Calculate");
ClrBtn = new JButton("Clear Fields");
CloseBtn = new JButton("Close");
Amortize = new JButton("Amortize");//DEFINE PANEL(S)
keypad = new JPanel();
buttons = new JPanel();//DEFINE KEYPAD PANEL LAYOUT
keypad.setLayout(new GridLayout( 4, 2, 5, 5));//SET CONTROLS ON KEYPAD PANEL
keypad.add(new JLabel("Loan Amount$ : "));
keypad.add(lcdLoanAmt);
keypad.add(new JLabel("Term of loan and Interest Rate: "));
keypad.add(rateTermList);
keypad.add(new JLabel("Monthly Payment : "));
keypad.add(lcdMonthlyPmt);
lcdMonthlyPmt.setEditable(false);
keypad.add(new JLabel("Amortize Table:"));
keypad.add(displayArea);
displayArea.setEditable(false);//DEFINE BUTTONS PANEL LAYOUT
buttons.setLayout(new GridLayout( 1, 3, 5, 5));//SET CONTROLS ON BUTTONS PANEL
buttons.add(CalculateBtn);
buttons.add(Amortize);
buttons.add(ClrBtn);
buttons.add(CloseBtn);//ADD ACTION LISTENER
CalculateBtn.addActionListener(this);
ClrBtn.addActionListener(this);
CloseBtn.addActionListener(this);
Amortize.addActionListener(this);
rateTermList.addActionListener(this);//ADD PANELS
pane.add(keypad, BorderLayout.NORTH);
pane.add(buttons, BorderLayout.SOUTH);
pane.add(scroll, BorderLayout.CENTER);
addWindowListener( new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
public void actionPerformed(ActionEvent e)
String arg = lcdLoanAmt.getText();
int combined = Integer.parseInt(arg);
if (e.getSource() == CalculateBtn)
try
JOptionPane.showMessageDialog(null, "Got try here", "Error", JOptionPane.ERROR_MESSAGE);
catch(NumberFormatException ev)
JOptionPane.showMessageDialog(null, "Got here", "Error", JOptionPane.ERROR_MESSAGE);
if ((e.getSource() == CalculateBtn) && (arg != null))
try{
if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 1))
monthlyInterest = interest[0] / (12 * 100);
termInMonths = term[0] * 12;
monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest, -termInMonths))));
lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 2))
monthlyInterest = interest[1] / (12 * 100);
termInMonths = term[1] * 12;
monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest, -termInMonths))));
lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 3))
monthlyInterest = interest[2] / (12 * 100);
termInMonths = term[2] * 12;
monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest, -termInMonths))));
lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
catch(NumberFormatException ev)
JOptionPane.showMessageDialog(null, "Invalid Entry!\nPlease Try Again", "Error", JOptionPane.ERROR_MESSAGE);
} //IF STATEMENTS FOR AMORTIZATION
if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 1))
loopy(7, 5.35);
if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 2))
loopy(15, 5.5);
if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 3))
loopy(30, 5.75);
if (e.getSource() == ClrBtn)
rateTermList.setSelectedIndex(0);
lcdLoanAmt.setText(null);
lcdMonthlyPmt.setText(null);
displayArea.setText(null);
if (e.getSource() == CloseBtn)
System.exit(0);
private void loopy(int lTerm,double lInterest)
double total, monthly, monthlyrate, monthint, monthprin, balance, lastint, paid;
int amount, months, termloop, monthloop;
String lcd2 = lcdLoanAmt.getText();
amount = Integer.parseInt(lcd2);
termloop = 1;
paid = 0.00;
monthlyrate = lInterest / (12 * 100);
months = lTerm * 12;
monthly = amount *(monthlyrate/(1-Math.pow(1+monthlyrate,-months)));
total = months * monthly;
balance = amount;
while (termloop <= lTerm)
displayArea.setCaretPosition(0);
displayArea.append("\n");
displayArea.append("Year " + termloop + " of " + lTerm + ": payments\n");
displayArea.append("\n");
displayArea.append("Month\tMonthly\tPrinciple\tInterest\tBalance\n");
monthloop = 1;
while (monthloop <= 12)
monthint = balance * monthlyrate;
monthprin = monthly - monthint;
balance -= monthprin;
paid += monthly;
displayArea.setCaretPosition(0);
displayArea.append(monthloop + "\t" + calcPattern.format(monthly) + "\t" + calcPattern.format(monthprin) + "\t");
displayArea.append(calcPattern.format(monthint) + "\t" + calcPattern.format(balance) + "\n");
monthloop ++;
termloop ++;
public static void main(String args[])
MORT_RETRY f = new MORT_RETRY();
f.setTitle("MORTGAGE PAYMENT CALCULATOR");
f.setBounds(600, 600, 500, 500);
f.setLocationRelativeTo(null);
f.setVisible(true);
}need help with displaying the textarea correctly and the scroll bar please.
Message was edited by:
new2this2020What's the problem you're having ???
PS. -
I need help with shooting in my flash game for University
Hi there
Ive tried to make my tank in my game shoot, all the code that is there works but when i push space to shoot which is my shooting key it does not shoot I really need help with this and I would appriciate anyone that could help
listed below should be the correct code
//checking if the space bar is pressed and shooting is allowed
if(evt.keyCode == 32 && shootAllow){
//making it so the user can't shoot for a bit
shootAllow = false;
//declaring a variable to be a new Bullet
var newBullet:Bullet = new Bullet();
//changing the bullet's coordinates
newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
newBullet.x = tank_mc.x;
//then we add the bullet to stage
addChild(newBullet);
listed below is my entire code
import flash.display.MovieClip;
//declare varibles to create mines
//how much time before allowed to shoot again
var cTime:int = 0;
//the time it has to reach in order to be allowed to shoot (in frames)
var cLimit:int = 12;
//whether or not the user is allowed to shoot
var shootAllow:Boolean = true;
var minesInGame:uint;
var mineMaker:Timer;
var cursor:MovieClip;
var index:int=0;
var tankMine_mc:MovieClip;
var antiTankmine_mc:MovieClip;
var maxHP:int = 100;
var currentHP:int = maxHP;
var percentHP:Number = currentHP / maxHP;
function initialiseMine():void
minesInGame = 15;
//create a timer fires every second
mineMaker = new Timer(6000, minesInGame);
//tell timer to listen for Timer event
mineMaker.addEventListener(TimerEvent.TIMER, createMine);
//start the timer
mineMaker.start();
function createMine(event:TimerEvent):void
//var tankMine_mc:MovieClip;
//create a new instance of tankMine
tankMine_mc = new Mine();
//set the x and y axis
tankMine_mc.y = 513;
tankMine_mc.x = 1080;
// adds mines to stage
addChild(tankMine_mc);
tankMine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
function moveHorizontal(evt:Event):void{
evt.target.x -= Math.random()*5;
if (evt.target.x >= stage.stageWidth)
evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
removeChild(DisplayObject(evt.target));
initialiseMine();
//declare varibles to create mines
var atmInGame:uint;
var atmMaker:Timer;
function initialiseAtm():void
atmInGame = 15;
//create a timer fires every second
atmMaker = new Timer(8000, minesInGame);
//tell timer to listen for Timer event
atmMaker.addEventListener(TimerEvent.TIMER, createAtm);
//start the timer
atmMaker.start();
function createAtm(event:TimerEvent):void
//var antiTankmine_mc
//create a new instance of tankMine
antiTankmine_mc = new Atm();
//set the x and y axis
antiTankmine_mc.y = 473;
antiTankmine_mc.x = 1080;
// adds mines to stage
addChild(antiTankmine_mc);
antiTankmine_mc.addEventListener(Event.ENTER_FRAME, moveHorizontal);
function moveHorizontal_2(evt:Event):void{
evt.target.x -= Math.random()*10;
if (evt.target.x >= stage.stageWidth)
evt.target.removeEventListener(Event.ENTER_FRAME, moveHorizontal);
removeChild(DisplayObject(evt.target));
initialiseAtm();
function moveForward():void{
bg_mc.x -=10;
function moveBackward():void{
bg_mc.x +=10;
var tank_mc:Tank;
// create a new Tank and put it into the variable
// tank_mc
tank_mc= new Tank;
// set the location ( x and y) of tank_mc
tank_mc.x=0;
tank_mc.y=375;
// show the tank_mc on the stage.
addChild(tank_mc);
stage.addEventListener(KeyboardEvent.KEY_DOWN, onMovementKeys);
//creates the movement
function onMovementKeys(evt:KeyboardEvent):void
//makes the tank move by 10 pixels right
if (evt.keyCode==Keyboard.D)
tank_mc.x+=5;
//makes the tank move by 10 pixels left
if (evt.keyCode==Keyboard.A)
tank_mc.x-=5
//checking if the space bar is pressed and shooting is allowed
if(evt.keyCode == 32 && shootAllow){
//making it so the user can't shoot for a bit
shootAllow = false;
//declaring a variable to be a new Bullet
var newBullet:Bullet = new Bullet();
//changing the bullet's coordinates
newBullet.y = tank_mc.y + tank_mc.width/2 - newBullet.width/2;
newBullet.x = tank_mc.x;
//then we add the bullet to stage
addChild(newBullet);
if (tank_mc.hitTestObject(antiTankmine_mc))
//tank_mc.gotoAndPlay("hit");
currentHP -= 10;
// remove anti tank mine
removeChild(antiTankmine_mc);
if (tank_mc.hitTestObject(tankMine_mc))
//tank_mc.gotoAndPlay("hit");
currentHP -= 10;
// remove anti tank mine
removeChild(tankMine_mc);
//var maxHP:int = 100;
//var currentHP:int = maxHP;
//var percentHP:Number = currentHP / maxHP;
//Incrementing the cTime
//checking if cTime has reached the limit yet
if(cTime < cLimit){
cTime ++;
} else {
//if it has, then allow the user to shoot
shootAllow = true;
//and reset cTime
cTime = 0;
function updateHealthBar():void
percentHP = currentHP / maxHP;
healthBar.barColor.scaleX = percentHP;
if(currentHP <= 0)
currentHP = 0;
trace("Game Over");
updateHealthBar();USe the trace function to analyze what happens and what fails to happen in the code you showed. trace the conditional values to see if they are set up to allow a shot when you press the key
-
I need help with Creating Key Pairs
Hello,
I need help with Creating Key Pairs, I generate key pais with aba provider, but the keys generated are not base 64.
the class is :
import java.io.*;
import java.math.BigInteger;
import java.security.*;
import java.security.spec.*;
import java.security.interfaces.*;
import javax.crypto.*;
import javax.crypto.spec.*;
import au.net.aba.crypto.provider.ABAProvider;
class CreateKeyPairs {
private static KeyPair keyPair;
private static KeyPairGenerator pairGenerator;
private static PrivateKey privateKey;
private static PublicKey publicKey;
public static void main(String[] args) throws Exception {
if (args.length != 2) {
System.out.println("Usage: java CreateKeyParis public_key_file_name privete_key_file_name");
return;
createKeys();
saveKey(args[0],publicKey);
saveKey(args[1],privateKey);
private static void createKeys() throws Exception {
Security.addProvider(new ABAProvider());
pairGenerator = KeyPairGenerator.getInstance("RSA","ABA");
pairGenerator.initialize(1024, new SecureRandom());
keyPair = pairGenerator.generateKeyPair();
privateKey = keyPair.getPrivate();
publicKey = keyPair.getPublic();
private synchronized static void saveKey(String filename,PrivateKey key) throws Exception {
ObjectOutputStream out= new ObjectOutputStream(new FileOutputStream(filename));
out.writeObject(key);
out.close();
private synchronized static void saveKey(String filename,PublicKey key) throws Exception {
ObjectOutputStream out= new ObjectOutputStream( new FileOutputStream(filename));
out.writeObject(key);
out.close();
the public key is:
�� sr com.sun.rsajca.JSA_RSAPublicKeyrC��� xr com.sun.rsajca.JS_PublicKey~5< ~��% L thePublicKeyt Lcom/sun/rsasign/p;xpsr com.sun.rsasign.anm����9�[ [ at [B[ bq ~ xr com.sun.rsasign.p��(!g�� L at Ljava/lang/String;[ bt [Ljava/lang/String;xr com.sun.rsasign.c�"dyU�| xpt Javaur [Ljava.lang.String;��V��{G xp q ~ ur [B���T� xp ��ccR}o���[!#I����lo������
����^"`8�|���Z>������&
d ����"B��
^5���a����jw9�����D���D�)�*3/h��7�|��I�d�$�4f�8_�|���yuq ~
How i can generated the key pairs in base 64 or binary????
Thanxs for help me
Luis Navarro Nu�ez
Santiago.
Chile.
South America.I don't use ABA but BouncyCastle
this could help you :
try
java.security.Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
java.security.KeyPairGenerator kg = java.security.KeyPairGenerator.getInstance("RSA","BC");
java.security.KeyPair kp = kg.generateKeyPair();
java.security.Key pub = kp.getPublic();
java.security.Key pri = kp.getPrivate();
System.out.println("pub: " + pub);
System.out.println("pri: " + pri);
byte[] pub_e = pub.getEncoded();
byte[] pri_e = pri.getEncoded();
java.io.PrintWriter o;
java.io.DataInputStream i;
java.io.File f;
o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pub64"));
o.println(new sun.misc.BASE64Encoder().encode(pub_e));
o.close();
o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pri64"));
o.println(new sun.misc.BASE64Encoder().encode(pri_e));
o.close();
java.io.BufferedReader br = new java.io.BufferedReader(new java.io.FileReader("d:/pub64"));
StringBuffer keyBase64 = new StringBuffer();
String line = br.readLine ();
while(line != null)
keyBase64.append (line);
line = br.readLine ();
byte [] pubBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
br = new java.io.BufferedReader(new java.io.FileReader("d:/pri64"));
keyBase64 = new StringBuffer();
line = br.readLine ();
while(line != null)
keyBase64.append (line);
line = br.readLine ();
byte [] priBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
java.security.KeyFactory kf = java.security.KeyFactory.getInstance("RSA","BC");
java.security.Key pubKey = kf.generatePublic(new java.security.spec.X509EncodedKeySpec(pubBytes));
System.out.println("pub: " + pubKey);
java.security.Key priKey = kf.generatePrivate(new java.security.spec.PKCS8EncodedKeySpec(priBytes));
System.out.println("pri: " + priKey);
catch(Exception e)
e.printStackTrace ();
} -
I need help with my EtreCheck report
Hi All -
Thanks for taking the time -
I NEED HELP WITH MY EtreCheck report
Problem description:
running slow
EtreCheck version: 2.1.8 (121)
Report generated February 19, 2015 at 3:18:49 PM EST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
MacBook Pro - model: MacBookPro9,1
1 2.6 GHz Intel Core i7 CPU: 4-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Battery Health: Normal - Cycle count 130
Video Information: ℹ️
Intel HD Graphics 4000
Color LCD 1440 x 900
NVIDIA GeForce GT 650M - VRAM: 1024 MB
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 0:12:52
Disk Information: ℹ️
APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 748.93 GB (362.64 GB free)
Core Storage: disk0s2 749.30 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[not loaded] com.AmbrosiaSW.AudioSupport (4.1.2 - SDK 10.6) [Click for support]
[not loaded] com.sony.filesystem.prodisc_fs (2.3.0) [Click for support]
[not loaded] com.sony.protocol.prodisc (2.3.0) [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.adobe.versioncueCS3.plist [Click for support]
[loaded] com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist [Click for support]
User Launch Agents: ℹ️
[failed] [email protected] [Click for details]
[loaded] com.google.keystone.agent.plist [Click for support]
[failed] com.jdibackup.ZipCloud.autostart.plist [Click for support] [Click for details]
[loaded] com.jdibackup.ZipCloud.notify.plist [Click for support]
User Login Items: ℹ️
RED Watchdog Application (/Applications/REDCINE-X Professional/Utilities/RED Watchdog.app)
GrowlHelperApp Application (/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app)
GrowlHelperApp Application (/Users/[redacted]/Library/PreferencePanes/Growl.prefPane/Contents/Resources/Gr owlHelperApp.app)
iTunesHelper UNKNOWN Hidden (missing value)
QmasterStatusMenu Application (/Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app)
SpyderUtility Application (/Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app)
Spyder3Utility Application (/Applications/Datacolor/Spyder3Elite/Spyder3Utility.app)
Google Drive Application (/Applications/Google Drive.app)
Google Chrome Application Hidden (/Applications/Google Chrome.app)
Internet Plug-ins: ℹ️
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
AdobePDFViewer: Version: 8.1.0 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
iPhotoPhotocast: Version: 7.0
User internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 7.0 [Click for support]
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3.2
3rd Party Preference Panes: ℹ️
Adobe Version Cue CS3 [Click for support]
Flash Player [Click for support]
Growl [Click for support]
REDcode [Click for support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
10% mds
5% WindowServer
0% Google Drive
0% Google Chrome
0% fontd
Top Processes by Memory: ℹ️
172 MB Google Chrome
155 MB mds_stores
155 MB Mail
103 MB Google Chrome Helper
94 MB Google Drive
Virtual Memory Information: ℹ️
4.52 GB Free RAM
2.72 GB Active RAM
451 MB Inactive RAM
895 MB Wired RAM
1.30 GB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Feb 19, 2015, 03:03:40 PM Self test - passedWhy Put it off I say ... Here you go Linc
Start time: 12:05:29 02/20/15
Revision: 1250
Model Identifier: MacBookPro9,1
System Version: OS X 10.10.2 (14C109)
Kernel Version: Darwin 14.1.0
Time since boot: 2:42
UID: 504
I/O wait time (ms/s)
kernel_task (UID 0): 39
Font issues: 263
Trust settings: admin 4, user 4
TCP/IP
Subnet mask: 255.255.252.0
Listeners
cupsd: ipp
nfsd: 1023
rpc.lockd: 1017
rpc.rquotad: garcon
rpc.statd: exp1
rpcbind: sunrpc
System caches/logs
3319 MB: /System/Library/Caches/com.apple.coresymbolicationd/data
Diagnostic reports
2015-02-02 Mail crash
2015-02-04 Spyder3Utility crash
2015-02-20 Acrobat hang x3
2015-02-20 Final Cut Pro crash x2
HID errors: 22
Kernel log
Feb 20 10:20:53 Google Chrome He (map: 0xffffff801e1b7c30) triggered DYLD shared region unnest for map: 0xffffff801e1b7c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:31:10 ARPT: 3921.321063: MacAuthEvent en1 Auth result for: 00:19:92:35:03:01 Auth request tx failed
Feb 20 10:41:10 Google Chrome He (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:41:14 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:41:30 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a960) triggered DYLD shared region unnest for map: 0xffffff802b72a960, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a3c0) triggered DYLD shared region unnest for map: 0xffffff802b72a3c0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff8023819f00) triggered DYLD shared region unnest for map: 0xffffff8023819f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff802cdb0e10) triggered DYLD shared region unnest for map: 0xffffff802cdb0e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff8022da2e10) triggered DYLD shared region unnest for map: 0xffffff8022da2e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff8023819b40) triggered DYLD shared region unnest for map: 0xffffff8023819b40, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
Feb 20 11:49:11 Google Chrome (map: 0xffffff802b72a2d0) triggered DYLD shared region unnest for map: 0xffffff802b72a2d0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb0780) triggered DYLD shared region unnest for map: 0xffffff802cdb0780, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63e10) triggered DYLD shared region unnest for map: 0xffffff8022a63e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63c30) triggered DYLD shared region unnest for map: 0xffffff8022a63c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb05a0) triggered DYLD shared region unnest for map: 0xffffff802cdb05a0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63f00) triggered DYLD shared region unnest for map: 0xffffff8022a63f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63690) triggered DYLD shared region unnest for map: 0xffffff8022a63690, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
Feb 20 12:08:01 ARPT: 8890.600067: MacAuthEvent en1 Auth result for: 00:19:92:35:7d:e1 Auth request tx failed
Feb 20 12:08:01 ARPT: 8890.950534: MacAuthEvent en1 Auth result for: 00:19:92:35:03:01 Auth timed out
System log
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:25:05 airportd: _handleLinkEvent: WiFi is not powered. Resetting state variables.
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:49 WindowServer: WSBindSurface Invalid surface 723885656 for window 1311
Feb 20 11:29:13 fseventsd: event logs in /Volumes/WDA_1T/.fseventsd out of sync with volume. destroying old logs. (461 2 59825)
Feb 20 11:29:13 fseventsd: log dir: /Volumes/WDA_1T/.fseventsd getting new uuid: UUID
Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:36:11 WindowServer: _CGXSetWindowHasKeyAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
Feb 20 11:36:11 WindowServer: _CGXSetWindowHasMainAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
Feb 20 11:41:24 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[1532]
Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
Feb 20 12:01:17 WindowServer: WSGetSurfaceInWindow Invalid surface 710322265 for window 1327
Feb 20 12:04:39 fseventsd: implementation_removed_client: did not find client 0x7f9eec210660 for path = '/.docid'
Feb 20 12:11:28 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[2262]
Console log
Feb 15 12:07:08 ReportCrash: Invoking spindump for pid=644 wakeups_rate=158 duration=285 because of excessive wakeups
Feb 15 12:55:36 ReportCrash: Invoking spindump for pid=754 wakeups_rate=200 duration=225 because of excessive wakeups
Feb 15 13:59:55 ReportCrash: Invoking spindump for pid=913 wakeups_rate=186 duration=242 because of excessive wakeups
Feb 15 16:54:59 ReportCrash: Invoking spindump for pid=964 wakeups_rate=188 duration=240 because of excessive wakeups
Feb 16 10:35:10 ReportCrash: Invoking spindump for pid=1059 wakeups_rate=337 duration=134 because of excessive wakeups
Feb 16 10:51:21 ReportCrash: Invoking spindump for pid=1080 wakeups_rate=161 duration=280 because of excessive wakeups
Feb 16 11:59:13 ReportCrash: Invoking spindump for pid=1168 wakeups_rate=243 duration=186 because of excessive wakeups
Feb 16 12:02:57 ReportCrash: Invoking spindump for pid=1175 wakeups_rate=382 duration=118 because of excessive wakeups
Feb 16 13:07:53 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.ic.searchinstaller/Cache.db is NOT valid. Unable to determine schema version.
Feb 16 13:07:53 nsurlstoraged: ERROR: unable to determine file-system usage for FS-backed cache at /Users/USER/Library/Caches/com.ic.searchinstaller/fsCachedData. Errno=13
Feb 16 13:22:31 ReportCrash: Invoking spindump for pid=2237 wakeups_rate=326 duration=139 because of excessive wakeups
Feb 16 14:17:37 ReportCrash: Invoking spindump for pid=2420 wakeups_rate=228 duration=198 because of excessive wakeups
Feb 16 14:33:29 ReportCrash: Invoking spindump for pid=2438 wakeups_rate=240 duration=188 because of excessive wakeups
Feb 16 14:46:36 ReportCrash: Invoking spindump for pid=2454 wakeups_rate=305 duration=148 because of excessive wakeups
Feb 17 12:58:26 ReportCrash: Invoking spindump for pid=2894 wakeups_rate=689 duration=66 because of excessive wakeups
Feb 17 13:13:41 ReportCrash: Invoking spindump for pid=2914 wakeups_rate=487 duration=93 because of excessive wakeups
Feb 17 16:54:57 ReportCrash: Invoking spindump for pid=1965 wakeups_rate=162 duration=278 because of excessive wakeups
Feb 18 13:50:58 ReportCrash: Invoking spindump for pid=3869 wakeups_rate=160 duration=282 because of excessive wakeups
Feb 19 08:17:10 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 14:59:30 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 15:04:57 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 15:18:06 osascript: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
Feb 19 16:50:23 ReportCrash: Invoking spindump for pid=3308 wakeups_rate=189 duration=239 because of excessive wakeups
Feb 20 09:24:49 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Daemons
com.adobe.fpsaud
com.adobe.versioncueCS3
com.ambrosiasw.ambrosiaaudiosupporthelper.daemon
com.apple.watchdogd
Agents
[email protected]
- status: 78
com.apple.Finder
- status: -15
com.google.keystone.user.agent
com.jdibackup.ZipCloud.autostart
- status: 1
com.jdibackup.ZipCloud.notify
- status: 1
User login items
RED Watchdog
- /Applications/REDCINE-X Professional/Utilities/RED Watchdog.app
GrowlHelperApp
- /Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app
GrowlHelperApp
- /Users/USER/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelp erApp.app
iTunesHelper
- missing value
QmasterStatusMenu
- /Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app
SpyderUtility
- /Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
Spyder3Utility
- /Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
Google Drive
- /Applications/Google Drive.app
Google Chrome
- /Applications/Google Chrome.app
Firefox extensions
Live PageRank
Web Developer
Exif Viewer
iCloud errors
bird 418
cloudd 65
Continuity errors
sharingd 21
Restricted files: 335
Lockfiles: 48
Contents of /Library/LaunchDaemons/com.adobe.versioncueCS3.plist
- mod date: Oct 20 14:05:00 2009
- checksum: 714202969
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>GroupName</key>
<string>wheel</string>
<key>Label</key>
<string>com.adobe.versioncueCS3</string>
<key>OnDemand</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3d</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>ServiceDescription</key>
<string>Adobe Version Cue CS3</string>
<key>UserName</key>
<string>root</string>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist
- mod date: Dec 21 11:32:33 2012
- checksum: 1980407752
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.ambrosiasw.ambrosiaaudiosupporthelper.daemon</string>
<key>ProgramArguments</key>
<array>
<string>/System/Library/Extensions/AmbrosiaAudioSupport.kext/Contents/MacOS/amb rosiaaudiosupporthelper</string>
</array>
<key>KeepAlive</key>
<false/>
<key>Disabled</key>
<false/>
<key>LaunchEvents</key>
<dict>
<key>com.apple.iokit.matching</key>
<dict>
<key>AmbrosiaAudioSupport</key>
<dict>
<key>IOMatchLaunchStream</key>
<true/>
<key>IOProviderClass</key>
<string>com_AmbrosiaSW_AudioSupport</string>
</dict>
...and 4 more line(s)
Contents of /Library/LaunchDaemons/com.apple.qmaster.qmasterd.plist
- mod date: Aug 25 21:24:23 2010
- checksum: 681742547
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.qmaster.qmasterd</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/qmasterd</string>
</array>
<key>OnDemand</key>
<false/>
</dict>
</plist>
Contents of /private/etc/hosts
- mod date: Sep 20 11:46:00 2013
- checksum: 1921340845
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
Contents of Library/LaunchAgents/[email protected]
- mod date: Sep 15 12:18:45 2009
- checksum: 2526625188
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>[email protected]</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>LowPriorityIO</key>
<true/>
<key>Nice</key>
<integer>10</integer>
<key>ProgramArguments</key>
<array>
<string>/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices .framework/Versions/A/Support/CSConfigDotMacCert</string>
<string>-l</string>
<string>/Users/USER/Library/Logs/[email protected]</string>
<string>-u</string>
<string>@me.com</string>
<string>-t</string>
<string>SharedServices</string>
<string>-s</string>
</array>
...and 4 more line(s)
Contents of Library/LaunchAgents/com.google.keystone.agent.plist
- mod date: Nov 28 13:56:29 2014
- checksum: 3826001454
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.google.keystone.user.agent</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>ProgramArguments</key>
<array>
<string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
<string>-runMode</string>
<string>ifneeded</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>3523</integer>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
</dict>
</plist>
Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.autostart.plist
- mod date: Feb 19 15:00:08 2015
- checksum: 2356528749
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.jdibackup.ZipCloud.autostart</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
<string>-n</string>
<string>--args</string>
<string>9</string>
<string>-l</string>
</array>
<key>StandardOutPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
<key>StandardErrorPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.notify.plist
- mod date: Feb 19 15:00:08 2015
- checksum: 1841511774
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.jdibackup.ZipCloud.notify</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
<string>--args</string>
<string>7</string>
<string>1</string>
</array>
<key>StandardOutPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
<key>StandardErrorPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
<key>StartInterval</key>
<integer>1200</integer>
<key>RunAtLoad</key>
<false/>
</dict>
</plist>
Extensions
/System/Library/Extensions/AmbrosiaAudioSupport.kext
- com.AmbrosiaSW.AudioSupport
/System/Library/Extensions/FAMProtocol.kext
- com.sony.protocol.prodisc
/System/Library/Extensions/JMicronATA.kext
- com.jmicron.JMicronATA
/System/Library/Extensions/prodisc_fs.kext
- com.sony.filesystem.prodisc_fs
Applications
/Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app
- com.adobe.distiller
/Applications/Adobe Acrobat 8 Professional/Acrobat Uninstaller.app
- com.adobe.Acrobat.Uninstaller
/Applications/Adobe Acrobat 8 Professional/Adobe Acrobat Professional.app
- com.adobe.Acrobat.Pro
/Applications/Adobe Bridge CS3/Bridge CS3.app
- com.adobe.bridge2
/Applications/Adobe Device Central CS3/Device Central.app
- com.adobe.devicecentral.application
/Applications/Adobe Dreamweaver CS3/Dreamweaver.app
- com.adobe.dreamweaver-9.0
/Applications/Adobe Extension Manager/Extension Manager.app
- com.adobe.ExtensionManager
/Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app
- com.macromedia.fireworks
/Applications/Adobe Flash CS3 Video Encoder/Adobe Flash CS3 Video Encoder.app
- com.macromedia.FLVEncoder
/Applications/Adobe Flash CS3/Adobe Flash CS3.app
- com.adobe.flash-9.0-en_us
/Applications/Adobe Flash CS3/Players/Debug/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Debug/Install Flash Player 9 UB.app
- com.MindVision.VISEX
/Applications/Adobe Flash CS3/Players/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Release/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Release/Install Flash Player 9 UB.app
- com.MindVision.VISEX
/Applications/Adobe Help Viewer 1.0.app
- com.adobe.Adobe Help Viewer
/Applications/Adobe Help Viewer 1.1.app
- com.adobe.Adobe Help Viewer
/Applications/Adobe Illustrator CS3/Adobe Illustrator.app
- com.adobe.illustrator
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Analyze Documents.localized/Analyze Documents.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Calendar.localized/Make Calendar.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Collect for Output.localized/Collect for Output.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Contact Sheet Demo.localized/Contact Sheets.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Export Flash Animation.localized/Export Flash Animation.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Web Gallery.localized/Web Gallery.app
- N/A
/Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.app
- com.adobe.Photoshop
/Applications/Adobe Premiere Pro CS3/Adobe Premiere Pro CS3.app
- com.adobe.AdobePremierePro
/Applications/Adobe Stock Photos CS3/Adobe Stock Photos CS3.app
- com.adobe.stockphotos-1.5
/Applications/Audacity/Audacity.app
- net.sourceforge.audacity
/Applications/Beak.app
- com.flyosity.beak
/Applications/Buzzbird.app
- org.buzzbird.buzzbird
/Applications/Celtx.app
- ca.greyfirst.celtx
/Applications/Datacolor/Spyder3Elite/Spyder3Elite.app
- com.datacolor.spyder3elite
/Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
- com.datacolor.spyder3utility
/Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
- com.datacolor.spyderutility
/Applications/Disk Inventory X.app
- com.derlien.DiskInventoryX
/Applications/Epson Software/Print CD/Print CD.app
- jp.co.epson.PrintCD2
/Applications/FileZilla.app
- de.filezilla
/Applications/FlashVideo Converter.app
- com.geovid.
/Applications/Gorilla Folder/Gorilla Program 4.0.0/Gorilla 4.0.0
- N/A
/Applications/HandBrake.app
- org.m0k.handbrake
/Applications/Levelator.app
- org.conversationsnetwork.levelator
/Applications/OpenOffice.org.app
- org.openoffice.script
/Applications/RecBoot.app
- com.lepidu.RecBoot
/Applications/Smultron.app
- org.smultron.Smultron
/Applications/TouchCopy.app
- N/A
/Applications/Uninstall MM Scheduling/Uninstall MM Scheduling.app
- N/A
/Applications/Utilities/Adobe Utilities.localized/Adobe Updater5/Adobe Updater.app
- "com.Adobe.ESD.AdobeUpdaterApplication"
/Applications/Utilities/Adobe Utilities.localized/ExtendScript Toolkit 2/ExtendScript Toolkit 2.app
- com.adobe.estoolkit-2.0
/Applications/Utilities/Bluetooth Firmware Update.app
- com.apple.updaters.btfirmwareupdate201
/Applications/Utilities/FAM Driver Tool.app
- com.sony.famdrivertool
/Applications/VLC.app
- org.videolan.vlc
/Applications/XDCAM Transfer.app
- com.sony.bprl.xdcamtransfer
/Applications/YouSendIt Desktop App.app
- com.yousendit.YouSendIt
/Applications/YouSendIt.app
- com.yousendit.YouSendItExpress
/Applications/gedit.app
- org.gnome.gedit
/Applications/iWork '08/Keynote.app
- com.apple.iWork.Keynote
/Applications/iWork '08/Numbers.app
- com.apple.iWork.Numbers
/Applications/iWork '08/Pages.app
- com.apple.iWork.Pages
/Developer/Applications/Utilities/MacPython 2.5/Build Applet.app
- org.python.buildapplet
/Developer/Applications/Utilities/Python 2.6/Build Applet.app
- org.python.buildapplet
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileAddressBook.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Contacts.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Game Center.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Contacts.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Game Center~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Camera.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/DataActivation.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Library/Application Support/Adobe/Adobe Asset Services CS3/AssetServicesCS3.app
- com.adobe.assetServicesCS3
/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3.app
- com.adobe.versioncueCS3.VersionCueCS3
/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3Status.app
- com.adobe.versioncueCS3.VCStatusMenu
/Library/Application Support/Adobe/Installers/UUID/Setup.app
- com.adobe.Installers.Redirector
/Library/Application Support/Adobe/Installers/R1/Setup.app
- com.adobe.Installers.Setup
/Library/Application Support/Intuit/QuickBooks/2007/JHandShake.app
- com.intuit.JHandShake
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
- com.microsoft.silverlight.sllauncher
/Library/Application Support/ProApps/MIO/RAD/Plugins/ReadMe(Image Handling Library).app
- jp.co.canon.DocumentLauncher
/Library/Application Support/iWork '08/iWork Tour.app
- com.apple.iWorkTour
/Library/Documentation/User Guides And Information.localized/Apple Hardware Test Read Me.app
- com.apple.AppleHardwareTestReadMe
/Library/Printers/EPSON/InkjetPrinter/AutoSetupTool/EPIJAutoSetupTool.app
- com.epson.ijprinter.EPIJAutoSetupTool
/Library/Printers/EPSON/InkjetPrinter/Filter/rastertoescp.app
- com.epson.ijprinter.rastertoescp
/Library/Printers/EPSON/InkjetPrinter/Utilities/EPSON Printer Utility3.app
- com.epson.ijprinter.Utility3
/Library/Printers/hp/Fax/fax.backend
- com.hp.fax
/Library/Printers/hp/Fax/rastertofax.filter
- com.hp.rastertofax
/Library/Printers/hp/cups/filters/pdftopdf.filter
- com.hp.print.cups.filter.pdftopdf
/Users/USER/Documents/iPhone Apps/Archivers/build/Debug-iphonesimulator/Archivers.app
- N/A
/Users/USER/Documents/iPhone Apps/Archivers_test/build/Debug-iphonesimulator/Archivers.app
- N/A
/Users/USER/Documents/iPhone Apps/DateCell/build/Debug-iphonesimulator/DateCell.app
- N/A
/Users/USER/Documents/iPhone Apps/EasyCustomTable/build/Debug-iphonesimulator/EasyCustomTable.app
- N/A
/Users/USER/Documents/iPhone Apps/Grids/build/Debug-iphonesimulator/Grids.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphoneos/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphonesimulator/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug/Metalsmith Suite.app
- com.yourcompany.Metalsmith-Suite
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Distrobution-iphoneos/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Scrolling/build/Debug-iphonesimulator/Scrolling.app
- N/A
/Users/USER/Documents/iPhone Apps/UICatalog/build/Debug-iphonesimulator/UICatalog.app
- N/A
/Users/USER/Documents/iPhone Apps/WebViewTutorial/build/Debug-iphonesimulator/WebViewTutorial.app
- N/A
/Users/USER/Documents/iPhone Apps/XML/build/Debug-iphonesimulator/XML.app
- N/A
/Users/USER/Documents/sites/nvrslp.com/dev/the_lab/ns_resize
- N/A
/Users/USER/Documents/sites/zoomify/Zoomifyer EZ v3.1/Zoomifyer EZ.app
- N/A
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_apdfllckaahabafndbhieahigkjlhalf/Default apdfllckaahabafndbhieahigkjlhalf.app
- com.google.Chrome.app.Default-apdfllckaahabafndbhieahigkjlhalf-internal
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_bepbmhgboaologfdajaanbcjmnhjmhfn/Default bepbmhgboaologfdajaanbcjmnhjmhfn.app
- com.google.Chrome.app.Default-bepbmhgboaologfdajaanbcjmnhjmhfn-internal
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_blpebaehgfgkcmmjjknibibbjacnplim/Default blpebaehgfgkcmmjjknibibbjacnplim.app
- com.google.Chrome.app.Default-blpebaehgfgkcmmjjknibibbjacnplim-internal
/Users/USER/Library/Application Support/iPhone Simulator/3.1.2/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/UICatalog.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/WebViewTutorial.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Archivers.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/AnimatedGifExample.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.2/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/4.2/Applications/UUID/Spinspiration.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/XML.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/DateCell.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/UICatalog.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Scrolling.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Autoscroll.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Grids.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/TapToZoom.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/EasyCustomTable.app
- N/A
/Users/USER/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/octoshape/octoshape
- N/A
Frameworks
/Library/Frameworks/REDCODE.Color.framework
- com.red.redcode.color
/Users/USER/Library/Frameworks/EWSMac-GC.framework
- com.eSellerate.EWSMac67108872
PrefPane
/Library/PreferencePanes/Flash Player.prefPane
- com.adobe.flashplayerpreferences
/Library/PreferencePanes/REDcode.prefPane
- com.red.prefpanel
/Library/PreferencePanes/VersionCueCS3.prefPane
- com.adobe.versioncueCS3.VCPrefPane
/Users/USER/Library/PreferencePanes/Growl.prefPane
- com.growl.prefpanel
Bundles
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ASEFormat.plugin
- com.adobe.aseformat
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/BMP.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Cineon.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/EPS Parser.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/GIF.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/JPEG2000.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/OpenEXR.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PBM.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PCX.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PNG.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Pixar.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Radiance.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Targa.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/WBMP.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/altiveccore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/dicom.plugin
- com.adobe.dicom
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/mmxcore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/multiprocessor support.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ppccore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Required/Photoshop Adapter.plugin
- null
/Library/Application Support/Adobe/Flash Player/Flash Player.plugin
- com.macromedia.Flash Player.plugin
/Library/Application Support/Adobe/Plug-Ins/CS3/File Formats/Camera Raw.plugin
- com.adobe.CameraRaw
/Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/Versions/2.0/Resources/PlugIns/CFXmlParser.plugin
- com.hp.dmf.plugins.CFXmlParser
/Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/ -
I need Help with a website I've created
I need help with a website I've created (www.jonathanhazelwood.com/lighthouse) I created the folowing site with dreamweaver at my current resolution 1366 by 768. Looks great on my screen resolution but if it is viewed on other resolutions the menu moves and some of the text above and below. How can I keep all content centered and working like it does on 1366 by 768 on all resolutions. The htm to my site is below I started off with a blank template through dreamweaver CS5.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The Lighthouse Church</title>
<style type="text/css">
<!--
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background: #42413C;
margin: 0;
padding: 0;
color: #000;
background-color: #000;
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
padding: 0;
margin: 0;
h1, h2, h3, h4, h5, h6, p {
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
padding-right: 15px;
padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
color: #42413C;
text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
a:visited {
color: #6E6C64;
text-decoration: underline;
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: none;
/* ~~ this fixed width container surrounds all other elements ~~ */
.container {
width: 960px;
background: #FFF;
margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
/* ~~ This is the layout information. ~~
1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
.content {
padding: 10px 0;
/* ~~ miscellaneous float/clear classes ~~ */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the overflow:hidden on the .container is removed */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
#apDiv1 {
position:absolute;
width:352px;
height:2992px;
z-index:1;
top: 171px;
left: 507px;
#apDiv2 {
position:absolute;
width:961px;
height:1399px;
z-index:1;
left: 187px;
top: 1px;
#apDiv3 {
position:absolute;
width:961px;
height:1001px;
z-index:1;
top: -2px;
#apDiv4 {
position:absolute;
width:963px;
height:58px;
z-index:1;
left: 0px;
top: 101px;
#apDiv5 {
position:absolute;
width:961px;
height:1505px;
z-index:1;
top: -5px;
#apDiv6 {
position:absolute;
width:962px;
height:150px;
z-index:1;
left: 0px;
top: -1px;
#apDiv7 {
position:absolute;
width:361px;
height:25px;
z-index:2;
left: 35px;
top: 1308px;
#apDiv8 {
position:absolute;
width:320px;
height:24px;
z-index:2;
left: 200px;
top: 1479px;
#apDiv9 {
position:absolute;
width:962px;
height:63px;
z-index:3;
left: -10px;
top: -1292px;
#apDiv10 {
position:absolute;
width:270px;
height:27px;
z-index:2;
left: 200px;
top: 1478px;
#apDiv11 {
position:absolute;
width:961px;
height:44px;
z-index:3;
left: 195px;
top: 183px;
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#apDiv12 {
position:absolute;
width:295px;
height:23px;
z-index:4;
left: 198px;
top: 1px;
#apDiv13 {
position:absolute;
width:135px;
height:22px;
z-index:5;
left: 1001px;
top: 3px;
#apDiv14 {
position:absolute;
width:309px;
height:992px;
z-index:1;
left: 33px;
top: 479px;
#apDiv15 {
position:absolute;
width:327px;
height:999px;
z-index:1;
left: 324px;
#apDiv16 {
position:absolute;
width:262px;
height:1000px;
z-index:2;
left: 674px;
top: 477px;
#apDiv17 {
position:absolute;
width:85px;
height:34px;
z-index:1;
left: -379px;
top: 1001px;
#apDiv18 {
position:absolute;
width:200px;
height:115px;
z-index:6;
#apDiv19 {
position:absolute;
width:168px;
height:31px;
z-index:3;
left: 448px;
top: 1451px;
#apDiv20 {
position:absolute;
width:94px;
height:33px;
z-index:3;
left: 384px;
top: 1477px;
body {
background-color: #000;
margin-left: 0px;
margin-right: 0px;
#apDiv21 {
position:absolute;
width:920px;
height:200px;
z-index:4;
left: 19px;
top: 233px;
</style>
</head>
<body>
<div class="container">
<div class="content">
<div id="apDiv5">
<div id="apDiv16">
<div id="apDiv17">
<map name="Map2" id="Map2">
<area shape="rect" coords="4,2,77,28" href="http://www.myspace.com/lighthousechurch1" />
</map>
<img src="paypal-donate-button.png" width="83" height="33" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="2,2,80,30" href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=HgApKd0bxyPQv1ixwBW3HgWXaLxPIiT Po9gSsRELLQp72IZ2-_8uvSmCLRO&dispatch=5885d80a13c0db1f8e263663d3faee8d9384d85353843a619606 282818e091d0" />
</map>
</div>
</div>
<div id="apDiv21">
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<p><img src="faithexplosion.png" width="314" height="225" /></p>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</div>
<div id="apDiv14">
<div id="apDiv15">
<div>
<div>
<p> Special Message from Perry Stone </p>
<h2> Was Jesus Born on December 25?</h2>
<p> 12/20/2010 </p>
<p><img alt="iStock_000003631829XSmall" src="http://www.voe.org/images/iStock_000003631829XSmall.jpg" width="300" height="234" /></p>
<p>Last year, in response to the growing number of Christians who celebrate Hanukkah but hate Christmas, I wrote an article for this website titled “Hanukkah or Christmas?” I explained why I think Jesus was either conceived or birthed on December 25.</p>
</div>
</div>
<div>
<div><a href="http://www.voe.org/Prophecy-Update/what-happened-to-global-warming.html"> READ MORE</a>
<p> Prophecy Update </p>
<h2> What Happened to Global Warming?</h2>
<p> 12/17/2010 </p>
<p> </p>
</div>
</div>
<div>
<div></div>
</div>
<div>
<div></div>
</div>
</div>
<div>
<p><font size="2">Special Word</font></p>
<p><font size="2">January 7th, 2011</font></p>
<p> <font size="2">Dear Viewers:</font></p>
<p><font size="2">We have now entered into one of the most trying times; but also one of the most glorious times in church history. Many things are coming upon the world and also upon the church and we (the church) must be totally prepared to take up our cross daily and venture out into the lost and</font></p>
<p> <a href="http://sermon.lighthousechurchinc.org/2011/01/07/special-word-1711-evangelist-barbara-lync h.aspx" target="_parent">Click Here for More</a></p>
</div>
<p> </p>
<div></div>
<div>
<!--// weAddFlash("lhi09hdr.swf",800, 100,"true","true","high","showall","true","#ffffff"); //--></div>
<div></div>
<p> </p>
</div>
<img src="lighthousegraphic2.jpg" width="960" height="1509" />
<div id="apDiv20"><img src="myspacebutton.jpg" width="89" height="30" border="0" usemap="#Map3" />
<map name="Map3" id="Map3">
<area shape="rect" coords="3,2,87,28" href="http://www.myspace.com/lighthousechurch1" />
</map>
</div>
</div>
<p> </p>
</div>
<!-- end .container --></div>
<div id="apDiv10"><font size="1"><font color="#FFFFFF">Copyright 2011 The Lighthouse Church Inc.</font></font></div>
<div id="apDiv11">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="#">Home</a> </li>
<li><a href="#" class="MenuBarItemSubmenu">Our Pastor</a>
<ul>
<li><a href="#">Fresh Word</a></li>
<li><a href="#">Itinerary</a></li>
<li><a href="#">Prophetic Word</a></li>
<li><a href="#">Sermons</a></li>
<li><a href="#">Special Words</a></li>
<li><a href="#">Word of Month</a></li>
</ul>
</li>
<li><a href="#">Men Ministry</a></li>
<li><a href="#" class="MenuBarItemSubmenu">Ministers</a>
<ul>
<li><a href="#">Chris Gore</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Our Church</a>
<ul>
<li><a href="#">Contact Us</a></li>
<li><a href="#">Donate</a></li>
<li><a href="#">Events</a></li>
<li><a href="#">Our Store</a></li>
<li><a href="#">Prayer Request</a></li>
<li><a href="#">Salvation</a></li>
<li><a href="#">Subscribe</a></li>
<li><a href="#">Vision</a></li>
<li><a href="#">We Believe</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Resources</a>
<ul>
<li><a href="#">Prepare for Disaster</a></li>
<li><a href="#">How to Fast</a></li>
<li><a href="#">Heaven & Hell</a></li>
<li><a href="#">Warfare Prayers</a></li>
<li><a href="#">Wisdom Words</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu">Prophetic</a>
<ul>
<li><a href="#">Article Archive</a></li>
<li><a href="#">Audio Prophecies</a></li>
<li><a href="#">Color for Year</a></li>
<li><a href="#">Major Articles</a></li>
<li><a href="#">Prophecy Archive</a></li>
<li><a href="#">Prophetic Articles</a></li>
<li><a href="#">Word for Year</a></li>
</ul>
</li>
</ul>
</div>
<div id="apDiv12"><font size="1"><font color="#FFFFFF">6 South Railroad Ave Wyoming,DE 19934</font></font></div>
<div id="apDiv13"><font size="1"><font color="#FFFFFF">Phone:(302) 697-1472</font></font></div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>Look at all the apdiv's you have. Those are absolutely positioned layers. I'm assuming by your post that you are very new to Dreamweaver and HTML and CSS. I would highly recommend not using absolutely positioned layers until you have a better grasp on HTML and CSS.
Looking at your code I would suggest that you consider using one of Dreamweaver's built in, or downloadable templates as a starting point and work from there.
http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html -
Need help with my usecase based on transient ViewObject
I am using 11.1.1.4.0 Jdev version. I need help with my usecase.Been trying it for 2 days but couldn't figure out the issue.
I have a transientVO . In this VO Rows will be populated programmatically. CountryId is an attribute of this VO. I have created a viewAccessor "CountriesVA" from Country VO of HR schema.
I have a LOV for the countryId which is based on this VA ,getting countries from CountryTable.
This is the model part which works fine.
Before the page load i have called a method to create a row for this transientVO.Once the row is created i can see the SOC in my page which i have created as below.
Now i want to insert a row in the transientVO if user selects a country and restrict duplicate entry . (As One row is already created 1st time there will be no rows created.after that rows will be inserted)
The issue is :: Suppose there are 2 countries. A & B .When user does the following actions :
Insert A . Done //as 1st entry
Insert B . Done //as 1st time entry
Insert A . duplicate not inserted
Insert B . getting inserted // the bug.
<af:selectOneChoice value="#{bindings.CountryId.inputValue}"
label="#{bindings.CountryId.label}"
required="#{bindings.CountryId.hints.mandatory}"
shortDesc="#{bindings.CountryId.hints.tooltip}" id="soc1"
immediate="true" autoSubmit="true"
valueChangeListener="#{pageFlowScope.managedBean.countryIdVC}">
public void countryIdVC(ValueChangeEvent valueChangeEvent) {
// Add event code here...
String oldValue=null;
setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getOldValue());
if(evaluateEL("#{bindings.CountryId.attributeValue}")!=null)
oldValue =evaluateEL("#{bindings.CountryId.attributeValue}").toString();
setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getNewValue());
String newValue=evaluateEL("#{bindings.CountryId.attributeValue}").toString();
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("ViewObj1Iterator");
//access the underlying RowSetIterator
RowSetIterator rsi = dciter.getRowSetIterator();
boolean duplicate=true;
if(oldValue!=null){
rsi.getCurrentRow().setAttribute("CountryId", oldValue);
// Row row= rsi.findByKey(new Key(new Object[] { newValue}), 1)[0];
Key key =new Key(new Object[] { newValue});
Row row=rsi.getRow(key);
if(row==null){
System.err.println(duplicate);
duplicate=false;
}else{
rsi.setCurrentRow(row);
if(!duplicate){
//get handle to the last row
Row lastRow = rsi.last();
//obtain the index of the last row
int lastRowIndex = rsi.getRangeIndexOf(lastRow);
//create a new row
Row newRow = rsi.createRow();
newRow.setAttribute("CountryId", newValue);
//initialize the row
newRow.setNewRowState(Row.STATUS_INITIALIZED);
//add row to last index + 1 so it becomes last in the range set
rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
//make row the current row so it is displayed correctly
rsi.setCurrentRow(newRow);I read the reply from Andrejus Baranovskis and thought of studying and implementing that in my useCase.Well it worked . I implemented the same Logic but rowIteration was done in AppModule.
Con-Fusion, Bugs, Facts &amp; Workarounds: Iterating through View Object RowIterator Bug.(NOT ADF BUG, Development B…
http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcservices.htm#sm0206
9.7.6 What You May Need to Know About Programmatic Row Set Iteration
The problem is solved ,the above links helped me solve the problem.
what i did is i have created a method in appmodule to iterate rows and all the method y operation bindings and my logic works fine ....
MY Advice to all Adf developers ,though i am not an expert but i can assure you to follow the above process for rowIteration.If you use the iterator binding in the manage bean to navigate the rows u'll face issues which are unexpected.
In AppModule :::::
public boolean createRow(String oldValue,String newValue){
System.err.println(oldValue+""+newValue);
ViewObjectImpl vo=getViewObj1();
boolean duplicate=false;
if(oldValue!=null){
RowSetIterator iter = vo.createRowSetIterator(null);
System.err.println("iterating rows ");
while (iter.hasNext()) {
Row r = iter.next();
System.err.println(iter.getRangeIndexOf(r)+" row is "+r.getAttribute("CountryId"));
if(r.getAttribute("CountryId").toString().equals(newValue)){
duplicate=true;
break;
// Do something with the current row.
// close secondary row set iterator
iter.closeRowSetIterator();
return duplicate;
In ManageBean :::::
public void countryIdVC(ValueChangeEvent valueChangeEvent) {
// Add event code here...
String oldValue=null;
System.err.println("Old Value"+valueChangeEvent.getOldValue());
setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getOldValue());
if(evaluateEL("#{bindings.CountryId.attributeValue}")!=null)
oldValue =evaluateEL("#{bindings.CountryId.attributeValue}").toString();
setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getNewValue());
String newValue=evaluateEL("#{bindings.CountryId.attributeValue}").toString();
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
//access the name of the iterator the table is bound to. Its "allDepartmentsIterator"
//in this sample
DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("ViewObj1Iterator");
//access the underlying RowSetIterator
RowSetIterator rsi = dciter.getRowSetIterator();
if(oldValue!=null){
rsi.getCurrentRow().setAttribute("CountryId", oldValue);
OperationBinding operation = bindings.getOperationBinding("createRow");
operation.getParamsMap().put("oldValue", oldValue);
operation.getParamsMap().put("newValue", newValue);
if(!(Boolean)operation.execute()){
//get handle to the last row
Row lastRow = rsi.last();
//obtain the index of the last row
int lastRowIndex = rsi.getRangeIndexOf(lastRow);
//create a new row
Row newRow = rsi.createRow();
newRow.setAttribute("CountryId", newValue);
//initialize the row
newRow.setNewRowState(Row.STATUS_INITIALIZED);
//add row to last index + 1 so it becomes last in the range set
System.err.println("Inserting row at index "+lastRowIndex+1);
rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
//make row the current row so it is displayed correctly
rsi.setCurrentRow(newRow);
else{
System.err.println("Data found So not inserting,only setting current Row");
Key key =new Key(new Object[] { newValue});
rsi.setCurrentRow(rsi.getRow(key)); -
Need help with my iTunes on iPhone 5 and Macbook Pro
Need help with my iPhone 5 and my Macbook Pro. I was purchased some music on itunes at my mac. Some reason I deleted those music from both on Mac and iPhone 5. Today, I went to my iPhone iTunes store inside of iCloud to redownload my puchased. But those song won't able to sync back to my iTunes library on my Mac. Can anyone help me with that ??....
You've posted to the iTunes Match forum, which your question does not appear to be related to. You'll get better support responses by posting to either the iTunes for Mac or iTunes for Windows forum. Which ever is more appropriate for your situation.
-
Need help with my iPhone 5 and my Macbook Pro.
Need help with my iPhone 5 and my Macbook Pro. I was purchased some music on itunes at my mac. Some reason I deleted those music from both on Mac and iPhone 5. Today, I went to my iPhone iTunes store inside of iCloud to redownload my puchased. But those song won't able to sync back to my iTunes library on my Mac. Can anyone help me with that ??....
iPhone 5, iOS 6.0.1You've posted to the iTunes Match forum, which your question does not appear to be related to. You'll get better support responses by posting to either the iTunes for Mac or iTunes for Windows forum. Which ever is more appropriate for your situation.
-
I recently received a laptop from school to access my online classes. When I tried to use Adobe Reader I received the following message: Adobe Reader 9.1 has encountered a problem and needs to close. Sorry for the inconvenience. I tried tech support at school and was told to uninstall and reinstall the program. During the installation process I received the following error: Error 1321 The installer has insufficient privileges to modify the file C:/Program Files/Adobe/Reader 9.0/Reader/Onix32dll. I need this program for school. Can some one please help me.
Hello again, Michael,
Was unable to do the UAC changes. Buttons where not highlighted. I just went ahead and uninstalled Adobe and downloaded Foxitsoftware and it works. Thanks for all your help Michael you have made my online school experience better.
Sincerely,
Sherri Lee
Date: Mon, 13 Jul 2009 11:03:52 -0600
From: [email protected]
To: [email protected]
Subject: Need help with installation
Hello again, Sherri:
It's my pleasure to provide assistance when I can :•) Having just recently graduated after 7 years of effort just to get a 2-year degree, I can relate to needing software to get class work accomplished. I will do everything I can to make it happen for you today.
Since you didn't mention, the UAC setting, I'd like you to disable it for me if it isn't already:
1. Open Control Panel
2. Under User Account and Family settings, click on the "Add or remove user account"
3. Click on any user account
4. Under the user account click on the "Go to the main User Account page" link.
5. Under "Make changes to your user account", click on the "Change security settings" link
6. In the "Turn on User Account Control (UAC) to make your computer more secure" click to unselect the "Use User Account Control (UAC) to help protect your computer". Click on the Ok button.
7. You will be prompted to reboot your computer - do so when ready
You may need to uninstall/reinstall Reader after the reboot in order for the problem to go away, but that part I am not certain of. Try to duplicate the issue prior to taking that step.
If you are unable to resolve issues with Adobe Reader, I recommend using a different reader that has much less bloat and is updated regularly:
http://www.foxitsoftware.com/pdf/reader/
FoxIT is a FREE alternative to using Adobe's Reader. Support for free Adobe products is limited forums such as this. The same holds true for open source alternatives except the manufacturer usually helps support their forums while Adobe doesn't monitor this forum or any like it. I know how important it is for you to focus on your classes so don't beat your head against a wall just because Reader won't work when a viable solution exists.
Best of success in your pursuit of knowledge!
Michael
>
Maybe you are looking for
-
Problem with JavaScript in my PDF Form buttons
I am trying to have my user click on a button in my form on my website and e-mail the form data to me. I am using the following JavaScript with my form button: this.mailForm(false, "[email protected]", "", "", "Subject", "Message Body"); Protected mo
-
Any way to have the current date pop up?
Hi - I have a request form to create. Pretty simple actually. Halfway down the form I hve to put the following, where [ ] represents data input by user. "This document has been open for [ ] days as of [ ]." We want the user to type in a number from
-
Just installed Lion and now my trackpad will not zoom
Just installed Lion and now my trackpad will not zoom in and out and the direction of going up and down have reversed.
-
I followed these instructions twice after performing latest update iOS 7. 0. 4 - and my phone is still stuck on restore screen?? help!
-
Ability to insert HTML code snippets not available
Supposedly I can insert HTML into a file in Contribute but that option is grayed-out and can't be used. Does anyone know why that capability would not be functioning. I have the most recent version of Contribute and use it on a PC