User Profile

Collapse

Profile Sidebar

Collapse
sumuka
sumuka
Last Activity: Dec 19 '07, 08:46 AM
Joined: Oct 4 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sumuka
    replied to problem in creating .hdf file in java....
    in Java
    No HDF is Hirarchical Data Format...
    See more | Go to post

    Leave a comment:


  • sumuka
    started a topic problem in creating .hdf file in java....
    in Java

    problem in creating .hdf file in java....

    Hello,

    I'm doing a project in java and i'm supposed to create a HDF file in order to store the data and retrieve it back whenever needed . Can anybody help me to create and give me examples ASAP.....

    Thanks in advance,
    See more | Go to post

  • Thanks for replying .
    But i need to assign the values of s and t which i've used in the for loop .
    I need to assign the values of s and t to this array and then display.

    Please help.......
    See more | Go to post

    Leave a comment:


  • Problem in assigning values to 2-dimensional arrays...

    Hello,

    I'm doing a project in java and im not able to assign the values which are got from for loop to the 2-dimensional array.
    Can anyone tell me how to assign the values and print them?

    the code is:
    Code:
                               gr.getGridArray();
    	           for (int s=0;s<=NoOfElevations;s++)
    	        	   for (int t=0;t<=NoOfElevations;t++)
    	        	   {
    ...
    See more | Go to post

  • sumuka
    replied to How to clear the image......
    in Java
    Thanks for replying .
    I tried it the XOR will reverse the color in the place where one image is drawn on another but i need to clear the inner part . After drawing im getting those dashed lines within the boundary of rectangle. I need only the outer boundary of rectangle. Please suggest me something.


    Thanks in advance,...
    See more | Go to post

    Leave a comment:


  • sumuka
    started a topic How to clear the image......
    in Java

    How to clear the image......

    Hello,

    I have a rectancle drawn on buffered image .This is a rubber rectangle which is drawn by dragging the mouse now after releasing the mouse button there remains a dashed lines within the rectangle i need to clear all those and retain only the outer boundary. So is there any method to do it ? I have no idea how to do it?

    Thanks in advance,
    See more | Go to post

  • Need to draw spiral within dynamically changing rectangle....

    Hello,

    I'm doing a java project in which I have a rectangle which is drawn by the user by dragging the mouse and hence the size of the rectangle can vary for each execution. Now i need to draw a spiral within the rectangle according to the size of the rectangle so that when ever the rect is bigger the spiral has to be bigger and when smaller the spiral size should change accordingly.How can i do this?

    Can anybody help...
    See more | Go to post

  • sumuka
    replied to How to check the bounds of a rectangle....
    in Java
    Thanks for replying . I'm using the rubber band technique to draw the rectangle and this is the code


    //
    Code:
    code goes here..
    
    
    .import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    
    public class Rubber1 extends Frame
    {
      int winWidth = 500;
      int winHeight = 500;
      boolean tracking = false; // left button down, sense motion 
      int startX
    ...
    See more | Go to post

    Leave a comment:


  • sumuka
    started a topic How to check the bounds of a rectangle....
    in Java

    How to check the bounds of a rectangle....

    Hello,

    I have a rectangle and when i click within the border of the rectangle the pop up menu has to be opened .But in my case where ever i click within the frame the menu bar is popping out so how to check the condition so that the pop up menu appears only when the user clicks within the rectangle border and the shape and position of rectangle can change for every execution.

    Can anybody Help me....

    Thanks...
    See more | Go to post

  • sumuka
    started a topic Problem in creating a menubar....
    in Java

    Problem in creating a menubar....

    Hello,

    Im not able to create a menu bar here can anyone tell me what the mistake is?

    This is the code


    class mousePressHandl er extends MouseAdapter
    {
    public void mousePressed (MouseEvent e)
    {
    int b, x, y;

    b = e.getButton();
    x = e.getX();
    y = e.getY();
    // System.out.prin tln("press x="+x+"...
    See more | Go to post

  • sumuka
    replied to Problem in drawing a rectangle in swings...
    in Java
    I read it but i'm not able to figure to my mistake.Plz anybody guide me .......
    See more | Go to post

    Leave a comment:


  • sumuka
    started a topic Problem in drawing a rectangle in swings...
    in Java

    Problem in drawing a rectangle in swings...

    Hello,

    I'm doing a project in java using swings ,im able to create a panel and frame but i have a problem in event handling.I have added the MouseMotionList ener but it's giving some error .Here i want to draw a rectangle when the user clicks and drags the mouse button and releases a rectangle has to be drawn.can somebody help me to debug the error ASAP.

    My code goes like this:

    import javax.swing.*;...
    See more | Go to post

  • sumuka
    started a topic drawing spiral shape...
    in Java

    drawing spiral shape...

    Hello,

    Can Anybody tell me how to draw a simple spiral in java ?

    Thanks in anticipation,
    See more | Go to post

  • sumuka
    replied to Drawing spiral in java.........
    in Java
    Thanks for replying
    I will try this out and get back to you if i need any help. :)...
    See more | Go to post

    Leave a comment:


  • sumuka
    replied to Flexgrid cell alignment...
    Thank you so much Veena !!!
    Its working absolutely fine.
    Thank you once again....
    See more | Go to post

    Leave a comment:


  • sumuka
    started a topic Flexgrid cell alignment...

    Flexgrid cell alignment...

    Hello,

    I have a flexgrid which has some data in it i'm able to align the column name to center but i'm not able to align the data within the cells to center .The data are placed to extreme right by default .How to align the data within the cells to center .
    Can Anyone help me out with this...

    Thanks in anticipation,
    See more | Go to post

  • sumuka
    replied to Drawing spiral in java.........
    in Java
    Thank you Jos for showing interest in my question.
    Now As you said when the user clicks and drags on the image a rectangle with a dotted lines has to be drawn once the user releases the mouse a spiral has to be drawn automatically within the rectangle and the dotted lines should disappear and when the user clicks on rectangle and moves it to the desired location the only the spiral has to be moved without any change to the background image....
    See more | Go to post

    Leave a comment:


  • sumuka
    started a topic Problem with vb modal...

    Problem with vb modal...

    Hello,

    I have 2 forms frm rule and frm type firstly the form rule will be opened which is a parent form after clicking on it form type(child form) will open but while closing the form i need the parent form to be closed first and then child form . can anyone help me out with this? I used vb modal but im not getting the result.

    frmrule.Show vbModal
    Unload frmrule
    Set frmrule = Nothing

    This...
    See more | Go to post

  • sumuka
    started a topic To check whether form is loaded....

    To check whether form is loaded....

    Hello,

    I'm doing a vb6 project in which i've a flexgrid and when the user clicks on the 3rd column 1st row a new form (frm.edit) will open and this form displays some data now when i want click the next row i will have to close the frm.edit.
    But i want to check whether the form is loaded and if it's loaded then i should be able to click on flexgrid's next row without closing the frm.edit but the values inside the frm.edit should...
    See more | Go to post

  • sumuka
    started a topic Drawing spiral in java.........
    in Java

    Drawing spiral in java.........

    Hello ,

    Im doing a java project in java 1.5 version and i need to draw the spiral . The problem is the user has to draw a box or rectangle of any size on an image and the central point of that box should be taken and a spiral should be drawn automatically starting from central point and also the box which they have drawn should be able to move and place it somewhere else in the picture. how to achieve this.

    Kindly help...
    See more | Go to post
No activity results to display
Show More
Working...