To be honest, I am just fooling around with the effects...
Portgas D. Ace commented: Do not click on these links. They are Pornographic. A moderator will clean up this mess shortly. +0
Ancient Dragon commented: nice :) +0
To be honest, I am just fooling around with the effects...
Not sure how you consider this pornographic...
Aww man, I can't even edit it! Oh well, here are the links.
http://mangopearandapples.deviantart.com/art/Under-Water-210293544 | Just a under water view of the... Under water thing
http://www.deviantart.com/print/19596174/?utm_source=deviantART&utm_medium=messagecenter&utm_campaign=print_followup | Yes, that is my face.
http://mangopearandapples.deviantart.com/art/mangopearandapples-209604356?q=gallery%3Amangopearandapples&qo=3 | Btw I did do a better version with my logo but I haven't uploaded it...
So, right, I just started to use Photoshop CS4 and I've only been using it for 3 days.
I love it. Not Nuff said though. Cause I know you want to see my artwork raight?
Probably not but I actually feel quite proud of the stuff I've drawn... So I'll force you guys (if you click the link) to see anyways.
http://mangopearandapples.deviantart.com/art/Under-Water-210293544 | Just a under water view of the... Under water thing
http://www.deviantart.com/print/19596174/?utm_source=deviantART&utm_medium=messagecenter&utm_campaign=print_followup | Yes, that is my face.
http://mangopearandapples.deviantart.com/art/mangopearandapples-209604356?q=gallery%3Amangopearandapples&qo=3 | Btw I did do a better version with my logo but I haven't uploaded it...
Also my avatar is also made in Photoshop
So... Any tips you could give me? Or suggestions or comments or criticism, anything you want.
480 Kraai, I'm baaack!!
I'm using Eclipse.
I don't think it's anything to do with the actual file, I think it's the code but I'm probably wrong :S
I export it first, then run it with the image folder in the same folder as the JAR file...
I did create a folder named Images. It even worked when it wasn't created but for some reason it doesn't work now.
Hey everyone,
I'm trying to make a button have an image, it used to work but for some reason, now it doesn't.
This is the error:
Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at Main.createImageIcon(Main.java:109)
at Main.<init>(Main.java:82)
at Main.main(Main.java:103)
I see that the error is the:
ImageIcon NewFileIcon = createImageIcon("Images/NewFileIcon.png");
ImageIcon LoadFileIcon = createImageIcon("Images/LoadFileIcon.png");
ImageIcon SaveFileIcon = createImageIcon("Images/SaveFileIcon.png");
ImageIcon OptionsIcon = createImageIcon("Images/OptionsIcon.png");
I see nothing wrong with it...
It's not in the main method or my Main method.
public static void main(){}
public Main(){}
It used to work which is what makes me think I'm stupid, it must be obvious but well... Not to me!
Important bits:
public class Main implements KeyListener{
ImageIcon NewFileIcon = createImageIcon("Images/NewFileIcon.png");
ImageIcon LoadFileIcon = createImageIcon("Images/LoadFileIcon.png");
ImageIcon SaveFileIcon = createImageIcon("Images/SaveFileIcon.png");
ImageIcon OptionsIcon = createImageIcon("Images/OptionsIcon.png");
public static void main(String[] args) {
if(args.length > 0){
fileLoadPath = args[0];
}
new Main();
}
public ImageIcon createImageIcon(String path) {
java.net.URL imgURL = Main.class.getResource(path);
return new ImageIcon(imgURL);
}
public Main(){
JButton New = new JButton(NewFileIcon);
//Other buttons too
}
594
Was there a competition or something here?
580
Thank you!!
542
I see...
But how could I get the info from the text field when I click it?
<button onClick="getInfo()" name="codes" />
<script>
function getInfo(){
var code = oForm.element["codes"].value;
}
</script>
???
Hey, that's kinda cool!
Thanks for telling me about this!
Do you still know where I can learn this?
542
Uh, how could I store that PHP code into a text box?
Hey guys,
I was wondering how I could make games with Java3D.
I've used Java3D but only in static programs.
How could I 'repaint' with Java3D (Make games and such)?
Also, where could I learn more of Java3D?
I've only learn't what I know so far from a few tutorials on the web and Youtube but I want to learn more.
I've searched for books in stores but no luck.
Thanks.
542
A are in the lead again!
534
I just came back from school and O.O
YAY
Woooohhooooo!
528
I have a button that does a JavaScript function to change a div's content to some PHP code, that means I can't use PHP to do the JavaScript.
I don't really like AJAX...
It seems I still have alot to learn about Java :S
Well thanks again!
880
C'mon Kraai! Keep it up!!
876
Haha, I can't wait! ;)
870
Thanks!
I won't be here for long, I have school in 30 minutes :(
Wait you mean, that (String[] args) is collected from the outside?! That's so cooool!
This has fixed more than one thing now, thanks!
862
Goooood Mooorning!
So %1 will be the full path of the file? How could I use this in Java though?
I guess this is a Windows question, should I make a thread in the Windows forum?
I've tried to select my application and chose it to run but it doesn't load the selected file.
So there's no way to do this in Java? Will the use always have to launch the program first then load the file?
Why do you get the feeling that this is not a Java question?
I don't understand, how could I get the %1 and use it?
838
Hey guys,
I'm having a little bit of trouble here.
I have a variable called Latest1 and it's value is some HTML and PHP code.
I have a function that does document.getElementById().innerHTML = Latest1;
So when that happens, it runs the HTML code but for some reason it doesn't run the PHP code.
Because of Javascripts stupid string weirdness, it won't let me type <? because it then treats that as not a string... Which is so annoying.
So, I had to use escape codes:
<?php = %3C%3Fphp
I replaced all my '<?php' to '%3C%3Fphp' and it doesn't work :(
Please help!
Thanks! :-/
834
An example:
Right click a text file and click 'Open File With...' or something like that in the context menu.
Then click on notepad and notepad runs and automatically loads the text file.
So how could I do this to, let's say I created my own text editor and wanted to do the same like notepad.
So how could I do this with Java?
I know flash works, otherwise I wouldn't be able to access Youtube!
I don't really like GTA, I'd much prefer FPS games like Call of Duty or Left 4 Dead.
Unfortunately, none of those games work with my stupid laptop.
I have a DS emulator, but I only use that to test my homebrew games without having to insert and take out a memory stick each time I want to test it.
I don't really like emulations.
I already have Half-Life and sauerbraten, they're the only FPS games I've played on this laptop without much lag.
Anymore suggestions people?
830
Hey people,
How could I make it so when I right click and file and click 'Open With..' and choose my program so it loads the file?
I already know how to load the file from when the program is already running and you click 'load' ect...
But,
I tried using the 'Open With..' menu and it doesn't load the file, obviously.
So.. How could I make it work with that?
Thanks!
P.S I've tried Googling and looking in the Java API/docs but I can't find what I'm looking for, maybe I'm just blind.
804
come on people! We need to win this!
794
790
Bye Kraai!!
786
782
778
774
770
Bye Andre!!
762
750
742
736