• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Recent content by Aeren

  1. A

    Linebreaks in Java

    so you're saying, if i read in "\r" then i should check the next char if it's "\n"? Btw, now that you mention it, isn't linebreak "\n"only?
  2. A

    Linebreaks in Java

    Hi everyone! I would like to know if i use the following code, how can i decide if the char i read in is the linebreak or not. while( ( c = in.read( ) ) != -1 ) { char ch = (char) c; ... Anyone knows? Thanks!
  3. A

    Java Swing table coloring

    Ok, i have another problem then: Unlike List, the size of JTable can't be changed after it's constructed(at least i didn't find a way to do it). The function addLine only writes in a cell, "Line" only indicates that i write in a line of information. I have to make my program in MVC model, and...
  4. A

    Java Swing table coloring

    What can i do if i already extend from JFrame? This is my code so far. import java.util.*; import java.util.Vector.*; import javax.swing.*; import javax.swing.table.*; import java.awt.GridLayout; import java.awt.Dimension; public class View extends JFrame { private JFrame...
  5. A

    Java Swing table coloring

    Hi everyone! I would like to know if it's possible, to change the color(for- or background) of one cell. Anyone ever tried that before?
  6. A

    Webfiles in JAVA(html, xml, etc.)

    But how exactly does it work? I hate to use functions if i don't know what they do.
  7. A

    Webfiles in JAVA(html, xml, etc.)

    Cool, that takes care of the view. But how can i download the whole page(functions doesn't interest me, but pictures would be important for showing)? What i mean like when i'm downloading a page with IE using "save as". It saves other files as well not onlz the htm.
  8. A

    Webfiles in JAVA(html, xml, etc.)

    1. What i wanted to know if i can download it completly(including pictures for example). 2. If i have the files, how can i print it out? I thought of opening a Window/Canvas/Frame/whatever, and put it in. Is that possible, if yes, how? Aeren
  9. A

    Webfiles in JAVA(html, xml, etc.)

    Hi everyone! I would like to know if it's possible(and how it is) to download a webpage completly with Java(like this thread you're reading now :) ) then show it in a window. I've read the big book of Java but all i found was: URLConnection openConnection(URL) parseURL(URL, String, int...
  10. A

    For cycle in Java

    TBH, i didn't even know if it was possible to define where the break shall lead us. I saw it on a java lesson, but i don't remember. I know you can define a label and use that for breaking, but i don't know what a simple break does. Oh well, let's try...
  11. A

    For cycle in Java

    Hi everyone! This might sound a noob question, but i never used a for cycle this way before. I have a Vector which contains self defined Classes. These classes have 3 variables, i want to choose the Element which has the lovest sourceIndex. Then i would like to remove it from the Vector and...
  12. A

    Java Thread making

    It runs for me as well, but it doesn!t write blahblah out at all. Did i do it right with the System.out.println?
  13. A

    Java Thread making

    Hi everyone! I tried to make a Thread, but it doesn't work. I have a class called NetMyThread, which implements Runnable. Has a: private Thread myThread; as a variable, which is initialized in the init as follows: myThread = new Thread( this ); (init is called from the constructor)...
  14. A

    Java questions

    Cool! It's working this way. After a few corrections my proggy is alive!!! Only need the remaining 90% to go! :D :D :D
  15. A

    Java questions

    As i said, i'm not very good with package and stuff. Since i'm not using any big editors and projects, i don't think i'm using any packages at all(self made packages that is). My file is: import java.util.*; import java.util.Vector.*; import java.io.*; public class NetMyThread...
Back
Top