User Profile

Collapse

Profile Sidebar

Collapse
Himzi
Himzi
Last Activity: Apr 6 '10, 09:19 PM
Joined: Jul 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Himzi
    started a topic converting webpage to image
    in Java

    converting webpage to image

    Hi,
    I am trying to convert an HTML to an image but the image that gets generated doesnt contain the images in that webpage.
    my code is :-
    Code:
    Import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import java.io.File;
    import java.io.IOException;
    ...
    See more | Go to post

  • Himzi
    started a topic wireshark tcp out of order packets

    wireshark tcp out of order packets

    Hi,
    I have some tcp packets which i am analysing using wireshark and tcptrace.
    The results shown by the two are totaly different.
    The tcptrace shows no out of order packets where as wireshark shows out of order packets.

    The packets are captured with some virtual router where there is a lot of retransmissions .
    Can someone please help me understand why there is a difference in the results shown by the 2 ?...
    See more | Go to post

  • Himzi
    replied to javascript is opening 2 pop up windows
    [HTML]<html>
    <frameset cols="20%,*" frameborder="NO " border="0" framespacing="0 " rows="*">
    <frame name="logoFrame " scrolling="NO" noresize src="logoframe. htm">
    <frame name="topMenu" src="/servlet/Menu">
    </frameset>
    </html>
    [/HTML]

    ...
    See more | Go to post
    Last edited by gits; Sep 21 '08, 09:27 AM. Reason: use [code]-tags correct

    Leave a comment:


  • Himzi
    replied to writing integer to file in java
    in Java
    You maye need something like this :

    [code=java]

    File file= new File("numberfil e");
    PrintStream pin = new PrintStream(new BufferedOutputS tream(newFileOu tputStream(file .toString(), true)),true);
    System.setOut(p in);
    for(i=0;i<arrsi ze;i++)
    {
    System.out.prin tln("the number is "+arr[i]);
    }

    [/code]
    See more | Go to post
    Last edited by JosAH; Sep 18 '08, 06:18 PM. Reason: fixed the [code] tags

    Leave a comment:


  • Himzi
    started a topic javascript is opening 2 pop up windows

    javascript is opening 2 pop up windows

    Hi,
    I am using window.open() in my code to open a pop up window. This code works fine on IE but on Mozilla it opens 2 pop up windows. The first one is blanks and the open one has the needed data in it.
    I cant figure out why this is happening. Can some one please help?

    Thanks,
    Himzi
    See more | Go to post

  • Himzi
    replied to limiting the drag drop area
    This is the drag method i coded :


    [CODE=javascript]var dragobject={
    z: 0, x: 0, y: 0, offsetx : null, offsety : null, targetobj : null, dragapproved : 0,
    initialize:func tion(){
    document.onmous edown=this.drag
    document.onmous eup=function(){ this.dragapprov ed=0}
    },
    drag:function(e ){
    var evtobj=window.e vent? window.event : e
    this.targetobj= window.event? event.srcElemen t : e.target...
    See more | Go to post
    Last edited by acoder; Jul 18 '08, 05:45 PM. Reason: Added [code] tags

    Leave a comment:


  • Himzi
    started a topic limiting the drag drop area

    limiting the drag drop area

    Hi,
    I have made a webpage with 3 divs and have put images / text on these pages which can be dragged. I want to limit the area in which the user can drag the text. The user will be allowed to drag the text from the left div to the center div but not the right div. Can some one please help me understand how this can be done?

    Thanks,
    Himzi
    See more | Go to post

  • Himzi
    replied to drag and drop image/text across frames
    I guess that means i need to redesign my application and use divs instead of frames. Thanks for the response!!

    Regards,
    Himzi
    See more | Go to post

    Leave a comment:


  • Himzi
    started a topic drag and drop image/text across frames

    drag and drop image/text across frames

    Hi ,
    I am trying to create a webpage. It has 3 frames (left, middle and right). I want to be able to drag images from the left and the right frame into the middle frame. Each time i try to drag an image from one frame to another , the image just disappears. Can some one please tell me how this can be done?

    Thanks,
    Himani
    See more | Go to post
No activity results to display
Show More
Working...