EventHandler - Basic usage question
Hi,
I have a very simple question (so it seems) about java.beans.EventHandler
How does it work???
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
class TestGUI extends JFrame {
TestGUI() {
JButton b = new JButton("Press");
getContentPane().add(b);
b.addActionListener((ActionListener)
EventHandler.create(ActionListener.class, this, "test")
pack();
show();
public void test() {
System.out.println("Ok!");
public static void main(String[] args) {
new TestGUI().setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}It won't find the "test" method, and throws an exception (an ArrayIndexOutOfBoundsException, interestingly, but that is just a bug on EventHandler part) . What am I missing? I've searched the forums and seen quite many posts with about the same question - but without replies.
Thanks
That is rather interseting, I guess. I used this code, and everything worked fine. I really don't see a difference 'tween what I did and what you did...:
public class EHTest extends JFrame
EHTest()
super("EHTest");
JPanel left = new JPanel();
left.setLayout(new GridLayout(3,0));
JButton[] buttons = new JButton[6];
for (int i = 0; i < 6; i++)
buttons[i] = new JButton("Button: "+i);
buttons.addActionListener((ActionListener)
EventHandler.create(ActionListener.class, this, "doSomething"));
left.add(buttons[i]);
setContentPane(left);
pack();
setVisible(true);
public void doSomething()
System.out.println("Something");
public static void main(String[] args)
new EHTest();
Similar Messages
-
I have some Basic iPhoto questions before I start using the program:
- does iPhoto apply any compression or change images in any way when they
are imported?
- after images are imported, can the original source folder of images be deleted off of the mac?
- can Quicktime files exported from iPhoto be viewed on a Windows computer?
- can iPhoto handle large resolution images that might be as large as 8-15mb each? does it display them quick? are there any known file size issues?
Thanks!!!!kat.
Is there a way to use iPhoto on a network so other users can read and possibly write to an iPhoto library on a networked mac?
iPhoto is a consumer level photo organiser, not a server. It's possible to share photos but libraries are very difficult and fraught with the danger of database corruption. Some have reported success.
Is it possible to password protect or secure certain images in the library so they can not be seen by anyone?
No. The best I can suggest there is to create a second library and store it in a secure area like a protected dmg. But remember, you can only have one library open at a time.
After photos are deleted from iPhoto, are there any remaining traces or cached files anywhere other than the trash
If you delete photos from iPhoto and empty the iPhoto trash then the pics are removed from the Finder as well. They remain as findable as any other deleted file from that point, which is, very, if the searcher in knowledgeable.
Regards
TD -
Object class deployment - Basic form question
OK, I subclass calendar object from Oracle provided standard
object class. What do I need to deploy to use this form now
apart from calendar.pll and my fmx. What about the object class
from which I sub-class. Do I need to compile and deploy that
also? How will form resolve this on run time the parent object
class as I really did not copy, just sub class and we do not
deploy original class? Basic form question. Thanks.You can set the "help" property on the field (which gives you the little "information" icon link beside the field).
You could also try adding another field of another class above or below:
<Display class='InlineAlert'/>
<Display class='ErrorMessage'/>
<Display class='HtmlPage'/>
..etc
-Rob -
Adding Date/Time Field + X Number of Days - Basic Calculation Question
I am assuming this is a basic calculation question. New to Adobe LiveCycle Forms.
I have a simple form containing a table. The table appears as such:
Text
Formatted as Date/Time Fields
Header 3
Monday
user wil choose the beginning date (Date/Time) this is DateTimeField1
Tuesday
this should calculate DateTimeField1 + 1
Wednesday
this should calculate DateTimeField1 + 2
Thursday
this should calculate DateTimeField1 + 3
Friday
this should calculate DateTimeField1 + 4
Saturday
this should calculate DateTimeField1 + 5
Sunday
this should calculate DateTimeField1 + 6
Calculations are performed after the date is chosen for Monday. My mind tells me the simple calculation of DateTimeField1 + 1 is not going to work (and in fact doesn't!) as it needs to change Monday to a number first. I saw on another thread the following:
Num2Date(Date2Num(Date(DateTimeField1), "DD.MM.YYYY")+7, "DD.MM.YYYY")
Thought this was going to get me close. No cigars though!
Any quick help is greatly appreciated. And since I am new to this, details about what needs to be changed would be great too!
ThanksHere an addition for you date field.
This FormCalc script in the exit:Event will check it the selected date is on a monday.
If not it will go the days back until the last monday.
var Selection = Date2Num($.formattedValue, DateFmt(2))
var WeekDay = Num2Date(Selection, "E")
var NewDate
if (WeekDay eq 1) then
NewDate = Selection - 6
elseif (WeekDay eq 3) then
NewDate = Selection - 1
elseif (WeekDay eq 4) then
NewDate = Selection - 2
elseif (WeekDay eq 5) then
NewDate = Selection - 3
elseif (WeekDay eq 6) then
NewDate = Selection - 4
elseif (WeekDay eq 7) then
NewDate = Selection - 5
else
NewDate = Selection
endif
$ = Num2Date(NewDate, "EEE DD.MM.YYYY")
Hope this helps, too. -
My main question is a very basic exporting question, but here is a super-condensed explanation of my big-picture goal for context:
Large (~450 MB) aiff on CD --> trim w/ Quicktime --> small (~16 MB) MP3 in iTunes
I would like to take an audio file (aiff) that is approximately 450 MB and export it from Quicktime and in doing so, reduce the file size and convert it to MP3. When I simply try to export it, it doesn't ask me about what size I want, nor does it give the option of MP3 formatting.
I have figured out how to reach my goal, but it's a mess. After I make my trims in QT, I have to:
1. select "share" instead of "export".
2. It asks me what size I want and I select small.
3. The file is then exported as a Quicktime movie into Mail and the size is reduced from 450 MB to about 20 MB.
4. I then have to "right-click" on the attachment in the email that is created,
5. save the attachment,
6. discard the email,
7. import the file into iTunes, and
8. create an MP3 in iTunes to finally arrive at my goal.
This seems like a ridiculously convoluted process to change a large aiff to a small MP3 and put it in iTunes. Any suggestions?Thanks. I guess the basic answer to my question is that it can't be done in one or two fell swoops. The problem is that it starts on a burned disc, and I need to make edits to it before it ends up in iTunes (to be eventually used in iWeb). I was hoping to avoid juggling back and forth between iTunes and QT. I either would have to send it back to QT to do the edits after -->iTunes-->mp3, or import the large file from the CD to QT, make the edits, save changes, import large file to iTunes, convert to mp3.
-
I have developed a java project in eclipse. To develop this, I have used many external jars that I added in Java Build Path.
I exported this project as jar file.
Now I want to use class files in this project in the jsp page.
The problem is where should I put my jar file of this project and also the external jar files that I used. I made a WEB-INF folder in my project folder but still it is creating errors.
Please suggest.HI,
I put both my project jar file, and the external jar file on which it is dependent in WEB-INF/lib directory. It can find my project jar file but not the external jars(axis.jar) and gives the errors as:
java.lang.NoSuchMethodError: org.apache.axis.description.ParameterDesc.setItemQName(Ljavax/xml/namespace/QName;)V
Could you please tell what is the problem. Under which path it looks for the external jars?
Edited by: Popup on May 15, 2008 8:18 AM -
I have an application, called APP and I have two users USER1 and USER2. I create a Role called APP_USER. I assign USER1 and USER2 to the APP_USER Role.
I log into oracle using APP and create all of the tables/views/stored procedures, etc. I grant SELECT permissions to all of the tables in my APP schema to the APP_USER role.
I then log into Oracle using USER1. In order to select data from my APP do I always have to do a 'Select * from APP.tablename' or is there some automatic way to say that when I log in as USER1, I already know about all of the tables in the APP schema and I simply enter 'Select * from tablename' (without the APP. used).
If there is a way to automatically know that using tablename means to look in the APP schema we would like to know what that is. Since our application is dynamically creating and dropping tables along the way, we would like to have some way for this to happen automatically so that USER1 and USER2 (or the role APP_USER) is always aware of the changes to the APP schema.
We figure there has to be an easy and dynamic way that this occurs in oracle, but we can't seem to find any specific documentation on how this would happen.You can use either Views or synonms. For synonyms, you can create synonyms for the tables in the APP schema. These can either be public synonyms - meaning you do it once for all users, or they are private synonyms - meaning you define it for each user. With views, you can create the view in each user account. You can also modify the view definition when the tables change underneath without having to change the queries.
Not sure why you are creating and destroying so many tables - you may want to investigate the use of temporary tables. Nevertheless, to keep your synonyms and tables in synch, you will need to issue the appropriate calls to create and drop the synonyms when you are creating and dropping the tables. -
Any Ant experts out there? This is such a basic question and I'm surprised it's not attacked point-blank in the Ant docs. I must be missing something.
I'm trying to use ant to build a makefile that can be used on both Unix and Windows. Basically the only difference between the two environments will be the name of the company root directory (designated by the environment variable CAEROOT which is defined under both OS's).
How can I access that environment variable with ant??? The obvious attempt shown below doesn't work because I guess Ant thinks it's a property.
<code>
<project name="XMLDBBridge" default="compile" basedir=".">
<!-- set global properties for this build -->
<property name="src" value="src"/>
<property name="build" value="classes"/>
<property name="caeroot" value="${CAEROOT}/"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" classpath="${caeroot}/JLib/OracleJDBC/;
${caeroot}/JLib/OracleXDK/lib/xsu12.jar"/>
</target>
<target name="clean">
<!-- Delete the ${build} directory trees -->
<delete dir="${build}"/>
</target>
</project>
</code>In case anyone else ever has this same problem.
I finally figured out how to get environment variables working in ant. It's quite nice but doesn't really figure anywhere in the docs even though I feel its one of the key usages for ant.
<code>
<project name="XMLDBBridge" default="compile" basedir=".">
<!-- set global properties for this build -->
<property name="src" value="src"/>
<property name="build" value="classes"/>
<property environment="envvar"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" classpath="${envvar.CAEROOT}/JLib/OracleJDBC/;
${envvar.CAEROOT}/JLib/OracleXDK/lib/xsu12.jar"/>
</target>
<target name="clean">
<!-- Delete the ${build} directory trees -->
<delete dir="${build}"/>
</target>
</project>
</code> -
/ usage questions...
Hello.
I have 2 questions:
1. I have noticed that my / partition's used space increased by ~10M from the last time I've checked it, from 111M to 121M. What could be the cause of that? (see the info below...)
2. The output of df and du is not what I am expecting it to be. I.e. there are differences between the disk usage reported by these 2 commands on the / partition. What could be the cause of this? (see the info below...)
Any reply or any RTFM re-dirrectioning is appreciated.
TIA
Info:
[root@guns /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part5
189M 121M 68M 65% /
none 235M 0 235M 0% /dev/shm
tmpfs 235M 4.0K 235M 1% /tmp
/dev/ide/host0/bus0/target0/lun0/part2
31M 5.2M 24M 18% /boot
/dev/ide/host0/bus0/target0/lun0/part6
2.4G 713M 1.7G 30% /usr
/dev/ide/host0/bus0/target0/lun0/part7
1.9G 374M 1.5G 20% /var
/dev/ide/host0/bus0/target0/lun0/part8
57G 35G 23G 62% /home
/dev/ide/host0/bus0/target0/lun0/part9
957M 486M 472M 51% /opt
[root@guns /]# ls
bin boot dev etc home lib mnt opt proc root sbin sys tmp udev usr var
[root@guns /]# du -sh bin/ dev/ etc/ lib/ mnt/ proc/ root/ sbin/ sys/ tmp/ udev/
2.8M bin/
0 dev/
5.5M etc/
64M lib/
0 mnt/
481M proc/
12M root/
5.2M sbin/
du: cannot access `sys/bus/pci/drivers/Intel(R) 830M/845G/852GM/855GM/865G Framebuffer Driver': No such file or directory
0 sys/
4.0K tmp/
0 udev/
Here's my dmesg output in case it helps...
Linux version 2.6.11.7-ARCH (root@earth) (gcc version 3.4.3) #1 SMP Sat Apr 9 13:37:54 PDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001dffc000 (usable)
BIOS-e820: 000000001dffc000 - 000000001dfff000 (ACPI data)
BIOS-e820: 000000001dfff000 - 000000001e000000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
479MB LOWMEM available.
On node 0 totalpages: 122876
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 118780 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ASUS ) @ 0x000f6b10
ACPI: RSDT (v001 ASUS A7VI-VM 0x30303031 MSFT 0x31313031) @ 0x1dffc000
ACPI: FADT (v001 ASUS A7VI-VM 0x30303031 MSFT 0x31313031) @ 0x1dffc080
ACPI: BOOT (v001 ASUS A7VI-VM 0x30303031 MSFT 0x31313031) @ 0x1dffc040
ACPI: DSDT (v001 ASUS A7VI-VM 0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
Allocating PCI resources starting at 1e000000 (gap: 1e000000:e1ff0000)
Built 1 zonelists
Kernel command line: root=/dev/hda5 vga=773 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (013e3000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 807.525 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 480548k/491504k available (4086k kernel code, 10360k reserved, 1236k data, 288k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1597.44 BogoMIPS (lpj=798720)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0e00)
CPU0: AMD Duron(tm) Processor stepping 01
per-CPU timeslice cutoff: 182.83 usecs.
task migration cache decay timeout: 1 msecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
CPU0 attaching sched-domain:
domain 0: span 1
groups: 1
domain 1: span 1
groups: 1
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf10c0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050228
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PCI1._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to [email protected]
** so I can fix the driver.
pnp: 00:02: ioport range 0xe400-0xe47f could not be reserved
pnp: 00:02: ioport range 0xe800-0xe80f has been reserved
pnp: 00:02: ioport range 0xe200-0xe27f has been reserved
Simple Boot Flag at 0x3a set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 [email protected]).
SGI XFS with ACLs, security attributes, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
vesafb: framebuffer at 0xf0000000, mapped to 0xde880000, using 1536k, total 32768k
vesafb: mode is 1024x768x8, linelength=1024, pages=41
vesafb: protected mode interface info at c000:7f88
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
ACPI: Power Button (FF) [PWRF]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 16 throttling states)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
agpgart: Maximum main memory to use for agp memory: 409M
agpgart: AGP aperture is 64M @ 0xf8000000
[drm] Initialized drm 1.0.0 20040925
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.9.2
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
spurious 8259A interrupt: IRQ7.
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: Maxtor 6Y080L0, ATA DISK drive
hdb: HL-DT-ST GCE-8481B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HL-DT-STDVD-ROM GDR8163B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(33)
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 >
hdb: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdc: ATAPI 52X DVD-ROM drive, 256kB Cache, UDMA(33)
libata version 1.10 loaded.
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
psmouse.c: Failed to reset mouse on isa0060/serio1
input: PS/2 Generic Mouse on isa0060/serio1
psmouse.c: Failed to enable mouse on isa0060/serio1
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid10 personality registered as nr 9
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 1080.000 MB/sec
8regs_prefetch: 1020.000 MB/sec
32regs : 812.000 MB/sec
32regs_prefetch: 764.000 MB/sec
pII_mmx : 2168.000 MB/sec
p5_mmx : 2904.000 MB/sec
raid5: using function: p5_mmx (2904.000 MB/sec)
raid6: int32x1 332 MB/s
raid6: int32x2 410 MB/s
raid6: int32x4 265 MB/s
raid6: int32x8 253 MB/s
raid6: mmxx1 675 MB/s
raid6: mmxx2 1136 MB/s
raid6: sse1x1 644 MB/s
raid6: sse1x2 1058 MB/s
raid6: using algorithm sse1x2 (1058 MB/s)
md: raid6 personality registered as nr 8
md: multipath personality registered as nr 7
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: [email protected]
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 32Kbytes
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
ACPI wakeup devices:
PCI0 PCI1 UAR1 UAR2 USB0 USB1
ACPI: (supports S0 S1 S4 S5)
devfs_mk_dev: could not append to parent for md/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 288k freed
Adding 96380k swap on /dev/discs/disc0/part3. Priority:-1 extents:1
Adding 96348k swap on /dev/discs/disc0/part10. Priority:-2 extents:1
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: Using r5 hash to sort names
ReiserFS: hda7: found reiserfs format "3.6" with standard journal
ReiserFS: hda7: using ordered data mode
ReiserFS: hda7: journal params: device hda7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda7: checking transaction log (hda7)
ReiserFS: hda7: Using r5 hash to sort names
ReiserFS: hda8: found reiserfs format "3.6" with standard journal
ReiserFS: hda8: using ordered data mode
ReiserFS: hda8: journal params: device hda8, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda8: checking transaction log (hda8)
ReiserFS: hda8: Using r5 hash to sort names
ReiserFS: hda9: found reiserfs format "3.6" with standard journal
ReiserFS: hda9: using ordered data mode
ReiserFS: hda9: journal params: device hda9, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max t
rans age 30
ReiserFS: hda9: checking transaction log (hda9)
ReiserFS: hda9: Using r5 hash to sort names
Real Time Clock Driver v1.12
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 10 (level, low) -> IRQ 10
eth0: RealTek RTL8139 at 0xded90000, 00:50:fc:cd:88:dd, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Forcing 10Mbps half-duplex operation.
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI interrupt 0000:00:07.5[C] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:07.5 to 64
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
ACPI: PCI interrupt 0000:00:07.2[D] -> GSI 9 (level, low) -> IRQ 9
uhci_hcd 0000:00:07.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:07.2: irq 9, io base 0xd400
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:07.3[D] -> GSI 9 (level, low) -> IRQ 9
uhci_hcd 0000:00:07.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:07.3: irq 9, io base 0xd000
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-2: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver hiddev
usb 2-2: new full speed USB device using uhci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:07.2-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Disabled Privacy Extensions on device c05d68a0(lo)
Vendor: USB MASS Model: STORAGE DEVICE Rev: 0.10
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
eth0: no IPv6 routers presentThe PC was indeed turned off between the two checks.
However the first check was not performed right before the shutdown, but few hours before it.
:idea:
(...) varying from browser cache data increase to a cronjob like updatedb, or even you installing or downloading something.
When I've read these words I have started to "scroll" back in my memory buffer and eventually I've remembered that the only thing I did as superuser was to download some Firefox extensions which (surprise or not...) summed up to ~12M.
So we have the answer for this one too thanks to your hints
PS: That's exactly the reason why I've made a small / partition - to keep a close eye on it's usage and to ring some allarms when needed.
Again, thank you. -
Final Cut Server Usage Question...
I have just started researching this product and confused a little about it. I am the IT dept at a small advertising agency that does quite bit of video work.
Mostly all of the workstation in the office are PowerMac G5's that clock in at dual 2.2GHz or above with 4GB of RAM
We also have an Xserve G5 (Dual) with 4GB of RAM a 2GB fibre card installed and an apple RAID system as well. The office is all wired with 10/100.
With final cut server - will they be able to actullay edit video over the network on the RAID through the Xserve. Is that what this software is for? Sorry for such a lame question. If not is this basically like Adobe's Bridge application?
Let me know.Yes it does do basically what your saying, You can leave the source media on the server and just edit from your local machine. You can also download proxies (lower res version of the source media) and edit on a laptop or with a PC without having to move the large source files.
I cant imagine any reason why any company or small business using more than one editing machine wouldn't go for this solution
Does that answer your question? -
Few basic SRM questions .......
I recently completed the SRM training from SAP and I have few basic questions and need help. Full points will be rewarded.
These are my questions and it is based on SRM 5.0 Classic Scenario with R/3 backend
1. Invoice & confirmation transferred to R/3 via ALE ? . All other documents are transferred to R/3 via RFC?
2. Based on the configuration, if the material is available in the backend then reservation will be created. Other wise PO will be created. For text items, PR will be created.
a. Who (purchaser) will process the PR in R/3 and how it is processed?.
b. Who (purchaser?) will process the reservation in R/3 and how it is
processed?. Assume no sourcing is setup in this case and No MRP run.
3. How the vendor is linked to the Material or product category in SRM?. During the vendor replication from R/3, vendor and material/prod category link is automatically maintained?
4. How the vendor is linked to a specific purchasing org/group? Is it based on the prod category assigned in the org structure for each purchasing org or purchasing group?
5. How to do delta prod category replication?
6. How to do Delta Material Replication?.
7. Contracts and vendor list:-
In our SAP training we created these from the browser. But in the actual
implementation how do we create this?. Is it always from the browser?
8. Direct Material and Plan driven Procurement.
Can we use catalog items as direct material?. Just for example - > What
about Car Batteries that is directly used in production and has the inventory
also. But we are using electronic catalog for procuring this item. Is it possible to
order this as direct material?
9. How to replicate Plant. How to use DNL_PLNT?. Is BBP_LOCATIONS_GET_ALL will replicate all the PLANT's and its locations from the R/3 backend?
10. In the HR system, which transaction we can view the org structure?Hi
Answers to your questions ->
1. http://help.sap.com/saphelp_srm50/helpdata/en/e9/d0fc3729b5db48e10000009b38f842/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/74/ec7b3c91c1eb1ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/55/d77c3c3fd53228e10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/77/e97b3c91c1eb1ee10000000a114084/frameset.htm
2. Provided the necessary role is given to the Purchaser (Buyer) in the System.
a) Yes
b) Yes
3. http://help.sap.com/saphelp_srm50/helpdata/en/e5/f5e938b4ece075e10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/70/00c73a584611d6b21700508b5d5211/frameset.htm
4. http://help.sap.com/saphelp_srm50/helpdata/en/2c/867d3ca2156c6ae10000000a114084/frameset.htm
The vendor ORG has to be seperately created through trasaction PPOCV_BBP before replicating the Vendors from the R/3 System.
http://help.sap.com/saphelp_srm50/helpdata/en/70/00c73a584611d6b21700508b5d5211/frameset.htm
5. http://help.sap.com/saphelp_srm50/helpdata/en/42/d3b671ba67136fe10000000a1553f7/frameset.htm
6. http://help.sap.com/saphelp_srm50/helpdata/en/29/d586398dcfd74fe10000000a11402f/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/05/9b8139437eac2ae10000000a11402f/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/f5/b4bcdac7c40c4dba53e3695d18236c/frameset.htm
7. Yes, from Browser it's quite easy and is quite user-friendly.
8.
http://help.sap.com/saphelp_srm50/helpdata/en/d3/4b9c3b122efc6ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/18/db183d30805c59e10000000a114084/frameset.htm
9.
You can use the following three routines to download locations from the backend system and store them as business partners in SAP Enterprise Buyer.
BBP_LOCATIONS_GET_ALL
To get all the location numbers from each backend system that is connected
BBP_LOCATIONS_GET_FROM_SYSTEM
To get all the location numbers from one particular backend system
BBP_LOCATIONS_GET_SELECTED
To get selected locations
Previously, locations were not given business partner numbers in SAP Enterprise Buyer. If you are configuring an upgrade, you can use routines BBP_LOCATIONS_GET_FROM_SYSTEM and BBP_LOCATIONS_GET_SELECTED to check that the following conversions have been made:
· Conversion of user favorites
· Conversion of user attributes
· Conversion of old documents
Routine BBP_LOCATIONS_GET_ALL checks these automatically.
Once you have run the routines, the location data is available in the SAP Enterprise Buyer system. Table BBP_LOCMAP contains the mapping information (in other words, which business partner number corresponds to which location in which backend system).
For more information, see SAP Note 563180 Locations for EBP 4.0 plant replication
http://help.sap.com/saphelp_srm50/helpdata/en/62/fb7d3cb7f58910e10000000a114084/frameset.htm
http://help.sap.com/saphelp_srm50/helpdata/en/77/e97b3c91c1eb1ee10000000a114084/frameset.htm
10. PPOCA_BBP(Create) / PPOMA_BBP(Change) / PPOSA_BBP(Display).
Regards
- Atul -
I just started looking at swing yesterday because I want to provide a GUI to replace a command line utility we use. I've basically finished it but have a quick question about form - I will get some literature later but would like to get a feel from the people here. If you have a JFrame with a few JPanels each which contain some other components, what is the best practice for variable declaration? Should I just declare the variables locally or should I make them instance variables? The reason I ask is that I have a button that submits a message but that message is dependant on check boxes, etc. from from the frame. If I declare them at the method level I then have to start passing them around whereas if I declare them as instance variables I can access them very easily BUT this may not be good form.
For example:
my class is SendMessageToo so in the main method I have a line like:
final SendMessageToo smt = new SendMessageToo();
now all the instance variables that I have can be accessed my the methods simply using smt.methodOne(), etc. Does that seem OK or is it just pure crap? :-)Thanks, that was something that crossed my mind before I just made eveything an instance variable. It was during that process that I thought, do these all need to be instance variables? Then I thought, SHOULD they all be instance variables. At that point my brain imploded so I came here. :)
-
Switching to mac, basic noob questions
Hi, I'm new to this. I have some xmas and bday money and i need a laptop. I have two desktop PC's (one XP and one Vista) and have had PC's all my life. I feel like switching it up and giving macs a try, it would make my purchase more fun. I've done some research and i think i want the black macbook with 2 gigs of ram. Here are some questions i need answered before going much further.
1.) I notice that every 6 months new macbook models come out. I also noticed that the last three (at least) have been very similar in hardware. Is it common that the new macbook probably coming out in the summer will be unvieled at macworld? If there is a big difference i might wait, i don't want to get the last model in a product line. Id the difference is another slight processor speed increase i won't bother waiting. As far as i know this isn't available information yet, so i'm just looking for a 'usually they do/don't' type of response.
2.) Is the apple care support really all it's cracked up to be? I'm not about to let my purchase go to waste on me, but at the same time if the support is rarely needed i might not bother. I'm a student and don't have too much money to blow if it's usually a waste. I generally like getting the warrenty for my things, i'm just looking for a more experienced opinion.
3.) Are the Apple stores in the Best Buys independent from Best Buy, or are they the same? I would like to put the 900 or so dollars i can down on this and put the rest of my best buy card to pay off over the next few months.
4.) If they're the same, does anyone know if the apple computers fall under best buy's "no interest for blank months of purchases over black?"
thanks!Hi Thomes08!
Welcome to Apple Discussions.
It sounds like you're in the process of making an excellent decision to go with a 2.2GHz "BlackBook" and up your RAM to 2.0GB. I think you'll be extremely pleased with your purchase.
1.) Unfortunately, these forums are not designed to be used as a means of product speculation. Matter of fact, it's against the Terms of Use (of these discussion pages) to speculate on upcoming product releases. We'll have to wait the 2-weeks for Mac World to see what comes out, there's no way to have any insight into the excitement that Steve's Keynote brings to technology.
2.) I'm a big fan of AppleCare, mostly because it ensures peace of mind over the reliability of my product for the 3-years that it'll serve as my primary machine. While, I've had multiple Macs last beyond 3-years, I also typically swap it out for the "latest and greatest." Especially with a portable and your student discount. The cost of APP for a MacBook is a relatively "no brainer" especially if you consider the cost (for parts & labor) of even the most basic repairs if the machine falls out of warranty.
3. I'm not entirely familiar with the logistics of the agreement that Apple has with Best Buy, so I'd rather not speculate. I do know that Apple also offers financing options through BML (Bill Me Later) and Juniper Bank, but I'm unfamiliar with the specifics of a split payment. Buying an Apple product through Best Buy still entitles you to all the same "benefits" of ownership, so there's no advantage (or disadvantage) to shop @ Best Buy. -
4 basic java questions..
ok so I already learned Java last year (in grade 11), but my teacher didn't really teach anything, we learnt everything by ourselves from the API... so theres a lot of things I actually don't understand, but for now I want to ask 4 basic questions:
1. What does static mean?
2. Why would u "final" a constant variable? ie. If you have a variable called SIZE which is set to 5, so if u want it to be a constant, just never change its value. But what does the keyword final do to it?
3. What's super? I see it sometimes, and my teacher showed us in the applet exampls to use super.paint(g) or somethign like that for the paint method, but I never use that because I noticed it works fine without it..
4. Whats a question mark? I saw a game that was made in java and it had a lot of places where it had a question mark , which was part of the syntax. For example,
int j1 = i != 0 ? i - 1 : 199;
OR
JUMPVEL = (fSuperSlime) ? 65 : 31;
I really don't understand these lines...
feel free to answer any of these questions...wow cool...thanks.. that question mark thing is nice
saves a few lines..
now, about super, so u mean u can access the parent
class's variables?Variables, methods, constructors, if the access level is such that it's allowed.
This will be covered in any tutorial or text though.
Sun's basic Java tutorial
Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's Thinking in Java (Available online.)
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java.
James Gosling's The Java Programming Language. Gosling is
the creator of Java. It doesn't get much more authoratative than this. -
Basic interview questions in abap ddic
can any one pls give me the link for basic ddic interview questions
Check these threads.
need real time interview questions on data dictionary
The specified item was not found.
data dictionanry
Maybe you are looking for
-
How to set a default mail to send from mozilla?
I would like to set gmail like my default mail in Mozilla Firefox. Is it possible? Regards
-
Some questions regarding x-fi pro 5.1
Hi guys, i have some questions that i cant seem to find answers to that i hope someone can help me with. I recently bought an X-FI Pro 5.1 USB sound blaster. I have it plugged into my computer, and i have an optical cable from its spdif output connec
-
Safari Crashing after latest Software Update.
I ran a software update last night, and since then Safari has been crashing immediately upon trying to open it (as has Mail). What can I do? Date/Time: 2006-10-13 11:01:58.304 -0500 OS Version: 10.4.8 (Build 8L127) Report Version: 4 Command: Safari P
-
Hi. For several hours now I have been trying to get my mac to restart properly. The problem began this morning while working in adobe photoshop where the spinning wheel kept causing stalls. Frustrated, quit APS I did a computer shut down. But when I
-
For Liquid Layout, is "Slice" supported?
I tried {%if {{item.name | slice:1,1}} and also tested {%if {{"hello" | slice:1,1}}, but neither worked. I'm trying to filter alphabetically, and wanted to something like this: {% for item in items %} {%if {{item.name | slice:1,1}} == "a" %} <tr> <t