User Profile

Collapse

Profile Sidebar

Collapse
cozsmin
cozsmin
Last Activity: Mar 3 '08, 01:43 PM
Joined: Mar 31 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cozsmin
    replied to drawing on Applet
    in Java
    JosAH i did not mean to be meen :), i now realize that this is not a java specific forum, and i was wrong to assume u knew it all

    kind regards !
    See more | Go to post

    Leave a comment:


  • cozsmin
    replied to drawing on Applet
    in Java
    well it comes like this.getGraphic s() , u should know that appet derives from container that has getGraphics(), if u do not know what getGraphics does in container then it is bad :)

    Kind Regards...
    See more | Go to post

    Leave a comment:


  • cozsmin
    started a topic drawing on Applet
    in Java

    drawing on Applet

    Hy all,
    i have aproblem, i made a simple applet that works fine at a first glance,
    so i just wanted to add some drawing on it like :

    [CODE=java]
    class Ap extends java.applet.App let {

    java.awt.Graphi cs g;

    public void start() {
    g = getGraphics();
    paint(getGraphi cs());
    getGraphics().d rawString("ok let's get it on !!",53,94);
    }
    ...
    See more | Go to post
    Last edited by JosAH; Feb 28 '08, 02:16 PM. Reason: fixed the [code] ... [/code] tags

  • cozsmin
    replied to php.exe does not php a page
    in PHP
    yes i am shure (i`m not that dumb) , actually it does not reproduce on other computers only on one :)
    so it it the software not the code

    10x anyway man
    See more | Go to post

    Leave a comment:


  • cozsmin
    started a topic php.exe does not php a page
    in PHP

    php.exe does not php a page

    i mean , i have a page page.php and i have <?php kadfsdkfsdkfbdf jkbdsfjb ?> inside , when i go http://localhost/.../page.php i get its source and i see <?php
    "the code" ?> ,weird man, i mean i have done a lot of other php pages and all show only the html script in source man; if u are interested here is the code :

    Code:
    <?php       //// i see the tags !!!!!!!!!!!!!!!!!!!!!!!!!!!!! in source man
    ...
    See more | Go to post

  • cozsmin
    started a topic function ';' problem

    function ';' problem

    hy
    i am a beginner at mysql but i tried to create a function and i get a weird error, the code is :

    create function f1() returns int
    begin
    return 9; <-- and here it crashes
    You have an error in your mysql sintax blalblablablabl a
    why does it not let me continue my function ?? and takes the ';' as a command ?
    See more | Go to post

  • cozsmin
    started a topic transparent flash

    transparent flash

    hello

    i am kind of a beginner with flash , so this is the problem :

    i have a little flash that i want to but on a page wit a yellow background
    my problem is that the flash is not transparent ; just look at it :

    http://www.geocities.c om/mndt_0/test/menu1.html

    u see that where it is white i want it to be yellow . The white i want to be transparent. So can u help me pls :D
    See more | Go to post

  • cozsmin
    started a topic layout manager problem
    in Java

    layout manager problem

    hello,

    my program is a simple banking application, i need it for my resumee, but i have a little problem
    i got stuck trying to maek some TextField -s visible , it seems that setting the layout ( null or SpringLayout ) even if i setVisible ( true ) , the text fields will not become visible pls help

    this is my code
    if u do not want to read all the code i wrote again at the end just the part that i am...
    See more | Go to post

  • that is it, instead of .wait() or .notify() on the object i was locked on ( producer is syncronized on client) , i did this.notify() and this.wait()
    See more | Go to post

    Leave a comment:


  • java.lang.Illeg alMonitorStateE xception

    at java.lang.Objec t.notify(Native Method)
    at Producer.run(Wa itingForThread. java 63) // it wa 64 but i took out the package
    at java.lang.Threa d.run(Unkown Source)


    it has the stackTrace built in th script ;
    just run the code and see
    See more | Go to post

    Leave a comment:


  • wait() and notify() throw exception even if i have the lock

    hello , as u know wait() and notify() will not thow an exception if the method that calls them has the lock , or esle i misundrestood java :P





    this is the code that throws (unwanted) exceptions :
    (or u can download it from :
    http://www.geocities.com/mndt_0/file...ForThread.java
    at this link it has the spaces )

    Code:
    public class WaitingForThread {
    ...
    See more | Go to post
    Last edited by JosAH; Apr 3 '07, 03:39 PM. Reason: added code tags for readability

  • cozsmin
    replied to sleep() Problem
    in Java
    i am shure that syncronizing it will solve the problem :D
    See more | Go to post

    Leave a comment:


  • cozsmin
    replied to sleep() Problem
    in Java
    THANX MAN , i was just wondering and now i understand, and seems so logical
    THANKX AGAIN
    See more | Go to post

    Leave a comment:


  • cozsmin
    started a topic sleep() Problem
    in Java

    sleep() Problem

    Hy i`m new to java ,studin it for 3 months;
    I got a code here ; works fine , no errors , but has a weird behavior
    here is the code :



    Code:
     import java.awt.*; 
    import javax.swing.*;
     
     
    public class MultiThread {
     
     
     
    	public static void main (String []args) {
     
    		Frame frame = new Frame("Frame");
     
    		Frame frame2 = new Frame("Frame
    ...
    See more | Go to post
No activity results to display
Show More
Working...