Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~29.9K People Reached
Favorite Tags

41 Posted Topics

Member Avatar for FALL3N

I am having a huge problem. In my stylesheet I have: @media only screen and (min-width: 320px) and (max-width: 700px) { code1 } @media only screen and (min-width: 1280px) and (max-width: 1400px) { code2 } my browser window is currently 640x960, so only code1 should run... right? But code1 and …

Member Avatar for cereal
0
322
Member Avatar for FALL3N

I forgot this word: 1) it is a program that runs that demonstrates an error for debugging 2) it is an acronym someone on either this board, or another board or another board where I ask programming questions told me to make one a few years ago... and now I …

Member Avatar for FALL3N
0
182
Member Avatar for FALL3N

I could probably/def read a text file with javascript by embedding some ruby in there but I want to know how to do it with javascript. My code follows: [CODE] <HTML> <HEAD> <TITLE>"Text File"</TITLE> <SCRIPT LANGUAGE = JAVASCRIPT> function handleFile() { var myFile = document.getElementById('txtF') var fileContents = System.IO.File.ReadAllLines(myFile); document.form1.textfield.value=fileContents; …

Member Avatar for L0st
0
18K
Member Avatar for FALL3N

ok, I'm worried that this has an obvious answer that I'm just not seeing for whatever reason... like when you forget how to spell 'the'. I have a table. It is assigned to the class "posTBL". The posTBL class is defined in the css as follows: .posTBL { background-color: #000000; …

Member Avatar for JorgeM
0
91
Member Avatar for FALL3N

hey, so I know if I use the drawLine() method, then I could change the line stroke/thickness with setStroke, but how do I change the thickness of a Line2D?

Member Avatar for FALL3N
1
658
Member Avatar for FALL3N

hello, I made a little game that is similar to "Where's Waldo?", but it has several different people to find in each level. Anyway, each person is found by the user when he/she clicks on them. Sometimes the people are hidden in a crowd, or hidden in a bigger image. …

Member Avatar for sciwizeh
0
152
Member Avatar for foxy_123

make the action command for each button the same "button", so that when a button is clicked, the action command is always "button", and execute the code in 'public void actionPerformed(ActionEvent e)' set the clicked buttons label to "I'm clicked".

Member Avatar for foxy_123
1
192
Member Avatar for FALL3N

I'm a 'JMenu Expert' or w/e, but I've used JMenus a few times before and have gotten them to do what I needed them to do... However, I am trying to do a new thing, and I'm not actually sure it's possible in java (maybe in Xcode) I am using …

Member Avatar for FALL3N
0
137
Member Avatar for FALL3N

hey, so I am just starting java3D, and I am running into some pretty basic problems... I started a tutorial online (from [url]www.java3d.org[/url]) and the first sample program is: [CODE]import com.sun.j3d.utils.universe.SimpleUniverse; import com.sun.j3d.utils.geometry.ColorCube; import javax.media.j3d.BranchGroup; public class Hello3d { public Hello3d() { SimpleUniverse universe = new SimpleUniverse(); BranchGroup group = …

Member Avatar for FALL3N
0
986
Member Avatar for FALL3N

what I'm pretty sure I learned in school and what like every website said when I tried to look this up online was that the C++ code for generating a random number with floor: 1 and ceiling 100 (err I guess 101) is: [CODE]int number = rand() % 100 + …

Member Avatar for FALL3N
0
279
Member Avatar for krejar

you didn't post all ur code.. most of the relevant parts are not posted. [QUOTE]How does that work?[/QUOTE] How does what work? What are you asking?

Member Avatar for FALL3N
0
99
Member Avatar for FALL3N

hey... I wat to change the... well, the cursor (the little blinking thing in a text area where subsequent typing appears) in a JTextArea. [U]Not[/U] the pointer (the mouse icon showing where on the screen the mouse is cuz some ppl thought that was wat I meant) but the cursor …

Member Avatar for FALL3N
0
1K
Member Avatar for darsha

sure, but a) do you mean tell you in java terms what each part means, or create java that mimics the functionality of the above code? (I'll do either) b) wtf is numpy? I am not cursing cuz im mad, its for effect.. :D

Member Avatar for FALL3N
0
572
Member Avatar for nilay84

yeah, u are adding the menus to another menu.. u gotta have menus in a Menu Bar which can then be displayed.

Member Avatar for FALL3N
0
380
Member Avatar for FUTURECompEng

I know this is not what you are asking for, but why not just compare a clicked spot every time a move is made? then only a few if-statements will be needed instead of covering the whole board every time.

Member Avatar for FALL3N
0
297
Member Avatar for shifat96

like that.. EXCEPT change the 'd' is '%15d' (cuz that means number or digit or something) unless 'gradesubj1' is an integer, in which case don't change anything, ur fine.

Member Avatar for shifat96
0
937
Member Avatar for RLS0812

lol, I think he may have taken it seriously... ;) but as for the problem, just remove the 'String[] args' parameter from the 'public List<String> NameHere (String args[]) ' method declaration... I'm not sure how that parameter is helpful...

Member Avatar for FALL3N
0
308
Member Avatar for FALL3N

I know this is a basic question. I asked the same question a while ago, even then thinking it was a simple question. The answer I got seemed to be what I already know and was obvious.. however, when I tried it, it did not work, so I just worked …

Member Avatar for FALL3N
0
215
Member Avatar for FALL3N

[CODE] import os; def callAS(cmd): os.system(cmd); def selectFile(): callAS("""osascript -e 'tell application "Finder" to return choose file "Select the file:"'""") def fixPath(raw): arr = raw.split(' '); return(str(arr[1])); thePath = selectFile() thePath = fixPath(thePath); print(thePath); [/CODE] When the above code is run in IDLE, it just gives an error. But, when …

Member Avatar for FALL3N
0
293
Member Avatar for rushikesh jadha

The basic command has this format: [ICODE]jar -cfm jarfilename manifestfile input-file(s)[/ICODE] you can look up what the different arguments mean and research the jar making process at: [URL="http://docs.oracle.com/javase/tutorial/deployment/jar/build.html"]http://docs.oracle.com/javase/tutorial/deployment/jar/build.html[/URL]

Member Avatar for rushikesh jadha
0
312
Member Avatar for FALL3N

I want to run a multiline AppleScript command from a Python script. For a singleline command I can do: [CODE]def stupidtrick(): os.system(cmd) cmd = """osascript -e 'tell app "Finder" to sleep'""" stupidtrick(); [/CODE] however I want to run multiline commands, (such as with multiple 'tell' statements, as in [ICODE]tell application …

0
169
Member Avatar for FALL3N

ok, I'm pretty embarrassed to be posting such a simple question, I feel like I've done this in much harder applications like a million times... [CODE]String[] wordVar = text.split("$");[/CODE] Why does the above code not split the String 'text' at each occurrence of a "$"? Is the "$" a special …

Member Avatar for FALL3N
0
169
Member Avatar for FALL3N

What is the difference between [ICODE]qq{}[/ICODE] and [ICODE]q{}[/ICODE]? I am learning some basic perl for class, and I noticed that [ICODE]qq{Element contents: $_}[/ICODE][ICODE]q{Element contents: $_}[/ICODE] produce different results in a loop... I thought "q{}" was like quoted or something.. What is it really? And what is qq{}?

Member Avatar for thines01
0
134
Member Avatar for FALL3N

I'm sure this has an easy answer, but I don't know it. so I have a widget that will let you get alerts texted to a phone. I am trying to store the info, but I can't get the user's input into my javascript function shown below: [CODE]onClick="collect('info', 'nname=' + …

Member Avatar for niranga
0
192
Member Avatar for FALL3N

I know u have like 'Web Development' and a 'PHP' section, and even a slightly less related "Perl' section but unless I missed it, I don't see one for CGI... or JQuery for that matter.. what about adding CGI to the 'PHP' section? Right now, PHP has it's own topic, …

Member Avatar for Dani
0
148
Member Avatar for FALL3N

hey.. I recently learned a bit of Perl, and I want to test it out on the net... I was/am under the impression that a perl script can be embedded into HTML, but I am have trouble with that. I searched it but I came up with several methods, none …

Member Avatar for Dandello
0
186
Member Avatar for FALL3N

[CODE]public class Example { private static void createAndShowGUI() { JFrame.setDefaultLookAndFeelDecorated(true); JFrame frame = new JFrame("Window"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JLabel emptyLabel = new JLabel(""); emptyLabel.setPreferredSize(new Dimension(175, 100)); frame.getContentPane().add(emptyLabel, BorderLayout.CENTER); frame.pack(); frame.setVisible(true); } public static void main(String[] args) { javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { createAndShowGUI(); } }); } }[/CODE] In The above …

Member Avatar for FALL3N
0
202
Member Avatar for FALL3N

Hello. I am writing a script to do some copying of files. I feel confident that I can do that part, but before I even start doing the actual copies, it compares the last modified dates of two files.. I know this seems a very basic question that I would …

Member Avatar for FALL3N
0
207
Member Avatar for FALL3N

For now this has a sample dictionary of words, but later I will allow the user to provide their own dictionary. [CODE] import java.io.*; public class testReader { private String[] auto = {"lorem", "ipsum", "dolor", "sunglasses", "friend", "time", "flies", "like", "an", "arrow", "daisy", "bell", "the", "quick", "brown", "fox", "jumps", "over", …

Member Avatar for JamesCherrill
0
160
Member Avatar for FALL3N

Hello. I am trying to input the name of a class that I have imported already, and can instantiate regularly, such as 'myClass inst = new myClass('foo');' and create a new instance-object of that class. The code below illustrates my question more specifically: [CODE] import java.lang.reflect.*; import java.io.*; public class …

Member Avatar for NormR1
0
382
Member Avatar for FALL3N

I am writing Python on my mac, and am trying to pipe the output from the Terminal to python.. I think this is achieved with os.popen?

Member Avatar for FALL3N
0
115
Member Avatar for FALL3N

ok, I'm sure the answer to this is very simple.. there may even be some component in the os package to do this... I want to do what the code underneath seems like it would do.. I understand it does not, and when I try to run the code, I …

Member Avatar for FALL3N
0
277
Member Avatar for FALL3N

hello all, I have a program, and in it, it eventually specifies 'aFolder' to be os.walk(path/to/folder) how do I obtain inifo such as the name or the path of the folder, is it then the temporary current working directory?

Member Avatar for snippsat
0
112
Member Avatar for FALL3N

Either nobody in the world from the myriad of forums and discussion boards I have been to knows how to do this, (which seems unlikely, as this does not seem a complicated procedure) or none of those people know how to answer a question concisely and in a straightforward way. …

Member Avatar for hfx642
0
370
Member Avatar for Majestics

i have no idea what you are asking. and there is no problem in the above statement

Member Avatar for Majestics
0
155
Member Avatar for hwalsh

ok, I want to help, but I an unsure of what you want.. are you trying to read the username from a pre existing textfile? are you trying to get the username of the current user at the workstation? what are you doing?

Member Avatar for FALL3N
0
364
Member Avatar for Tremillian

- run an automator action from python to get the image from the scanner AND/OR use the PIM package to deal with images.. I think it's still in early stages, but its a python image manipulation package.

Member Avatar for FALL3N
0
134
Member Avatar for FALL3N

I have an old MobileMe account that has expired still logged in on my iPhone. I got a new computer, so my old MobileMe calendars show up with all their data on my iPhone, but I cannot get these onto my computer. I know there is a "merge information" option …

0
125
Member Avatar for mellowstrung

An application you can download called [URL="http://www.macupdate.com/app/mac/8948/candybar"]'CandyBar'[/URL] can make the changes similar to the Windows theme. While you cannot change everything, there are a lot of things you can change... Apart from that, I'm sure you can go into some inner folder somewhere (I don't know where) and replace some …

Member Avatar for royng
0
270
Member Avatar for FALL3N

I jailbroke my iPhone with iOS 4 a program called 'limerain'. With it, I installed Cydia, and a few other applications that Cydia allows. A few days after I jailbroke the iPhone, it stopped getting service, which is really weird, because it's not like it was right after... I still …

Member Avatar for peter_budo
-1
82
Member Avatar for FALL3N

If I already have a JListBox set up, but the text is too small, how do I make the font of the elements larger?

Member Avatar for fdevanand@gmail
0
219

The End.