754 Posted Topics

Member Avatar for Namcigam

If the old harddrive shows up, then this sounds like your new hdd is bad. Do you have another machine you can try the drive in?

Member Avatar for Phaelax
0
102
Member Avatar for docfish

How many other forums did you post this question on? I believe you got several responses on JB already, if you haven't checked yet. p.s. You should capitalize your class names.

Member Avatar for server_crash
0
250
Member Avatar for Black Knight

the KeyEvent would state any modifiers on the key. a modifier would be something like a shift or control key.

Member Avatar for Black Knight
0
169
Member Avatar for tristan17

This might help, too. [url="http://www.phpfreaks.com/tutorials/105/0.php"]http://www.phpfreaks.com/tutorials/105/0.php[/url]

Member Avatar for Phaelax
0
109
Member Avatar for groove04

Here's some tips. Represent the total amount of money in cents. Represent the $20,$5,$10,$1 in cents as well. Start with the largest denomination you need to find, $20, and work down from there. Use modulus. $20 = 2,000 cents $56.73 = 5,673 cents It'll be easier working with the whole …

Member Avatar for Phaelax
0
194
Member Avatar for dammika

next time, use the CODE tags please. I don't see anything where you tried to solve this yet. But anyway, what you could is store the 5 vowels into an ArrayList. Then loop through each Character in your string and see if it's contained within the array. If it is, …

Member Avatar for iamthwee
0
166
Member Avatar for belama

Well for your second link at pccyber, I saw the ram you listed for: $254 This is what I found for $341, registered memory(which I dont think you want): [url="http://www.pccyber.com/scrItem.asp?product_subtypes_id=360&product_types_id=20&product_id=3263"][color=#0000ff]Corsair 1024MB PC-3200 TWINX-Dual Channel DDR[/color][/url] And, I'm not sure, but if "CAN$244.75" means canadian, then it would be $211 in …

Member Avatar for belama
0
213
Member Avatar for GSmiles
Member Avatar for Frank0051

[quote]Overall I'm hoping that I can have the playlist (JList) stay the same size whether their is data in the DefaultListModel or if it is completely empty [/quote] When you say size, are you referring to the visual aspect of the component? Cause having the size of a list with …

Member Avatar for Frank0051
0
228
Member Avatar for carnelli

Didn't slashdot just run an article about how so many students are out-sourcing their homework? It only hurts yourself by not doing it.

Member Avatar for Phaelax
0
82
Member Avatar for Phaelax

I have the following code which changes the background image of table cells when mouse over. It only seems to work in IE. I don't think it worked in Safari either. [CODE] function menuRollOver(tID) { tID.background="images/menu_highlight.gif"; } function menuRollOut(tID) { tID.background="images/menu_normal.gif"; } [/CODE] Some html for my table cell: [code] …

Member Avatar for f1 fan
0
78
Member Avatar for sam1

For one, it'd use the Jabber network instead, obviously. I'm not sure what you're asking. If your IM client supports the Jabber protocol, and its written in Java, then its still strictly java. I've never looked at the jabber protocol, but I have looked into the majority of others. I …

Member Avatar for sam1
0
115
Member Avatar for LiBOC
Member Avatar for maczu.pikczu
Member Avatar for Dani

Just a curious thought, but what browser are you viewing it in? I came across an issue yesterday with css and tables. I read that the padding commands/margins (forget what exactly) in css aren't supported in IE.

Member Avatar for tgreer
0
83
Member Avatar for aarya

could you please format that with "code" tags. I get a headache just trying to read it.

Member Avatar for aarya
0
107
Member Avatar for invincible_king

I used the following book, it covers just everything you need to get started: [url="http://www.amazon.com/gp/product/0764549693/qid=1134017228/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/103-8881607-3714255?n=507846&s=books&v=glance"]http://www.amazon.com/gp/product/0764549693/qid=1134017228/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/103-8881607-3714255?n=507846&s=books&v=glance[/url]

Member Avatar for william_stam
0
136
Member Avatar for Brims

First thing is to determine a common technology that your pc, pda, and phone all share. If they all can display webpages then you have several options. If not, possibly java as its on most cell phones these days and I believe PDA's have supported java for awhile now. But …

Member Avatar for william_stam
0
141
Member Avatar for Frank0051

Check out this site. It an open source meda player, compatible with Winamp skins [url]http://www.javazoom.net/index.shtml[/url]

Member Avatar for Frank0051
0
558
Member Avatar for aarya

This assumes the sentence ends with a period. I can't remember if this function will take an array of delimiters or not. $strings = split(".",$summary); echo $strings[0];

Member Avatar for aarya
0
111
Member Avatar for Phaelax

I'm using JMF to transmit webcam data to another pc. I'm not using another thread yet, but I'm assuming that ServerSocket.accept() will hault the program until something attempts to connect to it? It seems to connect ok, but I dont get any video, just a black screen. So maybe the …

0
73
Member Avatar for D Nagesh

I don't see why it can't be done. All the computers on that network would have to go through some sort of proxy is my guess.

Member Avatar for Phaelax
0
111
Member Avatar for sanjay_scjp

I'm guessing english isn't your main language? Does this give you an idea? [code] class MenuItemListener implements ActionListener { public void actionPerformed(ActionEvent e) { if (e.getSource == fileMenuNewItem) // "new" menu item clicked } } [/code]

Member Avatar for Phaelax
0
111
Member Avatar for cheenu78

I believe its part of the micro edition wireless tool kit: [url="http://www.sun.com/download/index.jsp?cat=Mobility&tab=3"]http://www.sun.com/download/index.jsp?cat=Mobility&tab=3[/url]

Member Avatar for Phaelax
0
115
Member Avatar for Dark_Omen

depends on the server you're wanting to connect with. we talking about hotmail here or something else?

Member Avatar for Dark_Omen
0
94
Member Avatar for ismedave

It's your program, you document the methods. [url]http://java.sun.com/j2se/javadoc/writingdoccomments/[/url]

Member Avatar for jwenting
0
101
Member Avatar for daviie

1. Just make an ArrayList of cards, the cards can be in any order. 2. Randomly select an index to grab a card. 3. Remove that card from the list (deck) 4. when you want to reshuffle a new deck, just rebuild the array list with all 52 cards and …

Member Avatar for Phaelax
0
97
Member Avatar for spacedani

You're casting the double to an integer. Integers don't have decimals, so the fractional part is being cut off or rounded to the nearest whole. (i forget which)

Member Avatar for spacedani
0
131
Member Avatar for Lexani
Member Avatar for hatch101

People here are just trying to get you to do exactly what you've done, solve it yourself. We could tell you precisely whats wrong, or give you a hint so that you'll find it yourself. By noticing the errors yourself (whether simple or hard), you'll be more keen on finding …

Member Avatar for Phaelax
0
1K
Member Avatar for Phaelax

I have a JTree, the renderer uses JLabels. If I setOpaque(false), then I get display issues with highlighting tree nodes/leafs, so I keep the rendering of the jtree opaque. I'd like to display an image for the background and have the text from the jtree elements displayed over top of …

Member Avatar for Phaelax
0
179
Member Avatar for namit

I think this will work. I'm not positive if TOP is in MySQL. SELECT TOP 5 * FROM table ORDER BY id DESC (assuming 'id' is the primary key in the table)

Member Avatar for paradox814
0
106
Member Avatar for tdizzle342

[QUOTE]my program was just continual , like as th program was run , the program would just be read line after line. Now that im written bigger programs i need to know how to seperate my methods or functions etc. [/QUOTE] Functions (or methods as they're called in Java) alone …

Member Avatar for tdizzle342
0
184
Member Avatar for tristan17

retrieve images from what? a website? database? user harddrives?

Member Avatar for Gary King
0
104
Member Avatar for rockStar60608

i'd say quick sort. There's also a radix sort, but it wont be faster than quick sort unless you have a lot of data

Member Avatar for Micko
0
181
Member Avatar for bennieblanco

This is more of a PHP question, or whichever language the website is being written in. I'll use PHP. Assuming you already know how to do your database search and get results displayed, it's really quite simple. When you go to display the part name on building the page after …

Member Avatar for Phaelax
0
121
Member Avatar for aarya

You can either allow BB codes to be used like most web forums, or if you truly don't want users to have to type any tags (like these cool forums here), you'll have to parse the message and look for a web address. Probably using regular expressions to determine what …

Member Avatar for Phaelax
0
148
Member Avatar for kawk

I learned PHP through [url="http://phpfreaks.com"]http://phpfreaks.com[/url] and [url="http://www.yahoo.com"]http://www.yahoo.com[/url] And if you get stuck on something, you'll always have these forums, too.

Member Avatar for Phaelax
0
102
Member Avatar for Rearden

[QUOTE]I tried using CustomInputDialog d = new CustomInputDialog(); and then String aString = d.getText(); [/QUOTE] So you're trying to display the dialog when you call getText()? Call the visible method from inside that then. [code] public String getText() { this.setVisible(true); return word; } public void actionPerformed(ActionEvent e) { if (e.getSource() …

Member Avatar for Phaelax
0
277
Member Avatar for ultimate_fusion
Member Avatar for Andrew Minus

first of all, use commas to separate parameters, not periods. getContenPane().add(p1.BorderLayout.CENTER); //WRONG getContenPane().add(p1,BorderLayout.CENTER); //RIGHT Secondly, a container can only be 1 type of layout at a time. You're trying to use BorderLayout first, then FlowLayout, and finally GridLayout. If you haven't specified which one it is, then FlowLayout is the …

Member Avatar for Phaelax
0
120
Member Avatar for sweety engineer

Something like this? [code] int pageNumer = 0; //instance variable for main class public void newPage(String heading) { pageNumber++; if (heading == null) heading = "New Page: "+pageNumber else heading.concat(pageNumber); System.out.println(heading); } [/code]

Member Avatar for sweety engineer
0
171
Member Avatar for Janet Field

I'd use Apache, it's easier to work with than IIS in my opinion.

Member Avatar for Phaelax
0
150
Member Avatar for iketunde

You should be able to export your current database on your local machine as a CVS file, then import that into the other database on the server. I'm sure there's free software out there to handle this.

Member Avatar for Phaelax
0
126
Member Avatar for Frank0051

well here's a music player in java that also supports winamp skins. [url]http://www.javazoom.net/jlgui/sources.html[/url]

Member Avatar for Frank0051
0
126
Member Avatar for Frank0051

what format is the playlist? You might want to take a look at javazoom.com, his mp3 library supports shoutcast streams.

Member Avatar for Frank0051
0
186
Member Avatar for freesoft_2000

well they say after you begin to think of a problem, your brain subconsciencly continues working on solving it after you given up.

Member Avatar for Phaelax
0
225
Member Avatar for gokul

i have absolutely no idea what you're trying to ask. As to the last question, you need to add an ActionListener contactList.addActionListener(listListener) in the class would be 1 method, public void actionPerformed(ActionEvent e) Easiest way is to implement the interface, make your method, then just add "this" for the listener. …

Member Avatar for Phaelax
0
111
Member Avatar for OllieFalle

I'd help if you explained the problem more, and exactly what it is you're trying to do.

Member Avatar for Phaelax
0
120
Member Avatar for glamo

The End.