nopers. Ill get started.
Type: Posts; User: JonLane
nopers. Ill get started.
looks very promising, Ill let you know tomorrow when i get it all working.
Thanks Copeg (as usual) once I get this thing running and hopefully marketed, Ill be sure to send you some meager royalties...
Get the String:
String equation = user input;
Separate the string into a String list(array? arrayList?) of components.
example
equation = x^7+13x^4-22
your string array looks like
string1...
It seems behavior I witnessed in my program earlier this week is due to something else, the SSCCE using only layout managers failed to resize the image
sorry for the rabbit chase knightmetal!
...
EXAMPLE:
say I wanted to make a quilt, and I have a png of same sized different color squares
I am thinking of painting these on to a JPanel of the required size.
(If I wanted the JPanel/Quilt...
My experience is if you tell the image to be added inside a boarderlayout/Center it has demands on the object for resizing, and will demand it to be a certain size, so rethinking it, you would need...
when you are making a linked list. common areas of extra caution are:
The root/head/top/front:
No matter what you call it, the first node is different because when it is added to the linked list,...
EDIT:
the order you add things makes a difference too.
add(panel);
panel.add(label, BorderLayout.CENTER);
repaint();
panel.repaint();
can probably be shortened to just reversing the...
I'm trying to combine 2 files into 1. Please help
when using file writer there is a way to tell it to append the file. (aka, add to the end of what is already there instead of overwriting it.)
...
Unpredictable freezes are a good sign of a memory problem, any chance you are keeping track of/creating objects you don't need to be? something simple like making a new file reader inside a loop...
to save you the trouble later in your coding career,
if you want a true or false responce (called a boolean) from comparing two Strings, == will not work because it compares the LINK/Pointer of the...
well if your image is inside your resizable frame, I would suggest to try giving your frame the BorderLayout, then add your image to the center area.
(do a search on BorderLayout for cut and paste...
imported classes for my .jar program (attempting to ensure a malware free promise)
import java.awt.*;
import java.io.*;
import java.net.*;
import java.awt.event.*;
import javax.swing.*;
There...
Hi everyone! I finally have a nicely working version of my program and I am looking to clean up the file input/output.
Currently I have used Strings, Files, and URLs, in a blended mess of...
Well I am curious now, What is a HashMap and how does it work?
well assuming the files are not monstrously large a single pass sort to start.
then once sorted you would keep track of your files in tandem.
showing an example of the process is better then...
did you read the exception? it says no password specified, so I would look up how to tell your code what the password is.
That being said I have never used JavaMail. So I don't know how why your...
Well, I have my weeks work cut out for me, thanks again copeg.
Okay, that is how i would have done it with out access to any of your minds, and reading it from your words it is starting to seem more reasonable.
So I guess the only question that is left is how...
If you are willing to compile a 1 folder 7 class program I would be happy to post the program and explain it very specifically.
Otherwise, to be honest I have no clue what I need, I just know its...
preferences is interesting but too lightweight since its used for primitives. (thanks Sean)
Completely new to data basing, any good resources to start with? (looking for learning info so it...
moving questions to Data base section!
How does preferences delete magically stored data, I have been testing preferences and don't want to fill up my memory with useless data! I am sure this isn't a risk knowing how java works in other...
This is beyond my familliarity, stab in the dark based on how abstract keyword fuctions,
if the class of the object inside req has the abstract method startAsync();
another possibility would be if...
it sounds like a big project!
I would take the problems as they come, I would leave checking for anomalies AFTER you have written your base code.
for your main program you will need to read in...