Forum: Java Jun 10th, 2009 |
| Replies: 3 Views: 196 Hey,
there are 2 problems
number one: i'm using the database in ~6 different ways/on 6 different frames.
That causes a lot redundat code.
nr 2: in my case, these data never change, but if... |
Forum: Java Jun 10th, 2009 |
| Replies: 3 Views: 196 Hey everybody,
i am writing a "database based" application. i organized my GUI with different frame- and panelobjects, which need database information (connection, uernames etc). is it possible,... |
Forum: Java Jun 10th, 2009 |
| Replies: 3 Views: 203 not the answer i wanted to hear ( :D ), but thanks a lot !
//edit:
the batch-thing looks good. ty |
Forum: Java Jun 9th, 2009 |
| Replies: 3 Views: 203 Hi over there,
is it possible to execute several SQL Statements with one(!) command?
For example something like that:
Statement s = con.createStatement();
sql=
"CREATE DATABASE MeineDb+... |
Forum: Ruby Jun 8th, 2009 |
| Replies: 1 Views: 1,450 Hi,
if you are new to programming in general i would recommend this:
http://pine.fm/LearnToProgram/ and
http://poignantguide.net/ruby/chapter-1.html
and for ruby only this one:... |
Forum: Java Jun 4th, 2009 |
| Replies: 6 Views: 648 something like that?
package gfx.client;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.event.MouseEvent; |
Forum: Java Jun 3rd, 2009 |
| Replies: 6 Views: 648 Hi there,
@BestJewSinceJC: i know. but if i'll exchange the "extands JFrame" to "extands JPanel", some methods in the body were not found.
I'm willing to write the whole Class new, if it fits... |
Forum: Java Jun 2nd, 2009 |
| Replies: 6 Views: 648 Hello everybody!
I want to create a JTable (showing data from mysql..) on a Panel.
But I dont get it..nearly every method is unavailable.
Here is my code for creating it on a frame:
package... |
Forum: Java Jan 15th, 2009 |
| Replies: 8 Views: 1,437 Hi there,
sorry. i didn't ment, that you should solve my homework ;)
Okay, from the scratch^^ :
a magic square is a square with a length of 4x4 Cells (in my case).
these cells should be... |
Forum: Java Jan 14th, 2009 |
| Replies: 8 Views: 1,437 What do you exactly mean?
the first part with M? this is definitly wrong. just try n = 4.
in their set phrase the Sum should be 43. but it isnt. a magic square of n=4 has a sum of 34(!!). the... |
Forum: Java Jan 14th, 2009 |
| Replies: 8 Views: 1,437 Hi,
thank you for welcoming me ;)
Sorry, i'd forgotten to explain the magic square:
a magicS is matrix (in my case 4x4) filled with the numbers from 1 - 16. each number could only be used... |
Forum: Java Jan 12th, 2009 |
| Replies: 8 Views: 1,437 Hi there,
this is my first post, so pls be polite ;)
since a few days i am programming java (for school).
but i dont get it.. i tried to fill the 4x4 matrix with random generated numbers (1-16)... |