Could someone Help please BlueJ Problem
Ok I am a University Student, and I am at the moment learn Java, as part of my work I have to make a sun descend like the sunset
I have wrote the method, and got it to work, at the moment though I havent gotten it to loop, and I do not know the command for looping, could someone please tell me the command so I can add it to my program.
The program I am using to write this is called BlueJ
Edited by: Devilslore on Oct 7, 2007 12:55 PM
Devilslore wrote:
I have wrote the method, and got it to work, at the moment though I havent gotten it to loop, and I do not know the command for looping, could someone please tell me the command so I can add it to my program.You should go to the Sun basic java tutorials on loops. Have a look here at the for loop tutorial:
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/for.html
The general tutorial index is here:
http://java.sun.com/docs/books/tutorial/java/index.html
The program I am using to write this is called BlueJThis has nothing to do with your problem. It is a tool to help you write java, nothing more. The program you are really using is the java compiler. In fact, in your next post here, consider having a better subject header. The one you listed suggested that this was an IDE (Integrated Development Environment) problem rather than a simple java problem. By mislabeling this header, I will bet that you cut the number of folks reading your question by more than half.
Similar Messages
-
My Ipad reboots over and over again could someone help with my problem?
My Ipad reboots over and over again, could someone help with my problem?
Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo.
-
I just replaced my macbook's batter and charger about a month ago, but it hasn't been charging for about 2 days now? Could someone help identify the problem and/or provide a solution.
Try Resetting the System Management Controller (SMC)
-
Could someone help please :):)
Hey!
Could someone please help me. Ive been given this question to do and i havent a clue what to do. I would be very grateful if someone could help me with it. Thanks
(i) Construct a java program that will read in a list of integers terminated by a zero. The program should conut the number of odd values within the set (excluding the terminating zero) and display this on the screen with appropiate supporting text.
(ii) Adapt and re-write the program from (i) to calculate the average of the odd integers (or indicate if no odd integers were entered) and present this as an integer with appropiate supporting text.Java Tutorials
I/O: Reading and Writing (but no 'rithmetic) -
I have recently got an iPad two and I love it, one problem however is that when I try to download books they don't appear on the bookshelf. When I go to purchases to download them, a message pops up that says I have already purchased this item, please go to purchases and select Download! If anyone could help that would be amazing! Many thanks!
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Are you doing this?
You have to sign in and download each iTunes account individually. -
Could someone help please - Fluxspace PKBUILD
I would like to ask someone from powerusers to be so kind and make package for fluxspace:
http://sourceforge.net/project/showfile … p_id=76737
Or could you post PKBUILD and I would try to make it with ABS.
Many thanks
I've seen request for the same package but in my case PKBUILD could be enough actually I tried some of those I found around here and had to admit it's just great to see it work.
Only Kompose build didn't work don't know why :cry:O.K. noone seems to be responding so far so I've tried to make it myself.
First this is PKBUILD I've created(don't laugh please it's the first try):
pkgname=Fluxspace
pkgver=0.4.0_alpha
pkgrel=1
pkgdesc=""
url="http://sourceforge.net/project/showfiles.php?group_id=76737"
license="GPL"
depends=(python imlib)
makedepends=(imlib)
install=fluxspace.install
source=(http://belnet.dl.sourceforge.net/sourceforge/fluxspace/fluxspace-0.4.0_alpha.tar.gz)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
/usr/bin/make || return 1
/usr/bin/make prefix=$startdir/pkg/usr install
cd $startdir/pkg/usr/bin
This build apparently doesn't work as it should when I try to makepkg the last what few lines what I got:
checking for imlib_create_image in -lImlib2... no
configure: error: *** Imlib2 was not found - make sure the imlib2 development package is installed. ***
Makefile:15: *** missing separator. Stop.
==> ERROR: Build Failed. Aborting...
Now it seems that the Imlib2 is missing even that I found some cvs in arch repository I couldn't install it - and ***missing separator . . . what does it mean? I hope that someone is going to drop few helping lines.
Thank you. -
Kernel Panic madness! Could someone help please?
I am getting several Kernal Panic messages a day. Could you please help me interpret the latest. Thank you!
Anonymous UUID: 433BF718-BFF4-3931-6FD5-DFE32F4648A3
Sat Dec 14 12:38:55 2013
panic(cpu 0 caller 0xffffff8000cdc19e): Kernel trap at 0xffffff7f82932431, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000001, CR3: 0x00000000037c2000, CR4: 0x00000000000606e0
RAX: 0x0000000000000001, RBX: 0xffffff802d220110, RCX: 0x0000000000000001, RDX: 0x0000000000000000
RSP: 0xffffff81d1fc3a50, RBP: 0xffffff81d1fc3a80, RSI: 0xffffff802d227ef0, RDI: 0xffffff8032997a80
R8: 0xffffff8032997a80, R9: 0x0000000000000000, R10: 0x0000000000000001, R11: 0xffffff8000fee610
R12: 0xffffff8032997a80, R13: 0xffffff802d0e3780, R14: 0xffffff802d0e3780, R15: 0x0000000000000002
RFL: 0x0000000000010246, RIP: 0xffffff7f82932431, CS: 0x0000000000000008, SS: 0x0000000000000000
Fault CR2: 0x0000000000000001, Error code: 0x0000000000000002, Fault CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff81d1fc36e0 : 0xffffff8000c22f69
0xffffff81d1fc3760 : 0xffffff8000cdc19e
0xffffff81d1fc3930 : 0xffffff8000cf3606
0xffffff81d1fc3950 : 0xffffff7f82932431
0xffffff81d1fc3a80 : 0xffffff7f82933573
0xffffff81d1fc3ac0 : 0xffffff7f8293b85d
0xffffff81d1fc3b50 : 0xffffff7f8293c09d
0xffffff81d1fc3b90 : 0xffffff7f8293ca0a
0xffffff81d1fc3bd0 : 0xffffff7f829257ae
0xffffff81d1fc3c10 : 0xffffff7f82927f00
0xffffff81d1fc3c60 : 0xffffff7f82924d44
0xffffff81d1fc3cc0 : 0xffffff7f82911c6a
0xffffff81d1fc3d00 : 0xffffff7f8291512f
0xffffff81d1fc3d20 : 0xffffff80010c107c
0xffffff81d1fc3d80 : 0xffffff80010dcdf3
0xffffff81d1fc3dd0 : 0xffffff80010a0ff5
0xffffff81d1fc3e40 : 0xffffff80010984bd
0xffffff81d1fc3eb0 : 0xffffff80010a6ba4
0xffffff81d1fc3ef0 : 0xffffff80010a6caf
0xffffff81d1fc3f30 : 0xffffff80010ac522
0xffffff81d1fc3f80 : 0xffffff80010ac6a3
0xffffff81d1fc3fb0 : 0xffffff8000cd6aa7
Kernel Extensions in backtrace:
com.apple.driver.AppleACPIPlatform(2.0)[C3EF3AFE-30FD-3902-B336-BC5346C9A7A3]@0 xffffff7f82907000->0xffffff7f8295ffff
dependency: com.apple.iokit.IOACPIFamily(1.4)[045D5D6F-AD1E-36DB-A249-A346E2B48E54]@0xfffff f7f81a8a000
dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f812ba000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
13A603
Kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
Kernel slide: 0x0000000000a00000
Kernel text base: 0xffffff8000c00000
System model name: iMac12,2 (Mac-942B59F58194171B)
System uptime in nanoseconds: 11111124429616
last loaded kext at 7213589244244: com.apple.filesystems.smbfs 2.0.0 (addr 0xffffff7f831ab000, size 335872)
last unloaded kext at 324784546412: com.apple.filesystems.msdosfs 1.9 (addr 0xffffff7f8313e000, size 57344)
loaded kexts:
com.apple.filesystems.smbfs 2.0.0
com.apple.filesystems.afpfs 11.0
com.apple.nke.asp-tcp 8.0.0
com.apple.driver.AudioAUUC 1.60
com.apple.filesystems.ntfs 3.11
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AGPM 100.14.11
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleBluetoothMultitouch 80.14
com.apple.iokit.IOBluetoothSerialManager 4.2.0f6
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleUpstreamUserClient 3.5.13
com.apple.kext.AMDFramebuffer 1.1.4
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleHDA 2.5.2fc2
com.apple.AMDRadeonX3000 1.1.4
com.apple.driver.AppleIntelHD3000Graphics 8.1.8
com.apple.driver.AppleMikeyDriver 2.5.2fc2
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.0f6
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleHWAccess 1
com.apple.kext.AMD6000Controller 1.1.4
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleSMCLMU 2.0.4d1
com.apple.driver.AppleLPC 1.7.0
com.apple.driver.AppleIntelSNBGraphicsFB 8.1.8
com.apple.driver.AppleBacklight 170.3.5
com.apple.driver.AppleMCCSControl 1.1.12
com.apple.driver.AppleThunderboltIP 1.0.10
com.apple.iokit.SCSITaskUserClient 3.6.0
com.apple.driver.AppleUSBCardReader 3.3.5
com.apple.driver.AppleIRController 325.7
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.4.0
com.apple.driver.AppleUSBHub 650.4.4
com.apple.iokit.AppleBCM5701Ethernet 3.6.9b9
com.apple.driver.AirPort.Atheros40 700.74.5
com.apple.driver.AppleFWOHCI 4.9.9
com.apple.driver.AppleAHCIPort 2.9.5
com.apple.driver.AppleUSBEHCI 650.4.1
com.apple.driver.AppleACPIButtons 2.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.0
com.apple.driver.AppleACPIEC 2.0
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0
com.apple.nke.applicationfirewall 153
com.apple.security.quarantine 3
com.apple.driver.AppleIntelCPUPowerManagement 216.0.0
com.apple.security.SecureRemotePassword 1.0
com.apple.kext.triggers 1.0
com.apple.driver.AppleBluetoothHIDKeyboard 170.15
com.apple.driver.AppleHIDKeyboard 170.15
com.apple.driver.IOBluetoothHIDDriver 4.2.0f6
com.apple.driver.AppleMultitouchDriver 245.13
com.apple.iokit.IOSerialFamily 10.0.7
com.apple.driver.DspFuncLib 2.5.2fc2
com.apple.vecLib.kext 1.0.0
com.apple.iokit.IOAudioFamily 1.9.4fc11
com.apple.kext.OSvKernDSPLib 1.14
com.apple.iokit.IOSurface 91
com.apple.iokit.IOBluetoothFamily 4.2.0f6
com.apple.iokit.IOAcceleratorFamily 98.7.1
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.0f6
com.apple.kext.AMDSupport 1.1.4
com.apple.AppleGraphicsDeviceControl 3.4.12
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.driver.AppleSMC 3.1.6d1
com.apple.driver.IOPlatformPluginFamily 5.5.1d27
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.iokit.IONDRVSupport 2.3.6
com.apple.driver.AppleSMBusController 1.0.11d1
com.apple.driver.AppleHDAController 2.5.2fc2
com.apple.iokit.IOGraphicsFamily 2.3.6
com.apple.iokit.IOHDAFamily 2.5.2fc2
com.apple.driver.AppleThunderboltEDMSink 1.2.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.0
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.6.0
com.apple.driver.AppleThunderboltDPOutAdapter 2.5.0
com.apple.driver.AppleThunderboltDPInAdapter 2.5.0
com.apple.driver.AppleThunderboltDPAdapterFamily 2.5.0
com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.0
com.apple.iokit.IOUSBMassStorageClass 3.6.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.0
com.apple.iokit.IOUSBHIDDriver 650.4.4
com.apple.driver.AppleUSBMergeNub 650.4.0
com.apple.driver.AppleUSBComposite 650.4.0
com.apple.iokit.IOUSBUserClient 650.4.4
com.apple.driver.AppleThunderboltNHI 1.9.2
com.apple.iokit.IOThunderboltFamily 2.8.5
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.mDNSOffloadUserClient 1.0.1b4
com.apple.iokit.IO80211Family 600.34
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.6.0
com.apple.iokit.IOUSBFamily 650.4.4
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 278.10
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.AppleKeyStore 2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily 21
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 2.0
com.apple.iokit.IOPCIFamily 2.8
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
com.apple.kec.pthread 1
System Profile:
Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i7, 3.4 GHz, 16 GB, SMC 1.72f2
Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 2048 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F344758334D314131333333433920
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.74.0-P2P
Bluetooth: Version 4.2.0f6 12982, 3 services, 23 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: OPTIARC DVD RW AD-5680H
USB Device: Hub
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Internal Memory Card Reader
USB Device: IR Receiver
Thunderbolt Bus: iMac, Apple Inc., 22.1If you still have your original ram remove all of the aftermarket and reinstall the original and test. If you don't have the original remove two at a time and swap back and forth until you either prove or disprove a ram fault.
-
I have a Mac mini Snow Leopard. In Numbers the grid lines are so faint that they are barely visible. Pleease could someone help me sort out this problem?
The User Manual has this:
Formatting Table Cell Borders
You can change the line thickness and color of table cell borders. Or you can hide the border of any cell.
To format table cell borders:
1 Select the cell border segments you want to format.
2 Use the controls in the format bar or in the Table inspector.
Click to choose a stroke color.
Click to choose a stroke style.
Click to choose a line thickness.
Stroke pop-up menu: Lets you choose a stroke style. Choose None to hide borders.
Line thickness: Controls the thickness of the stroke.
Color well: Lets you choose a stroke color.
When you click the color well in the format bar, a color matrix appears. Select a color by clicking it in the matrix, or click Show Colors to open the Colors window for additional color options.
When you click the color well in the Table inspector, the Colors window opens.
User Guide: http://manuals.info.apple.com/en_US/Numbers09_UserGuide.pdf -
Hello.. I try to make copy an audio track(AIFF-C audio) on another dvd but I can't. I was try to made an ''burn folder'' with the audio track but did burn it. Please could someone help me?
You appear to be having a hardware problem. Make an appointment at the Genius Bar of your nearest Apple Store to get a diagnosis.
-
In my Iphone 5, Nothing on my App Store is working, its displaying blank (Except for Genius section). I've tried to uninstall and install itunes and all its component in my desktop but still it doesn't fix the app store issue. Not sure if its problem with apple servers. Someone help please!
settigns>itunes and app store to make sure you are signed in.. If you are, you will see your account name..... anyhow, click your account name, sign out and sign back in
also go to to settings>general>reset and reset network settings... if that doesnt work settings>general>reset and reset all settings!
one of those shall work. The last step would be to restore your device (apple.com/support) HT1414 -
Hi, can someone help please - my iPhone hasn't been backed up since early August, now I can't seem to get it to back up to iCloud. I have 9GB of space, I have left it plugged in etc for 11hrs, but keep getting the same message " iPhone backup could not be completed" -what dies that mean.?
Hi,
I was facing issues with both backup and FB integration after the iOs 6 upgrade. Before then I did not have any issues with the iCloud backup service, but after a few days, I noticed that it was continually stuck at the Estimating time for the backup and it never progressed.
As any good techie would, I tackled the most pressing issue first . . . FB integration of course.
I had read in a separate post about this solution so tried it . . .
I deleted the original FB app and hard booted the phone. I then went into settings and entered the data for FB integration. Seconds later, I received a text message to my phone - already listed and verified in FB with a 6 digit code to re-enter instead of my password. Seconds later I was verified and then prompted to download the FB app. All backup and integrated.
Then I went into the iCloud backup, turned it off . . . and deleted the last backup. I then re-enabled backup . . . and although I thought I was going to face the same issue, after a few minutes, it moved on from Estimating time . . . to actually backing up. It is now a small way through the backup and seems to estimate that it will take another two hours to complete.
A good nights work. Backup and integration all sewed up. Good luck.
Cheers
Ian -
Hi could someone help me please ? Ive just bought the new ipad and want to put some movies on it. I have already converted some movies using handbrake and tried to transfer them to my ipad and it just wont work. ive tried drag and drop and everything
bluztoo wrote:
Haven't really used any of them including VLC - actually use netflix on the ipad more than anything. I was able to drop an mp4 into imovie on my ipad and see it there. This was something I had shot as avhcd and converted with turbo.264. Played fine. Probably not what you want for a movie player though.
Well, turbo.264 is indeed very nice to have - even for converting full-sized movies. (Nevertheless, TechRadar's latest roundup (see http://www.techradar.com/news/software/applications/6-of-the-best-video-converte rs-for-mac-1074303 ; also linked from another roundup at http://www.iphonelife.com/blog/87/benchmark-excellent-multimedia-converter-handb rake-vs-commercial-apps ) has shown it's still worse than HandBrake in most respects.)
All H.264 files (assuming they are H.264 level 4.1 or lower) are compatible with the built-in Videos app.
bluztoo wrote:
Those of you who use other players, what do you reccomend? Just curious.
It entirely depends on your needs. The top players (AVPlayerHD / ProPlayer, It's Playing, GoodPlayer) all have different strengths and weaknesses. I myself use It's Playing the most as I convert everything into MP4 and simply love the DSP's (brightness / volume / saturation boosting). (Its software decoders are definitely worse than those of AVPlayerHD / ProPlayer; however, MP4's are played back from hardware.) -
I have a Mac OS X 10.6 When I try to send an attachment with email it won't send - keeps saying 'fail'. Please could someone help? Thank you.
Hi lllaass! I replied to your post with the information you required but haven't heard from you since. If you don't, or can't help any further please would you let me know. Thanks.
-
I have some my violin recorded audio files and want them to be converted to printable notation throw "audio to score"from Factory. But do not have a normal result. Could someone help me, please. .
seeren wrote:
Normal result is on the sloppy side of inaccurate.
Wish I'd started this topic so I could give you a green star!
Great description. -
I have a Mac OS X 10.6 Snow Leopard. When on Face Time to my brother in Canada I could hear him but he wasn't able to hear me. We've both checked our Audio systems which seem to be in order. Please could someone help? Thanks.
Hi Shirley,
Long shot, but...
Open Audio Midi Setup in Applications>Utilities, see the input & output options & KHz setting there, some things will change it for their own use, then not set it back.
Maybe you are looking for
-
External Hard Drive(s) Read-Only?
I just bought an iMac. My PC recently died on me, and decided to go the smart route & purchase a Mac. The question I have is: I have 2 hard drives in an external case. I plugged it into the iMac. I'm able to view the drives, but I'm unable to delete
-
How to display Japanese text from an XML file
Hiya, I have various adapted mp3 players [called playlists on my site] which retrieve the songs and song titles/artists from an XML file. One of them plays Japanese music. Most of the tracks are in English but I now have a couple of songs with Japane
-
How to clear downloading items from iphone
I bought a season of a TV show using my iphone. My mistake as I didn't want them downloading to my phone. So I paused the downloads. How do I clear it so it does not keep telling me I have 21 items to download?
-
Error in invoking the build rule editor, LabView 2011
Hi all. I'm having a problem in Project Explorer. When I right-click on 'Build Specifications' and select New:Application (EXE), I get the following error dialog: "There was an error in invoking the build rule editor. Please check the corresponding
-
HELP!!!!! I am so angry BT!!
Sorry but I am really at my wits end with you BT! My father has lost his PIN number and can't remove his call barring service and can't make any outgoing calls. I reported this for him two weeks ago - he's 84 and hard of hearing, so couldn't make th