Need help with a Layout problem
I'm writing a game japplet, and I'd like to have the following layout:
1 JPanel that takes up the whole screen
1 JPanel on top of the first panel in the lower left corner
1 JPanel on top of the first panel in the lower right corner
What layout manager would be best for this system, or can I get away with just using setLocation()'s
For a game, using a layout manager could not be the good solution... for example, if you have to draw a game area of fixed size, it's incompatible with a layout management which could reduce or grow the area's size.
Personnally I would use the null layout solution... harder to code but much more reliable in this case!
Good luck for your game... ;)
Regards.
Similar Messages
-
Need help with Page Layout and Background Scaling
hello, everyone.
I am in the process of designing a new website for myself,
and while I was researching nicely designed pages to use as
inspiration, I stumbled upon this site:
http://www.jeffsarmiento.com/
obviously, the design is very impressive, but it also
incorporates a lot of web mechanics that I have been trying to
figure out, so I will use this page as an example.
one thing I need help with is backgrounds. as you can see in
the posted website, the creator used a seamlessly tiled paper
texture to display the bulk of his content on. also make not of the
pattern that is located to the left of the paper texture. how do I
create seamless backgrounds like this that will scale to fit any
amount of content or any resolution? I can't imagine that the guy
that made that site created a new size background every time he
made an update, so there has to be an easier way.
the second thing that I am having trouble with is general
site layout. I have read that most sites used series of invisible
tables to organize there content, but when I open the source of
this page in dreamweaver, he was using something different. div
tags? should I be using these? who do I use them? are there any
general layout tips that someone could pass on to me? perhaps a
link to a good tutorial?
please help me. i am very confused.
thanks so much.IMO not a good site to emulate. To wit:
Top background image:
http://www.jeffsarmiento.com/images/bg-top.jpg;
745px
x 350px 137K
Main background image:
http://www.jeffsarmiento.com/images/bg-tile.jpg;
745px x 950px 130K
Total page size: 454K (Check here:
www.websiteoptimization.com)
Website usability experts routinely recommend a maximum page
size of ~80K
Check out the We We Scale @ www.FutureNowInc.com/wewe/ where
they suggest,
"You speak about yourself approximately 0,003 times as often
as you speak
about your customers. Might that have an impact on your
effectiveness?"
That is 100% consistent with the #1 Web Design mistake:
"Believing people
care about you and your web site." or to phrase more
expansively, "Our site
tries to tell you how wonderful we are as a company, but not
how we're going
to solve your problems."
www.sitepoint.com has some excellent books on making a
website actually
attractive and usable at the same time.
Walt
"beWILLdered_" <[email protected]> wrote in
message
news:[email protected]...
> hello, everyone.
> I am in the process of designing a new website for
myself, and while I was
> researching nicely designed pages to use as inspiration,
I stumbled upon
> this
> site:
>
http://www.jeffsarmiento.com/
> obviously, the design is very impressive, but it also
incorporates a lot
> of
> web mechanics that I have been trying to figure out, so
I will use this
> page as
> an example.
> one thing I need help with is backgrounds. as you can
see in the posted
> website, the creator used a seamlessly tiled paper
texture to display the
> bulk
> of his content on. also make not of the pattern that is
located to the
> left of
> the paper texture. how do I create seamless backgrounds
like this that
> will
> scale to fit any amount of content or any resolution? I
can't imagine that
> the
> guy that made that site created a new size background
every time he made
> an
> update, so there has to be an easier way.
> the second thing that I am having trouble with is
general site layout. I
> have
> read that most sites used series of invisible tables to
organize there
> content,
> but when I open the source of this page in dreamweaver,
he was using
> something
> different. div tags? should I be using these? who do I
use them? are there
> any
> general layout tips that someone could pass on to me?
perhaps a link to a
> good
> tutorial?
> please help me. i am very confused.
>
> thanks so much.
> -
Please I really need help with this video problem.
Hi!
Please I need help with this app I am trying to make for an Android cellphone and I've been struggling with this for a couple of months.
I have a main flash file (video player.fla) that will load external swf files. This is the main screen.When I click the Sets Anteriores button I want to open another swf file called sets.swf.The app is freezing when I click Sets Anteriores button
Here is the code for this fla file.
import flash.events.MouseEvent;
preloaderBar.visible = false;
var loader:Loader = new Loader();
btHome.enabled = false;
var filme : String = "";
carregaFilme("home.swf");
function carregaFilme(filme : String ) :void
var reqMovie:URLRequest = new URLRequest(filme);
loader.load(reqMovie);
loader.contentLoaderInfo.addEventListener(Event.OPEN,comeco);
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progresso);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completo);
palco.addChild(loader);
function comeco(event:Event):void
preloaderBar.visible = true;
preloaderBar.barra.scaleX = 0;
function progresso(e:ProgressEvent):void
var perc:Number = e.bytesLoaded / e.bytesTotal;
preloaderBar.percent.text = Math.ceil(perc*100).toString();
preloaderBar.barra.scaleX = perc;
function completo(e:Event):void
preloaderBar.percent.text = '';
preloaderBar.visible = false;
btHome.addEventListener(MouseEvent.MOUSE_DOWN,onHomeDown);
btHome.addEventListener(MouseEvent.MOUSE_UP,onHomeUp);
btSets.addEventListener(MouseEvent.MOUSE_DOWN,onSetsDown);
btSets.addEventListener(MouseEvent.MOUSE_UP,onSetsUp);
btVivo.addEventListener(MouseEvent.MOUSE_DOWN,onVivoDown);
btVivo.addEventListener(MouseEvent.MOUSE_UP,onVivoUp);
btHome.addEventListener(MouseEvent.CLICK,onHomeClick);
btSets.addEventListener(MouseEvent.CLICK,onSetsClick);
function onSetsClick(Event : MouseEvent) : void
if (filme != "sets.swf")
filme = "sets.swf";
carregaFilme("sets.swf");
function onHomeClick(Event : MouseEvent) : void
if (filme != "home.swf")
filme = "home.swf";
carregaFilme("home.swf");
function onHomeDown(Event : MouseEvent) : void
btHome.y += 1;
function onHomeUp(Event : MouseEvent) : void
btHome.y -= 1;
function onSetsDown(Event : MouseEvent) : void
btSets.y += 1;
function onSetsUp(Event : MouseEvent) : void
btSets.y -= 1;
function onVivoDown(Event : MouseEvent) : void
btVivo.y += 1;
function onVivoUp(Event : MouseEvent) : void
btVivo.y -= 1;
Now this is the sets.fla file:
Here is the code for sets.fla
import flash.utils.Timer;
import flash.events.TimerEvent;
var video:Video;
var nc:NetConnection;
var ns:NetStream;
var t : Timer = new Timer(1000,0);
var meta:Object = new Object();
this.addEventListener(Event.ADDED_TO_STAGE,init);
function init(e:Event):void{
video= new Video(320, 240);
addChild(video);
video.x = 80;
video.y = 100;
nc= new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS, onStatusEvent);
ns.bufferTime = 1;
ns.client = meta;
video.attachNetStream(ns);
ns.play("http://www.djchambinho.com/videos/segundaquinta.flv");
ns.pause();
t.addEventListener(TimerEvent.TIMER,timeHandler);
t.start();
function onStatusEvent(stat:Object):void
trace(stat.info.code);
meta.onMetaData = function(meta:Object)
trace(meta.duration);
function timeHandler(event : TimerEvent) : void
if (ns.bytesLoaded>0&&ns.bytesLoaded == ns.bytesTotal )
ns.resume();
t.removeEventListener(TimerEvent.TIMER,timeHandler);
t.stop();
The problem is when I test it on my computer it works but when I upload it to my phone it freezes when I click Sets Anteriores button.
Please help me with this problem I dont know what else to do.
thank youMy first guess is you're simply generating an error. You'll always want to load this on your device in quick debugging over USB so you can see any errors you're generating.
Outside that, if you plan on accessing anything inside the SWF you should be loading the SWF into the correct context. Relevant sample code:
var context:LoaderContext = new LoaderContext();
context.securityDomain = SecurityDomain.currentDomain;
context.applicationDomain = ApplicationDomain.currentDomain;
var urlReq:URLRequest = new URLRequest("http://www.[your_domain_here].com/library.swf");
var ldr:Loader = new Loader();
ldr.load(urlReq, context);
More information:
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7de0.html
If you're doing this on iOS you'll need to stripped SWFs if you plan on using any coding (ABC) inside the files. You mentioned iOS so I won't get into that here, but just incase, here's info on stripping external SWFs:
http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/ -
Need Help with particular layout
Hi,
I need help with a particular layout with jsf.
I dont be able to get this layout with checkbox and inputtext.
label checkbox
label checkbox
label checkbox
label checkbox
label checkbox labelinputtext inputext
with panelgrid I obtain only this one
label checkbox
label checkbox
label checkbox labelinputtext inputext
label checkbox
label checkbox
But I want place inputext and its label next to the last checkbox.
Could someone help me? Thanks<h:panelGrid columns="2">
<h:selectManyCheckbox layout="pageDirection" styleClass="styled">
<f:selectItem itemLabel="Ischemica" itemValue="Ischemica"/>
<f:selectItem itemLabel="Ipertensiva" itemValue="Ipertensiva"/>
<f:selectItem itemLabel="Valvolare" itemValue="Valvolare"/>
<f:selectItem itemLabel="Cardiomiopatia" itemValue="Cardiomiopatia"/>
<f:selectItem itemLabel="Altro" itemValue="Altro" />
</h:selectManyCheckbox>
<h:panelGrid columns="2" styleClass="tableA" >
<h:outputText value="Specificare" />
<h:inputText value="" styleClass="styled2" />
</h:panelGrid>
</h:panelGrid>
In my css I insert class
.tableA{
vertical-align: bottom;
} -
I need help with a browser problem
I am was given a new iMac G3 (from 2001) which was really never used.I have not yet had any serious problems with it, but really could use some help with a browser problem.
I have 4 different web browsers that needs the macro media flash player update. The browsers I use are internet explorer, iCab, Netscape, and the original Mozilla Firefox.
It would be of great appreciation for the readers of this post to answer my question.
I am also having the problem with installing the plug - ins for the browsers. Thank You For Taking the Time To read This!Hi, rynodino -
As Tom has suggested, plugins need to be installed in the Plug-Ins folder for the browser.
Typically each browser will have its own Plug-Ins folder, usually located in the same folder containing the browser itself. In order for each of several browsers to access the same plugins, the plugins must be replicated and placed in each of the Plug-Ins folders for each of the browsers. The easy way to do that is to hold down the Option key while dragging a plugin to the new location - a copy (not an alias) of the plugin will be generated at the location it is dragged to.
Most plugins will display a Netscape icon regardless of where they are located - this is normal.
It is not unusual for the installer for a plugin to default its install to the Plug-Ins folder for Internet Explorer. So be it. Just replicate the new plugin to the other Plug-Ins folders as needed.
Note that some plugin installs will involve more than one item. For those, be sure to replicate all items for it. Using labels can help identify what is new, what has been most recently added, in a Plug-Ins folder. -
I need help with the following book problem...could someone write this code for me?? Thanks!!
First design and implement a class called PairOfDice, composed of two six-sided Die objects. Using the PairOfDice class, design and implement a class to play a game called Pig. In this game, the user competes against the computer. On each turn, the current player rolls a pair of dice and accumulates points. The goal is to reach 100 points before your opponent does. If, on any turn, the player rolls a 1, all points accumulated for that round are forfeited and control of the dice moves to the other player. If the player rolls two 1s in one turn, the player loses all points accumulated thus far in the game and loses control of the dice. The player may voluntarily turn over the dice after each roll. Therefore the player must decide to either roll again (be a pig) and risk losing points, or relinquish control of the dice, possibly allowing the other player to win. Implement the computer player such that it always relinquishes the dice after accumulating 20 or more points in any given round.
I realize this is a long code, so it would be greatly appreciated to anyone who writes this one for me, or can at least give me any parts of it. I honestly have no clue how to do this because our professor is a dumbass and just expects us to know how to do this...he doesn't teach us this stuff...don't ask. Anyways, thanks for taking the time to read this and I hope someone helps out!! Thank you in advance to anyone who does!!!Nasty comments? It's not a matter of not liking you, it's a matter of responding to the
"I'ts everyone else's fault but mine" attitude of your post.
If you are genuine, the program is very easy to write, so, your Professor is correct when he said you should
be able to do it. I'm still very much in the beginner category at java, and it took me only 20 mins to write
(+5 mins to design it on paper). 2 classes in one file < 100 lines. Most of the regulars here would do it in half the time / half the lines.
All of the clues are in the description, break them down into their various if / else conditions. Write it down on paper.
Have a go. Try to achieve something. Post what you've tried, no-one will laugh at you, and you will be
pleasanty surprised at the level of help you will get when you've "obviously" made some effort.
Again, have a go. If you don't like problem-solving, then you don't like programming. So, you gotta ask
yourself - "what am I doin' here?" -
Need help with simple mask problem
hi there this is mark from superbooty a band that has played in the bay area for over 10 years...
i was wondering if someone could help me with a Motion2 problem i'm having regarding masks.
i'm working on this simple animated scene of a car going by a beach - the photo is from the passenger side and shows the outside mirror.
i'm moving the background (different from the original that came with the car) and i want to move an image of tokyo inside the mirror housing too.
i figured out how to do the mask but when i try to animate the image of tokyo the mask layer moves with it. when i lock the mask i can't move the image - ???
there's got to be a way to lock the mask but be able to move what it is masking..
here are the links to three images that show what the problem is - the first is
the shot of the scene unmasked, shot 2 is the scene with the mask enabled, and the third is the shot when i try to animate the tokyo background:
http://superbooty.com/mirrorbeach1.jpg
http://superbooty.com/mirrorbeach2.jpg
http://superbooty.com/mirrorbeach3.jpg
any help would be most appreciated - thanks!Adam's solution is the one I'd use - put the mirror contents in a layer, mask the layer, then manipulate the mirror content image. Did this solve it for you - if so, please click on the or buttons over posts as appropriate...
Patrick -
Need help with applet related problems
First of all hello to everyone. I'm new to this forum. I usually can solve my problems google-ing around, but this time I just ran out of ideas.
I'm trying to develop a jni applet that can run native code for performance. I used netbeans so far and the applet works great when run from within the ide. At some point a managed to make the applet run inside firefox and iexplore, however somehow i screwed something up and now i can't make it run anymore. I don't really know what i did but i think it may be related to these lines in the console since everything up until awt works fine in the applet:
basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
basic: Native library jawt.dll not found
Ofc i may be wrong.
This also my be a local problem because a friend of mine tried the applet himself and said it's working.
All the jars are selfsigned.
below i posted the console output in case you want to take a look. Also I am interested about the "try again.." messages that seem to pop over and over again.
Java Plug-in 1.6.0_27
Using JRE version 1.6.0_27-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Gladiator
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : 200
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : null
network: Sever response: (length: 564, lastModified: Wed Sep 07 16:30:17 EEST 2011, downloadVersion: null, mimeType: application/x-java-jnlp-file)
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
Content-Length: 564
Content-Encoding: null
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\57\7465fe39-7a36cd96-temp
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
temp: new XMLParser with source:
temp: <?xml version="1.0" encoding="UTF-8"?>
<jnlp href="launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<jar href="SpaceGame.jar" main="true" />
</resources>
<resources os="Windows">
<nativelib href="lib/swt.jar"/>
</resources>
<applet-desc
name="test app"
main-class="javatest.JTest"
width="800"
height="600">
</applet-desc>
<security>
<all-permissions/>
</security>
</jnlp>
temp:
returning ROOT as follows:
<jnlp href="launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
</information>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="SpaceGame.jar" main="true"/>
</resources>
<resources os="Windows">
<nativelib href="lib/swt.jar"/>
</resources>
<applet-desc name="test app" main-class="javatest.JTest" width="800" height="600"/>
<security>
<all-permissions/>
</security>
</jnlp>
temp: returning LaunchDesc from XMLFormat.parse():
<jnlp spec="1.0+" codebase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/" href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp">
<information>
<title>test app</title>
<vendor>Raven</vendor>
<homepage href="null"/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
<jar href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar" download="eager" main="true"/>
<nativelib href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar" download="eager" main="false"/>
</resources>
<applet-desc name="test app" main-class="javatest.JTest" documentbase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.html" width="800" height="600"/>
</jnlp>
network: CleanupThread used 16572 us
basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
network: No Custom Progress jar
network: LaunchDownload: concurrent downloads from LD: 4
network: Total size to download: -1
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : 200
network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : 200
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : null
network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : null
network: Sever response: (length: 12948, lastModified: Tue Sep 06 22:46:50 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
network: Sever response: (length: 2007707, lastModified: Tue Sep 06 22:47:10 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
network: CleanupThread used 1 us
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
Content-Length: 12,948
Content-Encoding: null
network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
Content-Length: 2,007,707
Content-Encoding: null
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c-temp
network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar , version null...
security: Blacklist revocation check is enabled
security: Trusted libraries list check is enabled
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
network: CleanupThread used 1 us
network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/5/26fb4185-10c9079c
network: Download Progress: jarsDone: 1
network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-temp
network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar , version null...
network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
network: CleanupThread used 2 us
network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/10/1082924a-7851bf5e
network: Download Progress: jarsDone: 2
network: Created version ID: 1.6+
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6.0.27
network: Created version ID: 1.6
basic: LaunchDesc location: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
network: Created version ID: 1.0+
network: Created version ID: 6.0.18
security: Validating signatures for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
security: TustedSet null
security: Empty trusted set for [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp]
security: Round 1 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
security: Entry [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar] is not prevalidated. Revert to full validation of this JAR.
security: Round 2 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c com.sun.deploy.cache.CachedJarFile@698403
security: Round 2 (1 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e com.sun.deploy.cache.CachedJarFile@e80842
security: Have 1 common certificates after processing file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
security: Istrusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp false
security: Accessing keys and certificate in Mozilla user profile: null
security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
security: User has granted the priviledges to the code for this session only
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
security: Mark trusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
basic: LD - All JAR files signed: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
basic: passing security checks; secureArgs:true, allSigned:false
basic: continuing launch in this VM
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: JNLP2ClassLoader.findClass: javatest.JTest: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
basic: JNLP2ClassLoader.getPermissions() X
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.events.PaintListener: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
basic: JNLP2ClassLoader.getPermissions() X
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SWTEventListener: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Drawable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Layout: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.layout.FillLayout: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Composite: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Scrollable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Control: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Widget: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Shell: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Decorations: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Canvas: try again ..
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 81605 us, pluginInit dt 2397573 us, TotalTime: 2479178 us
basic: JNLP2ClassLoader.findClass: javatest.JTest$1: try again ..
basic: Applet initialized
C:\Users\Gladiator\AppData\Roaming
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display: try again ..
basic: Removed progress listener: null
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Device: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRIC: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Event: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.C: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Platform: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEX: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Lock: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Library: try again ..
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TCHAR: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.ACTCTX: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.DLLVERSIONINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.STARTUPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display$1: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Font: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Resource: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Callback: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WNDCLASS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TaskBar: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Listener: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PAINTSTRUCT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GCData: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GC: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PROPERTYKEY: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.HIGHCONTRAST: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.MSG: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Synchronizer: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTError: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTException: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Cursor: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMHDR: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMLVDISPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT: try again ..
basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
basic: Native library jawt.dll not found
basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-awt-win32-3735.dll
basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-awt-win32-3735.dll
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.MenuItem: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Item: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Menu: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOA: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFO: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOW: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.ToolTip: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$11: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$13: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.EventTable: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WINDOWPOS: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LRESULT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.RECT: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Point: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SerializableCompatibility: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Rectangle: try again ..
basic: JNLP2ClassLoader.findClass: javatest.JTest$3: try again ..
basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TypedListener: try again ..
-----I am sorry for bold, i came here to ask for help. I used bold to differentiate output from my questions since i couldn't find tags.
I already validated jnlp using JaNeLA and got only optimization suggestions.
As I said in first post, this works for a friend of mine, so it's possible a local issue with my java or something ...
Also i reinstalled jre/jdk 7.0, then uninstalled and installed latest jre/jdk 6.
Hope I didn't leave a bad impression, i just want help. -
Need help with new email problem
Hi friends . . . I'm not sure if this is a forum that could help me figure out my new problem . . . but I'll give it a try. . .I need some help . . . My email is sometimes being sent to the wrong address. Instead of my Yahoo address, they're sent to AOL instead. At first I thought this was an eBay or Paypal problem, but other mail that I subscribe to is all of a sudden going to AOL instead of my Yahoo address . . .In all of these cases, the AOL address was never registered with the site. I'm not using an external POP mail program . . . just standard Yahoo mail with iMac and Firefox. Anyone have any clue what's going on . . . .thanks in advance for any help . . .
You're using Google Mail : you should have said that earlier. the more information you give, the faster the solution.
Then it's easy for you. Please read this article from the public knowledge base :
http://www.blackberry.com/btsc/KB10332
Duplicate sent email message arrives on BlackBerry smartphone when sent using Gmail
The search box on top-right of this page is your true friend, and the public Knowledge Base too: -
Need help with landscape layout
Need some help. Tyring to build layout for a financial report. Each report will have 1) data block with company name, stock symbol and price 2) one or two line headline 3) two to three paragraphs of text and 4) large graph...I cant seem to get a nice layout which accents the company information and has enough space around the headline. . I tried putting the information block at top left, the paragraphs directly below and then the headline and graph towards the right side.
Doesn't seem to be working..... Any tips on setup/placement would be appreciated -
I need help with a iMac problem my brother has!
Hello! So my brothers old iMac (around 2-3 years old) would just not start. When i pressed the start button on the back of the computer the screen just turned white with a apple logo in the middle and the typical wheel spinning. We waited for about 30 minutes but still nothing. My friend told me to hold shift+command+r+p and that brings up a menu after a while if i want to restore from time machine, reinstall max os x, get help on the internet or so some stuff with the discs. The last 2 things are not important tho. When i then press "restore from timemachine" or something it starts to search for a backup. After 10 minutes it still hasnt found one. So i went back and clicked "reinstall mac os x" and it showed the disks i was going to install the new mac os x software on.
There was one called "Macintosh HD" and one called "Recovery HD". But they both were locked and i could not install mac os x beacause they were the only 2 disks there. Macintosh HD was about 600GB memory and 150GB free and the other one was only about 600MB. How can i fix this? It would be nice if we could restore the computer back to before because he had some things from school but if it dosnt work we can do a full new mac os x so it is all new and no programs/users on it. I hope you understood what i said because my english is not that good
Its OS x 10.8.4 i think, might be 10.8.2/3 or something xDI suggest verifying that your hard drive is OK. First power off the system, then hold down the Command and R keys to get into the Mac OS X recovery mode. Once you select your language you can run Disk Utility to determine whether your hard drive is functioning correctly. I suggest using the 'Repair Disk' and Repair Disk Permissions' options. If Disk Utility finds problems (SMART errors) then you will need to get them resolved before proceeding. I believe too many SMART errors can lock your drive.
I also suggest reviewing the following Apple website describing the iMac 1TB Seagate Hard Drive Replacement Program to see if your system is affected. The program has been around for quite awhile. According to the document, eligibility may have ended April 12th depending on when you purchased the system, but it's worth checking.
http://www.apple.com/support/imac-harddrive/ -
Still Need Help with this String Problem
basically, i need to create a program where I input 5 words and then the program outputs the number of unique words and the words themselves. for example, if i input the word hello 5 times, then the output is 1 unique word and the word "hello". i have been agonizing over this dumb problem for days, i know how to do it using hashmap, but this is an introductory course and we cannot use more complex java functions, does ANYONE know how to do this just using arrays, strings, for loops, if clauses, etc. really basic java stuff. i want the code to be able to do what the following program does:
import java.io.*; import java.util.ArrayList;
public class MoreUnique {
public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str[] = new String[5]; int uniqueEntries = 0; ArrayList<String> ue = new ArrayList<String>();
for (int i = 0; i < 5; i++) { System.out.print((i +1) + ": "); str[i] = br.readLine(); }
for (int j = 0; j < 5; j++) {
if (!ue.contains(str[j].toLowerCase())) { ue.add(str[j].toLowerCase()); } } uniqueEntries = ue.size(); System.out.print("Number of unique entries: " + uniqueEntries + " { ");
for (int q = 0; q < ue.size(); q++ ) { System.out.print(ue.get(q) + " "); } System.out.println("}"); } } but i need to find how to do it so all 5 words are put in at once on one line, and without all the advanced java functions that are in here, can anyone help out?you have to compare string 0 to strings 1-4, then
string 1 with strings 2-4, then string 2 with strings
3 and 4 then string 3 with string 4....right???Here's a way to do it:
public class MoreUnique {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
final int NUM_WORDS = 5;
String[] words = new String[NUM_WORDS];
int uniqueEntries = 0;
for(int i = 0; i < NUM_WORDS; i++) {
System.out.print((i+1)+": ");
String temp = br.readLine();
if(!contains(temp, words)) {
words[uniqueEntries++] = temp;
System.out.print("Number of unique entries: "+uniqueEntries+" { ");
for (int i = 0; i < uniqueEntries; i++ ) {
System.out.print(words[i]+" ");
System.out.println("}");
private static boolean contains(String word, String[] array) {
Your code here: just a simple for-statement to
loop through your array and to see if 'word'
is in your 'array'.
}Try to fill in the blanks.
Good luck. -
Desperately need help with a recognition problem
Running on Windows XP Home Edition.
I have had a problem with my 30gig ipod video since the start of the month. Whenever I plug it in, windows displays a "Usb Device not recognized.
One of the usb decives attatched to this computer has malfunctioned and windows does not recognize it.".
For the past few days i've crawled through search engines and forums searching for a fix but nothing i've tried seems to work. I've tried using different usb ports, reinstalling the software, resetting my ipod but none of ipod's 5 r's worked. In device manager, it just pops up as "unknown device".
I've tried updating the driver with my disc but all I get is "the wizard could not find a better match for your hardware than the software you currently have installed" and when I click on it's driver details I get a "no driver files are required or have been loaded for this device" message.
Also, sometimes (usually after a reset) the ipod would appear as charging even though it actually isn't. The iPod seemed to work for the guy at the computer shop (who also charged it for me) while using the same usb cable, I took it back and he restored it form me but to no avail. I've tried turning off my firewalls and I hadn't installed any new programs between when my ipod was and wasn't recognized. Yet another thing worth mentioning would be that my computer wasn't turned off properly the night before it stopped working and that I had to hold down the power button as the comp was stuck on "Saving settings" (Yes. I am an idiot) which is my money on what caused the problem, but i'm not 100% as I have been forced to do this a couple of times before. =S.
I would really appreciate any help solving this problem.
Windows XPIf you've tried everything else, one other thing to try is to run Registry Mechanic -- you can download it for free and run diagnosis, but need to pay for full version that actually fixes any problems it finds.
I had exact same problem with two iPods on same computer suddenly (the original 4th gen 60G photo, and the 5th gen 60G video I bought to replace it because I thought it was a hardware problem with iPod.) Neither was recognized (in windows/ in device manager/in iTunes). Sometimes they would charge while connected, but other times they would appear to charge but actually be draining charge.
I tried everything, over about 12 hours spread across a week, but it was after running Registry Mechanic that my new iPod 60g video was finally recognized.
My hypothesis is that between all the Microsoft windows security updates I download, and the iPod new software updates, some kind of error was created in the registry.
Still doesn't seem to recognize my 4th gen 60G iPod though...
-p -
Need help with an application problem - Photoshop Elements 3.0
Hi,
I wrote to an Adobe Photoshop Elements forum, but the suggestions made there have not helped solve the problem. A friend suggested that I post about it here as there are likely many of you who use the program.
I start up PSE 3 and it begins to load. When it gets to where it says that it is "building TWAIN menu items" as soon as it says that, it closes. I have put the Photoshop Elements 3.0 Settings file into the trash, emptied the trash then restarted the program (one of the suggestions from the Adobe forum) and that didn't fix the problem. I've deleted that file and uninstalled the program, restarted the computer, then reinstalled the program - and it still closes at the same point in the startup.
I bought my Mac in Dec. 2005 and bought PSE 3 at the computer store the same day, so neither is very old.
Have any of you had this problem? Any suggestions on how to fix it?
Thank you
Pearl
iMac G5 Mac OS X (10.4.5)Thank you Rod That worked. Now, what do I do with the stuff I took out of that file?
What are the files actually called, Pearl?
The stuff in that folder will be a "TWAIN" driver or drivers for something that you connect to your computer to take images - a scanner or a camera, for example, (though not many cameras use TWAIN these days).
What brand and model of scanner or camera are you using?
The best solution in such situations is usually to download a new set of current drivers from the manufacturers web site, and install them fresh. Just stick the old ones in the trash once you have done this, and checked that it works.
Cheers
Rod -
Soldier in Afghanistan needs help with MBPro display problem
My son is in the Army Infantry (Airborne). His unit is currently stationed in southern Afghanistan on a small Combat Outpost (COP), where he will be for about 8 more months. He has had a MBPro since mid-2008, and his AppleCare Extended warranty is still in affect. This is his description of the state of his MBPro:
"hey dad, an update. I got the mac to boot using PRM reset. Now, it makes the boot noise and the keyboard lights up but the LCD screen still wont come up. From my online research it seems my nvidia graphics card has gone out. Something which can be repaired cheaply at an apple store. However, i have no way to mail back my computer and the repair involves tearing apart the logic board to replace the video card."
I called Apple and was told Apple must receive the laptop stateside. As my son said, it is impossible for him, a lowly Specialist, to ship anything home. The guys in his unit are resourceful, and they do have the tools needed to attempt repairs (spuds, etc.). However, we would have to get a replacement logic board to him (at our expense), and we've looked at www.ifixit.com and found the tutorial for replacing a logic board. I personally would never attempt such a repair, even though I have myself replaced a hard drive in my PB and the power port in my wife's laptop. The logic board is WAY under everything else, and the chances of a screw-up are great. And, of course, the Apple warranty would be voided.
Does anyone have enough experience with logic board repairs to say they SHOULD attempt the repair on site? OR, is there anyone in the military who can suggest a way to actually get this Apple "brick" stateside for repair under the warranty?To be fair to Apple, their warranty does state that the need for a repair/replacement must be shown to be necessary to their satisfaction. That means they have to have the MBPro in their hands to examine it. At this time, we cannot prove that the Nvidia card on the LB has failed. Over the 20+ years I've used Apple computers, they've been very good at honoring their warranties. It's not Apple's fault that my son is in a rather faraway place. How many other high tech companies do you know of who have coverage arrangements in this kind of situation? We're not expecting Apple to do anything more for us right now. If we can get the MBPro stateside, I'm sure Apple will treat us well.
As for a cheap PC laptop, well, that probably wouldn't be a good solution, either. My son is a gamer and uses Windows on the MBPro only for games not available under OS X. The MBPro is an OK, but not great, PC game laptop. However, a cheap PC laptop would probably be WORSE for gaming, so it wouldn't be a good buy. An expensive gamer PC is not an option, as my son hates Windows!
So, there's our conundrum. Right now, it looks like our best solution would be to get a used MBPro (non-Nvidia!), ship it (hoping it gets there in one piece), then swap the memory from the broken machine into the replacement. This will not void the Extended Warranty. Then my son can re-install his data (and Windows) from the external drive that he uses for Time Machine. That's the current idea, anyway.
All-in-all, while this is a complicated problem with no easy solution, it's not that big a deal, relative to everything that's going on in my son's life.
Thanks for your suggestions!
Maybe you are looking for
-
Workflow for purchase requisation
Hi, I have been asked to develop a purchase requisition workflow.The workflow must start when the purchase requisitin is saved and the go to the next person,the releaser based on the release strategy.How can I start this development of workflow. Than
-
how i can create apple ID. i tried my best but get failed, bec it asking for Payment method again and again
-
GroupWise 8.0.3 patch on NetWare server
I read that there were some problems with the GroupWise 8.0.3 patch on a NetWare box. Have these been resolved with the current version?
-
I am trying to sync my I Pod classic to a new lap top. I keep getting the message that I can only syc with one I tune Library. I do not want to lose my songs. Any suggestions will be appreciated
-
Deleting Query Elements From Backend Tables
Hi All, i have made some changes to a CKF and executed the report. It got executed but when i reopened the query i am not able to expand the RKF n CKFs on the left side. Whenever i tried to expand them the query designer is exiting. I tried deletin