Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Page 1 of 2
1
2
>
Showing results 1 to 25 of 32
Search took
0.24
seconds.
Search:
Posts Made By:
icm9768
Forum:
Java and JSP
01-26-2009, 01:31 PM
Replies:
1
Simple Image Problem
Views:
934
Posted By
icm9768
I don't see you actually instantiating an...
I don't see you actually instantiating an ImagePanel anywhere and putting it in the frame. Try adding something like:
super("");
setSize(300, 300);
...
Forum:
Java and JSP
12-03-2008, 01:55 AM
Replies:
1
Simple Java App
Views:
1,045
Posted By
icm9768
When I run this, it seems to work fine although I...
When I run this, it seems to work fine although I did have to fix a typo in the code you posted:
Color mySytle=new Color(666);
I changed mySytle to myStyle.
I saw the string painted in black...
Forum:
Java and JSP
12-03-2008, 01:49 AM
Replies:
0
Image Interpolation - Need different approach
Views:
963
Posted By
icm9768
Image Interpolation - Need different approach
I'm having problems with built in Java image interpolation methods and haven't had any success finding a way to create my own, or using a different existing one. Basically I'd like to interpolate...
Forum:
Java and JSP
11-20-2008, 09:11 PM
Replies:
5
16 bit floating point (Half)
Views:
6,076
Posted By
icm9768
5 points of precision would be sufficient but it...
5 points of precision would be sufficient but it would be cool to have a variable number of points. I'd be willing to help you out, but I'm not very familiar with the inner workings of fp type math.
Forum:
Java and JSP
11-20-2008, 05:55 PM
Replies:
5
16 bit floating point (Half)
Views:
6,076
Posted By
icm9768
I have a very high data rate coming in off the...
I have a very high data rate coming in off the socket of floating point data. Values will always be between -0.5 and 0.5 so 32 bits seemed like overkill. I could always just multiply values by 10 (or...
Forum:
Java and JSP
11-19-2008, 10:51 PM
Replies:
5
16 bit floating point (Half)
Views:
6,076
Posted By
icm9768
16 bit floating point (Half)
After googling around for a while, I haven't been able to find anything helpful about an implementation of a 16-bit floating point type for Java. Does anyone know of any sites that might help me out?
Forum:
Java and JSP
09-08-2008, 03:06 AM
Replies:
2
Append digit to end of variable
Views:
1,528
Posted By
icm9768
A fairly straight forward approach would be to...
A fairly straight forward approach would be to multiply your existing number by 10 and then add the new digit.
So in your example below the user enters 5. Since your initial number would be zero...
Forum:
Java and JSP
08-15-2008, 03:57 AM
Replies:
5
Explain static
Views:
1,742
Posted By
icm9768
It would be Student.getStudentNum(). Static...
It would be Student.getStudentNum(). Static variables are shared among ALL instances of the class so it doesn't require you to reference it via any particular instance (bob in your case), nor should...
Forum:
Java and JSP
05-01-2008, 05:52 PM
Replies:
1
repaint?
Views:
1,436
Posted By
icm9768
Try calling validate() on your container.
Try calling validate() on your container.
Forum:
Java and JSP
04-08-2008, 05:22 AM
Replies:
1
drawing signal in java applet
Views:
2,000
Posted By
icm9768
What you need is a basic tutorial in Java2D. With...
What you need is a basic tutorial in Java2D. With it, you can draw virtually anything you need, including a signal structure. There are many tutorials available. Here's a link to Sun's 2D trail:
...
Forum:
Java and JSP
04-08-2008, 05:08 AM
Replies:
1
JMenuBar with Canvas
Views:
1,976
Posted By
icm9768
The problem you're encountering is mixing...
The problem you're encountering is mixing lightweight(JMenuBar) and heavyweight(Canvas) components. A common issue but it's easily correctable. Use the JPopupMenu.setLightWeightPopupEnabled() method....
Forum:
Java and JSP
03-27-2008, 05:56 AM
Replies:
1
how to save input from a text file in to array
Views:
1,824
Posted By
icm9768
Now that you're reading the file in okay you have...
Now that you're reading the file in okay you have multiple steps to take.
1) The first question I have is if you have to store your data in arrays or if you can use Vectors/ArrayLists. I don't see...
Forum:
Java and JSP
03-24-2008, 06:15 AM
Replies:
1
Help setting up input error checking
Views:
2,080
Posted By
icm9768
There are at least two basic ways of handling...
There are at least two basic ways of handling this. One is to use the Character.isDigit() method to check if each character that the user entered is in fact a digit. This would require that you parse...
Forum:
Computer Programming
02-29-2008, 06:41 PM
Replies:
1
Recursion Blues
Views:
718
Posted By
icm9768
Two things I notice off the top of my head when I...
Two things I notice off the top of my head when I looked at your code.
1) You're base case is missing a 'return' statement. This is what's giving you a stack overflow. You app will continue to...
Forum:
Java and JSP
02-28-2008, 03:52 AM
Replies:
1
Setting the content pane twice
Views:
1,136
Posted By
icm9768
Yes you can change it with the setContentPane()...
Yes you can change it with the setContentPane() method. Initially you would call the setContentPane method with you login panel and if the user want's to register then you call the same...
Forum:
Java and JSP
01-28-2008, 05:22 AM
Replies:
1
BigIntiger toByteArray
Views:
1,351
Posted By
icm9768
"\u0000" is a null terminator character. If you...
"\u0000" is a null terminator character. If you take the string "\u0000蚞ȊŽ" instead of "蚞ȊŽ" and convert that back to a BigInteger then you will see that you've recreated your original number....
Forum:
Java and JSP
01-23-2008, 10:35 PM
Replies:
3
Thread.currentThread().
Views:
5,665
Posted By
icm9768
If the filename doesn't use an absolute path, it...
If the filename doesn't use an absolute path, it will look in the directory from which the application was launched. I believe this is stored in the system property "user.dir" but I could be wrong.
...
Forum:
Java and JSP
01-23-2008, 04:45 AM
Replies:
3
Thread.currentThread().
Views:
5,665
Posted By
icm9768
Answers to your questions: 1) Every...
Answers to your questions:
1) Every application is inherently single threaded. Every time an application is kicked off it is running in it's own thread so the static call to Thread.currentThread()...
Forum:
Java and JSP
01-22-2008, 05:23 AM
Replies:
1
how to set system date using java
Views:
8,015
Posted By
icm9768
Look into using the Process class to execute a...
Look into using the Process class to execute a command you might use on the command line (DATE in your case). Small tutorial that you can use to get you started is at:...
Forum:
Java and JSP
01-22-2008, 05:10 AM
Replies:
1
Why the button 9 is not displaying properly ?
Views:
1,134
Posted By
icm9768
Not sure why it's doing that, but there's a...
Not sure why it's doing that, but there's a pretty easy fix. Just create a JPanel with a grid layout of 3 x 3 and add the buttons to that. Then after the loop, add that panel to the frame and your...
Forum:
Java and JSP
10-05-2007, 12:53 AM
Replies:
0
JOGL vs. Java2D
Views:
2,017
Posted By
icm9768
JOGL vs. Java2D
Does anyone have any statistics or experience with performance gains between Java2D and JOGL? I havn't been able to find any definitive kinds of figures that show if one is better than the other.
...
Forum:
Java and JSP
06-01-2007, 04:27 PM
Replies:
0
Slow copyArea Operation
Views:
1,042
Posted By
icm9768
Slow copyArea Operation
I have a JPanel that scrolls an image across the screen in any given direction, as new data is collected. When new data comes in, I use copy area to move the existing image to the right, left, up, or...
Forum:
Computer Programming
02-14-2007, 04:49 PM
Replies:
6
ArrayIndexOutOfBoundsException
Views:
1,198
Posted By
icm9768
I can't help you with the serial communication...
I can't help you with the serial communication aspect like why your transmitted data isn't always what you expect but to create a delay I'd use the Thread.sleep( int millis ) method rather than the...
Forum:
Computer Programming
02-13-2007, 05:59 PM
Replies:
6
ArrayIndexOutOfBoundsException
Views:
1,198
Posted By
icm9768
Based on what objects you're putting into your...
Based on what objects you're putting into your ComboBox (i.e. "30" and "50") you're still accessing too many indices in your WriteParamToPic method.
Your parameter will be either "c30" or "c50",...
Forum:
Java and JSP
02-24-2006, 03:05 PM
Replies:
0
Java Paint Problems
Views:
1,156
Posted By
icm9768
Java Paint Problems
Im having some painting problems involving a BufferedImage. Every once in a while, only part of the image will show up as if the entire image wasn't drawn. I need to eliminate this flickering effect....
Showing results 1 to 25 of 32
Page 1 of 2
1
2
>
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
08:16 PM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.