Making a moving/running backround
Hey guys, I am a beginner in Adobe After Effects, and I just finished my first intro for all my videos. However, my background just sits there. Is there any way to make the dots move like a conveyor belt moving towards the back?
here is my background
Thanks,
TsterT
Ok, here's a step in the right direction, but beware that
without a fundamental knowledge of after effects some of this may seem a bit complex:
Looking at what you've created, if I wanted to translate that to the type of animation that you want, I would first create a dot comp. That's a comp that just has your source dots in it. Could be done any number of ways: photoshop, illustrator, shape layers or masks inside of AE, whatever. But these dots are laying flat, undistorted in any way.
Then I would take that comp into another comp, and to get the horizontal motion I would try the effect: stylize->motion tile. Adjust the output width property so that your dots now tile horizontally, and you are able to animate the x-position for your dots comp.
Then I would put this animated dots comp into a 3rd, master comp, where I would first try something like a distort->mesh warp to get the shape you are after (play with the settings, grab the warp points on the stage and move them around...my thought is that the less rows and columns you have the cleaner the distortion will be). I would also play with something like corner pin (this will create a different, but possibly interesting distortion), and I might even try the puppet tool to shape it, although the puppet tool needs to mature a little bit before it can cleanly and efficiently handle something like this.
In doing this, you will have your dots layer animating, and the distort will take care of the custom shape you want. To get that reflection you may want to take that master comp into a FOURTH comp, duplicate it, set the y scale to a -100% (or whatever) and then try effect->transition->linear wipe and play with the settings in there to get that soft falloff.
This is not the only way it can be done, and it may not even work exactly as you'd like, but again if I were doing it, this is where I would start.
I hope that helps
Similar Messages
-
I bought a ibook G4 2005 refur-ed it is making a fan running noise when I listen to sample music on line and it will not stop until I reboot.. What could that be also bottom of computer very hot?
When my iBook got hot like that, I would take a break and let it cool down.
You can buy laptop desks that have USB powered fans on them, such as the Targus Chill Mat. -
Which one making my system running slow...
Hello,
Due to sudden rain water went inside my MBP andi kept inisde without turing on for 3 days
after that i tried to on but it dint turn on,, i opned and cleaned water inside meachine... It turnd on but no luck ,showing no battery as big X and system is running too slow ,I cant able to play my videos..I
Have any idea about what went wrong, WHAT making my system running slow..
HELP ME PLZZZ....Is it running at all?
http://www.tekserve.com/service/spill.php -
Script making Flash 9 running slow Error
Hey guys i have a site that manage uploads for our content
providers, but when you run the flash movie and you start uploading
a file, somewhere is the middle of the upload, a message pops
saying that a script in the movie is making the flash player to run
slow, and thta you computer may turn unresponive, after googling
for this error i find out that my script may have a infinitive loop
or function, i've been tryint to find the error on my scrip but
with no luck, here is the code, if anyone have a chance to take a
look will be appreciate it. thanks in advance.Can you repost your code so that it is displayed line by line
rather than one long line? -
I'd like to make a box move back and forth in a bar. I know this sounds vague, but I'll try to draw a picture:
| [ ] |Now, I want that [ ] to move back and forth a varying speeds as I want to make a game where you have to try to press a button as it is in a specific area, kind of like this:
| [ ] | here | |So when the box passes through that area and the player presses a button, they will get a point. Now, my question is, how do I go about to making that? As of now, my idea is very inefficient but I'll explain it anyways.
I'll make several images of this bar and box with the box in a different position each time. Then I'll make a loop with a timer and it'll go through to make the box go one way, switch to another loop and make it go the other way. When the player presses a button, it'll record what number the loop is at (like a for loop for example, and the counter) to determine if it's in the area or not. As the player consecutively hits the area, the timer's increments will be changed.
Now, I assume there's a easier way, but I could be wrong. If there's another way to do this, could someone just explain how to do it? Thank you very much in advanced.* MovingBar.java
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.Timer;
import javax.swing.border.*;
public class MovingBar extends JFrame implements ActionListener{
public MovingBar(){
setTitle("Moving Bar");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JPanel mainPanel = new JPanel();
bar = new Bar();
mainPanel.add(bar);
getContentPane().add(mainPanel,BorderLayout.CENTER);
btn.addActionListener(this);
toolbar.add(btn);
results.add(label);
getContentPane().add(results,BorderLayout.NORTH);
getContentPane().add(toolbar,BorderLayout.SOUTH);
setSize(500, 130);
setLocationRelativeTo(null);
setVisible(true);
bar.setPosition(0);
Timer timer = new Timer(1,this);
timer.start();
public static void main(String[] args) {
new MovingBar();
public void actionPerformed(ActionEvent evt){
if(evt.getSource() instanceof JButton){
if( newGame ){
label.setText("");
points=0;
newGame = false;
if( position>200 && position<300 ){
if(speed<=11){
points++;
speed++;
label.setText(points+" points ");
if(speed==11){
label.setText(points+" points Game Over");
speed = 1;
newGame = true;
}else{
if(speed<=11){
points--;
label.setText(points+" points ");
return;
if(rightDirection) position += speed;
else position -= speed;
if( position >480 ) rightDirection=false;
if( position <0 ) rightDirection=true;
bar.setPosition(position);
bar.repaint();
private boolean rightDirection = true;
private boolean newGame = true;
private JPanel toolbar = new JPanel();
private JPanel results = new JPanel();
private JButton btn = new JButton("Hit");
private JLabel label = new JLabel();
private Bar bar;
private int position, points;
private int speed = 1;
* Bar
class Bar extends JPanel {
public Bar() {
setPreferredSize(new Dimension(10, 30));
setBackground(Color.red);
setBorder(new LineBorder(Color.BLACK));
public void setPosition(int position){
setLayout(null);
setLocation( position, 0 );
} -
Making photo gallery run automatically
hi there
i have already created a photogallery for the website below.
http://hitenkajal.co.uk/hk_family.html
Now i will like the photos to run automatically as well as having button to click on. I want this done via as3 as i have quite alot of photos. Can someone help me?
my as3 code:
/* Mouse Click Event
Clicking on the specified symbol instance executes a function in which you can add your own custom code.
Instructions:
1. Add your custom code on a new line after the line that says "// Start your custom code" below.
The code will execute when the symbol instance is clicked.
family1_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family1_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/family.jpg";
family2_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_2);
function fl_MouseClickHandler_2(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family2_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/sheth_family.jpg";
// End your custom code
family3_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_3);
function fl_MouseClickHandler_3(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family3_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/valani_family.jpg";
// End your custom code
family4_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_6);
function fl_MouseClickHandler_6(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family4_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/hiten_brothers.jpg";
// End your custom code
family5_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_5);
function fl_MouseClickHandler_5(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family5_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/the_sisters.jpg";
// End your custom code
family6_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_7);
function fl_MouseClickHandler_7(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family6_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/kajal_baa.jpg";
// End your custom code
family7_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_8);
function fl_MouseClickHandler_8(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family7_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/kajal_sisters.jpg";
// End your custom codewhile the photos are automatically changing, i will like it to fade in and out smoothly. How can i do that?
My AS3 code
import flash.utils.Timer;ode
import flash.events.TimerEvent;
var imgArr:Array=new Array("family.jpg","sheth_family.jpg","valani_family.jpg","hiten_brothers.jpg","the_siste rs.jpg","kajal_baa.jpg","kajal_sisters.jpg");
var path:String="hkimage/largepic/";
var i:int=1;
var timer:Timer=new Timer(7000);
timer.addEventListener(TimerEvent.TIMER,timerfn);
timer.start();
function timerfn(e:TimerEvent):void{
if (i>=imgArr.length) i=0;
familyBkgd.mainLoader.source =path+imgArr[i];
trace(imgArr[i]);
i++;
/* Mouse Click Evente
Clicking on the specified symbol instance executes a function in which you can add your own custom code.
Instructions:
1. Add your custom code on a new line after the line that says "// Start your custom code" below.
The code will execute when the symbol instance is clicked.
family1_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family1_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/family.jpg";
i=0;
family2_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_2);
function fl_MouseClickHandler_2(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family2_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/sheth_family.jpg";
// End your custom code
i=1;
family3_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_3);
function fl_MouseClickHandler_3(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family3_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/valani_family.jpg";
// End your custom code
family4_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_6);
function fl_MouseClickHandler_6(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family4_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/hiten_brothers.jpg";
// End your custom code
family5_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_5);
function fl_MouseClickHandler_5(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family5_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/the_sisters.jpg";
// End your custom code
family6_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_7);
function fl_MouseClickHandler_7(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family6_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/kajal_baa.jpg";
// End your custom code
family7_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_8);
function fl_MouseClickHandler_8(event:MouseEvent):void
// Start your custom code
// This example code displays the words "Mouse clicked" in the Output panel.
trace("family7_btn");
familyBkgd.mainLoader.source = "hkimage/largepic/kajal_sisters.jpg";
// End your custom code -
Itunes is running high and I cannot connect ot the itunes store. Itunes is useless right now. Computer is not infected with anything. Problem is itunes related not third party plug-ins. help please. Thanks!
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
My downloads are making my computer run too slow - can I delete?
Help! Call me stupid, or computer illiterate or whatever. But, I don't know what to do. All of my music is stored in ITunes. My computer is running really slow and I am running out of space. Can I delete my music without losing it? Will it still be held in my Itunes account? Thanks for the help
You need some kind of backup. If you just delete it from your PC and keep it on your iPod, when you need to restore your iPod (and you will, at some point) your music will be lost.
You'll either have to reburn CDs you own, or repurchase music from the iTunes store.
You only get one download from iTunes:
Apple's policy on replacement.
http://www.info.apple.com/kbnum/n93050 -
Is Mavericks making your machine run slow?
I downloaded Mavericks this afternoon and installed it on my iMac i7 24GB RAM Everything seems to be slow in transitions from one app to another and many apps stall for severeal minutes as if the processor is playing catch-up. Thoughts? Should I just reinstall the update?
My iMac started running slower than normal with the 10.8.5 update. Installed Mavericks today and it seems slower, to me as well. I'm running a mid-2007 Intel iMac 2.4Ghz Intel Core 2 Duo with 4GB RAM, 320 GB HD.
I know one day I will upgrade the hardware, in the meantime I shouldn't experience this kind of slowness.
It also periodically stops recognizing my Harman Kardon USB speaker system, even though I set it in the Preferences. I have to unplug the USB and then re-insert the cable. My Cubase 7 doesn't recognize the speakers under Mavericks. Everything was working fine under Mountain Lion, except the slowness at times starting up apps.
I think Mavericks killed my computer. :-) -
Mavericks is making my computer run slow
Since I updated my Mavericks my computer is running slow. I have done all the tricks. I brought it into the mac store and they said I have 55% free memory but I get the spinning wheel of death when i try typing it takes forever. Programs dont open or they take forever. Never had this issue until I updated Mavericks. I can applejack, did the shift control option hold power and the option command-p-r hold power. repaired disks, cleaned out system caches, re-installed osx?? What is the next step. apple said "well it may just be mavericks sorry! You may just need to buy more memory even though it says you have plenty." I'll type a few words and the spinny wheel comes up and the words don't appear on the page until about 30 seconds later. Any tricks, advice etc. Tey told me to go to this website http://www.crucial.com and to install two 4 gb in the slots instead of the 2 gb I have in each slot. For stroage, under about this mac it says i have 163.18 out of GB of 319.21 GB free. Thank you so much
Hardware Information:
MacBook Pro (13-inch, Early 2011)
MacBook Pro - model: MacBookPro8,1
1 2.3 GHz Intel Core i5 CPU: 2 cores
4 GB RAM
Video Information:
Intel HD Graphics 3000 - VRAM: 384 MB
System Software:
OS X 10.9.2 (13C64) - Uptime: 0 days 1:37:26
Disk Information:
Hitachi HTS545032B9A302 disk0 : (320.07 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
QWER (disk0s2) / [Startup]: 319.21 GB (163.09 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-898
USB Information:
Apple Computer, Inc. IR Receiver
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
FireWire Information:
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Configuration files:
/etc/hosts - Count: 1
Kernel Extensions:
com.globaldelight.driver.BoomDevice (1.1 - SDK 10.9)
org.virtualbox.kext.VBoxDrv (4.0.8)
org.virtualbox.kext.VBoxUSB (4.0.8)
net.telestream.driver.TelestreamAudio (1.0.5 - SDK 10.6)
Startup Items:
VirtualBox: Path: /Library/StartupItems/VirtualBox
Launch Daemons:
[System] com.adobe.fpsaud.plist 3rd-Party support link
[System] com.disc-soft.DAEMONTools.PrivilegedHelper.plist 3rd-Party support link
[System] com.freemacsoft.appcleanerd.plist 3rd-Party support link
[System] com.google.keystone.daemon.plist 3rd-Party support link
[System] com.machangout.glims.loader.plist 3rd-Party support link
[System] com.oracle.java.JavaUpdateHelper.plist 3rd-Party support link
Launch Agents:
[System] com.coupons.coupond.plist 3rd-Party support link
[System] com.google.keystone.agent.plist 3rd-Party support link
[System] com.machangout.glims.agent.plist 3rd-Party support link
User Launch Agents:
[not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
User Login Items:
None
Internet Plug-ins:
o1dbrowserplugin: Version: 5.1.4.17398 3rd-Party support link
Default Browser: Version: 537 - SDK 10.9
AdobePDFViewerNPAPI: Version: 10.1.9 3rd-Party support link
FlashPlayer-10.6: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
Silverlight: Version: 5.1.20913.0 - SDK 10.6 3rd-Party support link
Flash Player: Version: 12.0.0.70 - SDK 10.6 Outdated! Update
QuickTime Plugin: Version: 7.7.3
googletalkbrowserplugin: Version: 5.1.4.17398 3rd-Party support link
npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5 3rd-Party support link
AdobePDFViewer: Version: 10.1.9 3rd-Party support link
CouponPrinter-FireFox_v2: Version: 5.0.3 - SDK 10.6 3rd-Party support link
iPhotoPhotocast: Version: 7.0 - SDK 10.8
JavaAppletPlugin: Version: Java 7 Update 51 3rd-Party support link
Safari Extensions:
AutoComplete+ Personal: Version: 1.0
Open in Papers: Version: 1.3
AutoSMS: Version: 1.0
Reload Button: Version: 1.2
Gmail Menu: Version: 1.03
1-ClickWeather: Version: 1.0
Add To Amazon Wish List: Version: 1.4
Keyword Search: Version: 1.2
Add To Amazon Wish List: Version: 1.8
Ginger: Version: 0.1.0.34
GoogleToolBar: Version: 1.9
Pinterest: Version: 1.0
SimilarWeb: Version: 1.0
Awesome Screenshot: Version: 1.4.1
Shoeboxed Web Clipper: Version: 1.69
We Heart It: Version: 3.2.0
Instair: Version: 1.2.3
OneID QuickFill: Version: 1.5.2
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User iTunes Plug-ins:
TuneUp Visualizer: Version: 2.2.0 3rd-Party support link
3rd Party Preference Panes:
MusicManager 3rd-Party support link
Growl 3rd-Party support link
Flash Player 3rd-Party support link
Old Applications:
/Developer/Applications/Performance Tools
/Users/[redacted]/Documents/Shrunken Apps/Shrunk Apps/Applications/iWork '09
/Developer/Applications/Utilities/Bluetooth
/Developer/Applications/Utilities
SLLauncher: Version: 1.0 - SDK 10.5 3rd-Party support link
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
/Developer/Applications
PicsAid: Version: 1.4, Copyright © 2011 DigiDNA Sarl. All Rights Reserved - SDK 10.5 3rd-Party support link
/Developer/Applications/Graphics Tools
Get Backup 2: Version: 2.5 - SDK 10.5 3rd-Party support link
/Users/[redacted]/Back-Up/Shrunk Apps/Applications/Get Backup 2.app
FacebookVideoCalling: Version: 1.2.0.157 - SDK 10.5 3rd-Party support link
/Users/[redacted]/Library/Application Support/Facebook/video/1.2.0.158/FacebookVideoCalling.app
iSkysoft Helper Compact: Version: 2.2.6.4 - SDK 10.5 3rd-Party support link
/Users/[redacted]/Library/Application Support/Helper/iSkysoft Helper Compact.app
/Applications/iWork '09
OmniWeb: Version: 5.11.1 - SDK 10.4 3rd-Party support link
/Users/[redacted]/Documents/Shrunken Apps/Shrunk Apps/Applications/OmniWeb.app
Time Machine:
Skip System Files: NO
Mobile backups: OFF
Auto backup: YES
Volumes being backed up:
QWER: Disk size: 297.29 GB Disk used: 145.40 GB
Destinations:
Kristen Passport [Local] (Last used)
Total size: 931.36 GB
Total number of backups: 26
Oldest backup: 2013-01-27 16:52:28 +0000
Last backup: 2014-01-11 17:02:06 +0000
Size of backup disk: Excellent
Backup size 931.36 GB > (Disk size 297.29 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
4% WindowServer
2% EtreCheck
0% SystemUIServer
0% iBoostUp
0% aosnotifyd
Top Processes by Memory:
291 MB com.apple.WebKit.WebContent
90 MB Safari
82 MB Finder
41 MB WindowServer
33 MB EtreCheck
Virtual Memory Information:
1.03 GB Free RAM
1.26 GB Active RAM
178 MB Inactive RAM
961 MB Wired RAM
902 MB Page-ins
29 MB Page-outs -
How to set IIS for Applet making it can run at any IE client.
I made an applet with java. It works fine under JDK.
After that, I made a web page with the applet embedded in.
But it can only run on those client computers if the computers has installed JDK.
Could you tell me how to set IIS so that my applet can run on all the client computers no matter whether they have JDK installed or not?It would have nothing to do with IIS. Your applet apparently requires a "newer" version of Java than what comes with the browser by default. So either make your applet comply with the lowest common denominator (no Swing classes, only AWT, for example), or require your clients to install the newer Java plugin.
-
DEBUG, Compile and run by making connection with Run Manager
Can anybody tell me how the compile and run of the pl/sql package is done in SQL Developer? Will there be use of DBMS_OUTPUT.PUT_LINE?
Why I am getting the "package name can not be started in the database, because it is not in the database connection manager" how to solve this problem
Thank you
Edited by: Higlander on Sep 22, 2010 12:30 PMYou you compile and debug a plsql package, it runs as if you were just running it from a prompt. The advantage of debugging is that you can set breakpoints in your code. Once those breakpoints are reached, execution is paused and you can look at all (well most) of you variables. No need to dbms_output your variables.
Never seen that error. What version are you using, and how your you initiating the debugger? -
Making my javaprogram run anywhere
Hi!
I'm totally new to Java programming, and i just wrote a simple little program, accessing a database to retrieve some info with a query. I compiled it and it runs without trouble.
Here comes the question: can i create an "executable" file from my .class file, so that I can copy it to a floppy and run it from any PC, without each time having to go to the DOS-prompt and type java <progam name>
Thanks a bunch already!thanks for the reply.
I have tried to make an executable jar file, but that
doesnt seem to work.
I have 1 .class file, "bank3.class".
I created a manifest file, "manif.mf" which contains
the following:
Manifest-Version: 1.0
Main-Class: bank3
Name: bank3.class
Java-Bean: False
Remove everything except for "Main-Class: bank3". Make sure there is a blank line afterwards.
When I doubleclick the jarfile in windows, it creates
the file bank.ldb
which seems to be a MS Access file, containing locking
information for the database im using
(i cant be sure of this, I cant access that file to
check what it is.)
But the actual program never runs.Is it a GUI? If not, you won't see anything, b/c jar files are by default executed with javaw and this runs the JVM without opening a DOS window.
Monika. -
Making a method run daily.
Quick question. What syntax do you use to make a method run just once daily? Thanks
Im not sure this is how i ment to do it, as i have not been taught anything like this. Can i show you my code as this is getting me really frustrated. 0.00026116 is the amount we are given as a credit charge.
public class AccountBetter extends Account
boolean a;
double charge;
double newbal;
public boolean in_credit(){
if (getBalance()>0.00)
a = true;
else
{a = false;
return a; }
public void credit_charge()
{if (getBalance()<0.00)
{charge = getBalance() * -0.00026116;
if (withdraw(charge)>getMinBalance()){
setMinBalance(getMinBalance()-charge);
withdraw(charge);
public void transfer (AccountBetter from, double amount)
from.withdraw(amount);
deposit(amount);
}And here is the output from the compiler that tests our code, you can see the bit it is failing me on.
Account m = new AccountBetter()
m.deposit(100.00);
m.setMinBalance( -100.00 )
Test: m.in_credit() -> OK : Balance: 100.0
m.withdraw(110.00);
Test: m.in_credit() -> OK : Balance: -10.0
Account other = new AccountBetter()
other.deposit(100.00);
Test: m.transfer(other, 50.00) -> OK : Balance: 40.0
m.withdraw(50.00);
Test: m.credit_charge() -> Fail: Balance: -10.0052232 should be -10.0026116
m = new AccountBetter()
m.setMinBalance( -100.00 )
m.withdraw(100.00);
Test: m.credit_charge() -> OK : Balance: -100.026116
-> OK : MinBalance: -100.026116
-------------------------------------------------------------------------- -
Hi
When we run OAF pages using JDeveloper, the pages typically take upto 30 minutes to run.
What are the various ways to improve the speed of the same?
Thanks
Ajay K. GargPlease go through this thread
Re: JDeveloper Performance
One thing that you can do to improve performance only by a fraction is to supress the log in output, nothing significant happens, 30 minutes would become 28 minutes at the max.
Other than that, if this is remote developement then the only option is to have Tarantella(or similar tool).
Thanks
Tapash
Maybe you are looking for
-
How do I include sub-folders in a Smart Mailbox?
I've set up a Smart Mailbox using the following rules (ALL) : 1. Message is in Mailbox XXXX 2. Subject contains YYYY 3. Contains attachments But only 3 messages were found! I then realised that although I carefully selected a high-level mailbox (XXXX
-
SQLPlus problem - user enters quote in substitution variable
Hello, I have a SQL Plus script report, where user is prompted to enter "customer name". Some customer names contain single quotes/apostrophes. When user type such name, the script will error out with ORA-01756: quoted string not properly terminated
-
hello everyone, Is there anyone who can explain to me, how to import only recently datas from other database to mine oracle 10g database. I wanto update only the newest datas to my database. Best regards Tony
-
Encoded file name for attachment
Hi I'm writing a simple email client that connects to an imap server to fetch messages and save attachment files. The server is exchange. This works perfect, but when the mail is sent from lotus notes, the exchange server encodes the filename, even i
-
My t500 lost its Serial Number when the board was replaced
The main board of my T500 failed 2 months ago while under warranty. It went in to IBM for repair and was declined warranty coverage because of alleged liquid damage............I was very surprised by this diagnosis and asked for the evidence wh