Hello,
I'm experimenting with Walter Zorn's graphics library (http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm). I wonder if there is a way how to draw ellipses that are not axis aligned. I've found a demo of rotation there too (http://www.walterzorn.com/jsgraphics/demos/animarc.htm), but...
Thanks for the hint but it doesn't solve the problem. I did try it before and I only get "object doesn't support this method" error.
The solution lies somewhere else.
Hi,
I'm trying to send an e-mail with an attachment via JMAIL.
set msg = Server.CreateObject("JMail.Message")
msg.Logging = true
msg.Silent = true
msg.From = "someone@somewhere"
msg.AddRecipient "me@localhost"
msg.Subject = "a bad try"
msg.Body = "didn't work, did it?"
msg.Charset =...
One more thing. I am not able to make JFileChooser to work in ActionListener.
package morseovka;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class test {
public static void addComponentsToPane(Container pane) {
pane.setLayout(null)...
My fault, I should've checked that. Anyway, it's working ... finally :)
Thank you very much for your time and patience with my stupid questions.
Have a nice day
G.
Strange, I got some errors reported at the end of the addActionListener function.
My complete code I use right now (red places are errors):
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class gui {
public static void addComponentsToPane(Container pane) {...
Well, I put your suggested code after addComponentsToPane function, but it says that identifier was expected in the line with "*.addActionListener(new ActionListener()&{", "new" is underlined.
I imported java.awt.event.*
I tried to fix it but I can't find a solution.
Hi,
I'm a newbie in Java, please be tolerant :)
I got the simplest code possible (absolute positioning):
import java.awt.Container;
import java.awt.Insets;
import java.awt.Dimension;
import javax.swing.JButton;
import javax.swing.JFrame;
public class AbsoluteLayoutDemo {
public static...
Hi,
I want to delete a file using this absolutely simple script:
path = "deleteme.txt"
set fso=Server.CreateObject("Scripting.FileSystemObject")
fso.DeleteFile path,true
It works without a problem on my webhosting server. But when I try it at home (WinXPPro, IIS 5.1), the browser obviously...
Hi,
is there any way how to put "i" variable from "for" cycle into an input name?
<html>
<head>
<script>
function change_rows() {
for (var i = 1; i < document.forma.rows.value; i++) {
document.forma.rowi.disabled = true
}
}
</script>
</head>
<body>
<form name="forma">
Number of...
Hi,
I've used a code for sending e-mail via mail() function which posted here a programmer "ignition" (thread434-153872).
This code succesfully send an e-mail message which (in Outlook) contains some attachments (jpg image in this case).
But, the image has only a few of bytes and...
Actually when I return value of result("columns") it returns integer - i dont know why ot doesnt work.
Anyway I've added the CInt function and I received quite different error: "Type difference: CInt"
Any other ideas?
Hi,
its quite stupid question i am afraid, but i cant solve it myself.
Using a variable from database query result("columns") shows an error - "Type difference: [String " "]" or something like that.
Here is my code:
For column = 1 To result("columns")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.