Button press and increment
All
We are trying to create a button where is the user clicks and holds the text field is incremented +1 each time. Any ideas on the best way to do this?
Hi. How about using a toogleButton instead of a button?
ToggleButton tb1 = new ToggleButton("toggle button 1");
tb1.selectedProperty().addListener(new ChangeListener<Boolean>() {
public void changed(ObservableValue<? extends Boolean> observable, Boolean oldValue, final Boolean newValue) {
if (newValue) {
});
Similar Messages
-
Opening a web overlay frame via button press (and closing it again)
Hi all
Is the following possible:
Push a button
A web content overlay window opens, displaying the web-based content within the frame (in this case, a URL pasted in from a google mobile search result). This window is smaller than the normal page size, so around 200 x 550px
Push the same button to close it, returning the page to the original state
The web content overlay launches automatically, but there's no 'hidden until triggered' option, as per the button panel.
I don't want the reader to have to 'leave' the app and go to the relevant full page browser via the folio (or Safari).
Many thanks
MartynSo there is no way to restrict the readerd access to the 'second' page, so it's only accessible via the button tha triggers the web overlay? Do the other apps you mention have the same issue - that the user can reach the duplicate page just by navigating as normal.
Anyway, I'm using the button method as suggested, made two pages etc. I've created the button, and made it jump to the other duplicate page, only problem is that the new page 'swipes' in, very quickly, which kind of negates the pop-up effect of using a web overlay window. Is there any way to make the duplicate page appear instantly over the old page (without pushing in from the bottom)?
Thanks
M -
I was using my ipod when the screen froze,then it went black/gray with messedup pixels and lines everywhere.I already tried plugging it in and connecting it to my computer,but nothings shows up in itunes, and my ipod doesn't respond to any buttons.Plus it won't go off.Someone please help; i don't want to have to replace it.
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
Show indices of Last TWO buttons pressed in a boolean array (how to?)
How would you go about showing the indices of the last TWO buttons pressed in an array of buttons, and only after TWO buttons have been pressed? I know how to show the LAST button pressed, and I know how to flag the event of two buttons being pressed (using the modulus), but I can't readily see how to show the indices of the last TWO.
For example, in an array of 24 buttons, someone presses buttons 2 and 7... an indicator says 2 & 7. Those buttons remain pressed. Now the user presses buttons 14 and 3, the same indicator now reads 14 & 3.
The indicator can be text, an int array, two ints, whatever. Any ideas?
Message Edited by LV_Addict on 07-28-2008 01:29 PMThanks Ben.
To get the LAST button pressed, I just XOR the array and look for the True, as shown. No biggie.
Yep, I know about the ability to expand the left side S/R to get a histogram, and have used that in the past. It doesn't seem to do anything for me here!
Attachments:
forumpic.jpg 9 KB -
My ipod touch stopped working. The screen is black with a small white circle/wheel with ridges/teeth in the middle of the screen. No matter what button is pressed and/or held nothing happenes. Can anyone assist me?
Try the remaining items of:
iOS: Not responding or does not turn on
If not successful and you can't turn the iPod fully off, let the battery fully drain. After charging for at least and hour try again.
- If still problem time for an appointment at the Genius Bar of an Apple store. -
my ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.
You need to connect to iTunes and restore.
iOS: Not responding or does not turn on
You may need to put the device into recovery mode, this is covered in the link on this page.
Did you back up the device? -
I have reached out to this community as my Iphone display gone black and got the solution to keep home and power button pressed. It worked but I would like to know
1. Why it went black and is there a permanent fix for this
2.Will the IOS gets automatically updated as I feel the IOS was 5 when I got the phone in 2012 december
3.Do you suggest 7.1 for Iphone 41. There is no way of knowing. These things happen.
2. The iOS only gets updated when you want it to be.
3. You should always update to the latest iOS your phone will support. Apple do not write the updates to make your experience worse. -
My iPhone 4 will not power on. When connected to iTunes via my computer, it is recognized and shows fully charged battery. Pressing and holding the sleep/wake button does nothing; just a black screen. Any suggestions?
Only way is to bring it to the Apple Store and use the warranty if it hasn't expired
-
HI
this happened today suddenly while i was working on my iPad it kicked my out of the app that i was using then white screen with black apple logo came out, i thought it was an ordinary thing cause this happens all the time with me, but this time it refused to turn on! After the white screen with the black logo vanished i wad waiting for my lock screen but no, a black screen showed up just like that! And could tell it was black "lighten" screen i tried more than 10 times to do the home+power thing but it wont work, whats wrong with my ipad!If the battery is completely drained it may take some time while on the charger before the iPad responds. Plug the iPad into the charger that came with it and plug that into a good wall outlet. Wait one hour. Then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. If the iPad restarts let it continue to charge until the battery is 100%. If it doesn't start up make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support. They will examine your iPad and explain your options.
-
I erased all content and settings from i phone because my dad gave it to me i press and hold both buttons i conected it to the itunes but it tells me its not available and my iphone doesnt open what shall i do?
Do you have a SIM in the phone? A SIM is required to activate the phone.
If you do, ask your dad if the phone was jailbroken or hacked to unlock it. -
???? How do I power up my iPad? My iPad won't power up. It just stays a black screen. Tried the start up button, the home button, pressing them down and holding.
Could be the battery is completely drained. Use the charger that came with the iPad and plug that into a known good wall outlet. Let it charge for at least an hour. Then, while it is still plugged in reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart.
If the device restarts let it remain on the charger until the battery indicates 100%. If it still will not turn on Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support. -
please help
Try to force your phone into recovery mode. Disconnect it from the computer's USB cord. Turn it off if you can by holding the sleep/wake switch until you see the red slide to off. If you can't turn it off, please continue. Press and hold the home button while plugging it into the computer's USB cord. Continue holding the Home button while iPhone starts up. While starting up, you will see the Apple logo. When you see "Connect to iTunes" on the screen, you can release the Home button and iTunes will display the recovery mode message. http://support.apple.com/kb/HT1808
Then you can restore your phone: http://support.apple.com/kb/HT1414 -
Ticker bean and WHEN-BUTTON-PRESSED trigger
Hi,
In Forms 6i, I use the Ticker bean. The problem with it, is that it appears on all canevas of my form.
But if the bean is "stopped" (i.e. the clock is stopped), it works fine and it does not appear on the next canevas I show.
However, I must have a button for the "stop" and another one that shows my next canevas. If I put the two code lines in the same WHEN-BUTTON-PRESSED trigger of a unique button, the ticker bean is still visible in the new canevas.
Any help is appreciated.
Regards,
Olivier.Olivier,
I think I remember having heard of this before. The reason for this could be that the ticker bean uses AWT classes, which are heavyweight. All you can try is to call
synchronize;
between starting and stopping the ticker if using one button only. If this doesn't help, then I don't know of any other solution that could work.
Frank -
I downloaded the latest iOS7 to my iPad and then the screen went blank and would not respond. I have tried pressing the two buttons together and briefly get the Apple logo but still can not restart, the logo disappears. I have tried connecting to my iMac to restore the iPad but the device does not show up (I have an old iMac). What else can I do?
You need to be running Snow Leopard 10.6.8 at the very least in order to sync your iPad with iTunes so you could update your Mac, if it can be updated, and if you care to do so.
If that's not an option, you will have to find someone that can restore the device for you with their computer running iTunes or make an appointment at an Apple Store and ask them to restore the device for you.
I hope that you have an iCloud backup, because you will lose everything on the device when it is restored.
Snow Leopard can still be purchased in the U.S. Apple Online Store.
http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
Also, I would not give up on the reset technique....holding down on the sleep and home buttons at the same time until the Apple logo appears. It takes about 10-15 seconds and sometimes just a little longer to get the logo to appear. -
Why does my iMac (on occasion) not shut down, warning message comes on saying i have to switch off by pressing and holding the power button then restart, something to do with a Panic report?
Thanks
BrianHi mende1,
you asked me to post the Kernal panic report then next time it appears, sorry for the delay but it was fine until yesterday when it happened again so here it is, hope you can make sense of this, thank you for your help.
Regards
Brian
Interval Since Last Panic Report: 97797 sec
Panics Since Last Report: 1
Anonymous UUID: 17D8F909-09A9-4BC6-A153-A12F75529506
Sun Jan 27 09:32:57 2013
panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff80002b4b31, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x00000000800a9118, CR3: 0x0000000000100000, CR4: 0x0000000000000660
RAX: 0xffffff80008c2028, RBX: 0x00000000800a9100, RCX: 0xffffff800ae5bf00, RDX: 0x0000000000000080
RSP: 0xffffff8078713e68, RBP: 0xffffff8078713eb0, RSI: 0x000000005aefd876, RDI: 0x00000000800a9118
R8: 0x0000000000000010, R9: 0x0000000000000000, R10: 0xfffffe802662d000, R11: 0x00080000000263f3
R12: 0xffffff8078713f60, R13: 0xffffff8078713f78, R14: 0x0000000000000000, R15: 0x00000000800a9118
RFL: 0x0000000000010002, RIP: 0xffffff80002b4b31, CS: 0x0000000000000008, SS: 0x0000000000000010
CR2: 0x00000000800a9118, Error code: 0x0000000000000000, Faulting CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff8078713b10 : 0xffffff8000220792
0xffffff8078713b90 : 0xffffff80002c4794
0xffffff8078713d40 : 0xffffff80002da55d
0xffffff8078713d60 : 0xffffff80002b4b31
0xffffff8078713eb0 : 0xffffff80002352a5
0xffffff8078713ec0 : 0xffffff800036489d
0xffffff8078713ee0 : 0xffffff8000345031
0xffffff8078713fb0 : 0xffffff8000820057
BSD process name corresponding to current thread: kernel_task
Mac OS version:
11G63
Kernel version:
Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
System model name: iMac10,1 (Mac-F2268CC8)
System uptime in nanoseconds: 1750251829240
last loaded kext at 51464252613: com.apple.filesystems.msdosfs 1.7.1 (addr 0xffffff7f815c7000, size 57344)
last unloaded kext at 215848970782: com.apple.driver.AppleFileSystemDriver 13 (addr 0xffffff7f825c2000, size 12288)
loaded kexts:
com.vmware.kext.vmnet 3.0.0
com.vmware.kext.vmioplug 3.0.0
com.vmware.kext.vmci 3.0.0
com.vmware.kext.vmx86 3.0.0
com.apple.filesystems.msdosfs 1.7.1
com.apple.driver.AppleBluetoothMultitouch 70.12
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.iokit.IOBluetoothSerialManager 4.0.8f17
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.GeForce 7.3.2
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleHDA 2.2.5a5
com.apple.driver.AppleMikeyDriver 2.2.5a5
com.apple.driver.AGPM 100.12.75
com.apple.driver.AppleBacklight 170.2.2
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.2.3
com.apple.driver.ApplePolicyControl 3.1.33
com.apple.driver.ACPI_SMC_PlatformPlugin 5.0.0d8
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.8f17
com.apple.driver.AppleIRController 312
com.apple.driver.AppleUSBCardReader 3.0.6
com.apple.iokit.SCSITaskUserClient 3.2.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCISerialATAPI 2.0.3
com.apple.iokit.IOAHCIBlockStorage 2.1.0
com.apple.driver.AppleAHCIPort 2.3.1
com.apple.nvenet 2.0.17
com.apple.driver.AppleUSBHub 5.1.0
com.apple.driver.AirPort.Atheros40 505.67.1
com.apple.driver.AppleUSBEHCI 5.1.0
com.apple.driver.AppleUSBOHCI 5.1.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleFWOHCI 4.9.0
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleACPIButtons 1.5
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.5
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 195.0.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1.4
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 195.0.0
com.apple.driver.AppleBluetoothHIDKeyboard 160.7
com.apple.driver.AppleHIDKeyboard 160.7
com.apple.driver.AppleMultitouchDriver 231.4
com.apple.driver.IOBluetoothHIDDriver 4.0.8f17
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.nvidia.nv50hal 7.3.2
com.apple.NVDAResman 7.3.2
com.apple.driver.DspFuncLib 2.2.5a5
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.driver.AppleHDAController 2.2.5a5
com.apple.iokit.IOHDAFamily 2.2.5a5
com.apple.iokit.IOSurface 80.0.2
com.apple.iokit.IOAudioFamily 1.8.6fc18
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleGraphicsControl 3.1.33
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleSMC 3.1.3d10
com.apple.driver.IOPlatformPluginLegacy 5.0.0d8
com.apple.driver.IOPlatformPluginFamily 5.1.1d6
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleUSBBluetoothHCIController 4.0.8f17
com.apple.iokit.IOBluetoothFamily 4.0.8f17
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.2.1
com.apple.iokit.IOUSBMassStorageClass 3.0.3
com.apple.driver.AppleUSBMergeNub 5.1.0
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.2.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.2.1
com.apple.iokit.IOAHCIFamily 2.0.8
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IO80211Family 420.3
com.apple.iokit.IONetworkingFamily 2.1
com.apple.iokit.IOUSBFamily 5.1.0
com.apple.driver.NVSMU 2.2.9
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOFireWireFamily 4.4.8
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 177.8
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 331.7
com.apple.iokit.IOStorageFamily 1.7.2
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.5
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
Model: iMac10,1, BootROM IM101.00CC.B00, 2 processors, Intel Core 2 Duo, 3.06 GHz, 4 GB, SMC 1.52f9
Graphics: NVIDIA GeForce 9400, NVIDIA GeForce 9400, PCI, 256 MB
Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.67.5-P2P
Bluetooth: Version 4.0.8f17, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST3500418ASQ, 500.11 GB
Serial ATA Device: OPTIARC DVD RW AD-5680H
USB Device: Ext HDD 1021, 0x1058 (Western Digital Technologies, Inc.), 0x1021, 0x24300000 / 3
USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0x24400000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26500000 / 3
USB Device: hub_device, 0x0409 (NEC Corporation), 0x0059, 0x26400000 / 2
USB Device: Tablet, 0x172f, 0x0037, 0x26410000 / 6
USB Device: Mass Storage Device, 0x058f (Alcor Micro, Corp.), 0x6362, 0x26430000 / 5
USB Device: USB 2.0 Hub [MTT], 0x1a40 (TERMINUS TECHNOLOGY INC.), 0x0101, 0x26440000 / 4
USB Device: JumpDrive, 0x05dc (Lexar Media, Inc.), 0xa205, 0x26441000 / 7
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x06110000 / 4
Maybe you are looking for
-
Reliable working combination of VPN client and Sidewinder firewall?
My work's I.T. Dept has deployed a "Sidewinder" VPN firewall with certs at our workplace. All works well with our many remote Windoze clients. The Windoze clients are using a "Greenbow" VPN client. They (the I.T. Dept.) were never able to get the bui
-
Access to Safari is blocked because Apple file is allegedly damaged
An alert from <techsupportnumber.us> appears repeatedly when I try to use Safari on my MacBook Pro (OSX Lion). It says that my Apple file has been damaged and that I should contact Apple customer care. The phone number is different from the Apple sup
-
All contacts appear to be offline, when not.
Hi, I´m running iChat on a MacBook Pro with latert version of Lion. When set up the account I used my @me account, the set up a second account @gmail. For some reason when I try to contact a friend from my address book, says that they are offline, wh
-
Screen Layout Corruption?
HELP!!! Cannot edit screen layout.....Layout has been corrupted, and causes RH10 to shut down when I try to edit it. The published layout has changed as well, with pictures enlarged and interfering with the body text.
-
Audit Vault 10.2.3.2 now available
Hi Audit Vault Forum, Wanted to let you know about the new [Audit Vault 10.2.3.2 patchset|http://updates.oracle.com/download/9087650.html] that was released a few weeks ago. We have added lots of new functionality like: # Entitlement Reports * Extrac