Setting the image size within a JFrame!
This is the code i have implemented
import javax.swing.*;
import java.awt.*;
class SampleJFrame extends JFrame
JLabel l1;
ImageIcon image;
SampleJFrame()
image=new ImageIcon("G:/java files1/images/aa.jpg");
l1=new JLabel("DEDICATION",image,JLabel.RIGHT);
l1.setSize(100,100);
//this.setLayout(new FlowLayout(FlowLayout.RIGHT));
this.add(l1);
public class JFrame2
public static void main(String args[])
SampleJFrame samplejframe=new SampleJFrame();
samplejframe.setTitle("FRAMES WITH JLABELS WITH IMAGEICON");
samplejframe.setSize(400,400);
samplejframe.setVisible(true);
}When i run this the image occupies the entire JFrame.I want to resize it to a width of around 100,80 pixels.How can i do it?
I know when i draw a image without linking to a label i can use drawImage of Graphics class to set the size of the image.But in this case i am linking the image to the JLabel and it's occupying the entire screen and the text with the JLabel is thrown somewhere out.
Read it.Got a lot of info from that.But the trouble with mine is that i am linking the image to the JLabel and thats why i am unable to set its size because the image will be added to the JPanel when i add the JLabel to it?If i was directly printing the image i would have rather used Graphics.drawImage( ) where i can manually specify the width.
Similar Messages
-
How Do You Set the Maximum Size of a JFrame?
Can someone show me a quick example? The JFrame can be empty, I just want to know how to set it's maximum size. I tried using setMaximumSize() and it doesn't work for some reason but setMinimumSize() works fine.
I tried it using a BoxLayout and even using null as a layout manager and can't get it to work. I heard that the other layout managers don't allow you to set the maximum size of a JFrame so that is why I tried it with the layouts that I did.
I tried the following code (imported the necessary classes), but it does not work...
public class MyFrame extends JFrame
public MyFrame()
super("TestFrame");
setLayout( new BoxLayout(getContentPane(), BoxLayout.X_AXIS) );
setMaximumSize( new Dimension(400,200));
setSize(300,150);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible( true );
}// end classReposted from
{color:#0000ff}http://forum.java.sun.com/thread.jspa?threadID=5236259{color}
@OP:
When you repost a topic, please always provide a link to the previous post so people can check what suggestions were already offered (and didn't solve the problem).
Better still, give a short summary of the advice you have already tried.
I suggested setBackground(...) so you can see whether your MyFrame is actually occupying the entire real estate of the window. Looks as if trying it out (which I would have done for you if I'd been at home, where my JDK is) would have been too much effort for you.
I'm pretty much a novice in Swing, but I can tell you this: setLayout controls the layout of components added to the JFrame, not the layout of the frame with respect to its parent container.
Luck, Darryl -
How to set the cell size in a JFrame
Hello. Is there any way of setting the cell size in a JFrame. The reason why I want to set the cell size is that I want to be sure of their location that when I am placing components on the JFrame. So is there any way of setting the cell size beforehand. Also for the following code.
JFrame frame = new JFrame("Window");
frame.setSize(100,100);is the size 100 by 100 is he size of the cell?smithbrian wrote:
When I am placing a component on the grid I want to be sure the component is exactly where I place it. In order to do that I would need to know what is the size of the gird and how to change the size of the gird in the JFrame.What grid?? You're assuming that we know much more about your program than we actually do. We actually know zip. Please read this help site which will help you to avoid similar errors in posting questions here. It has helped me in the past: [smart questions|http://www.catb.org/~esr/faqs/smart-questions.html] -
Unable to set the image size interms of percentage
Hi Friends,
In my webdynpro application I am using IWDImage, I need to set the height and width of that image interms of percentage ratherthan pixels. I gave 50% for both height and width but I was not unable to get the image. While setting size of the image by number of pixels I am able to get the image.
Could you people please tell me why I am unable to get the image while setting the image size interms of percentage.
Thanks in advance,
Sandeep Kumar Bonam.Hi sandeep,
I tried that by giving %, its working fine.
try once again...
how are u doing that....
otherwise u try with different heights and widths... -
I am using PS Touch from my tablet . I am importinga photo from an SD card . When all editing is completed I then send it wireless from the tablet via Epson I print to the printer. It all works great except that part of the photo at each end is cut off and does not print. I am printing on 8.5 x11 paper.
How do I convert the image size in PSTouch frm pixels to inches?Epson's iPrint has always been an oddball. It will always "zoom in" on an image to print even if you have the proper dimensions and resolution set for actual print size. I think other users have reported this, at least on Android.
You can't have PS Touch show inches instead of pixels at this time but you can use an online website to find out what you need to fit within a particular resolution. (Google "pixels to inches calculator".) -
Cannot set the initial size of nested JFrame in NetBeans 5.5.
For some background; I'm trying to design a small configurable, multi-market clock for Traders of foreign currency. Several international market times will be displayed and each will change color as that market opens and closes. The user will be able to select specific foreign markets and configure several options such as color and size.
I was trying to use a JFrame for the initial window and an undecorated JFrame to hold the clocks and their labels. In the GUI builder for the initial JFrame, I dragged a JFrame and dropped it outside the original to add an (other Component). My problem is that I can't set the prefereedSize or the minimumSize properties for the nested JFrame. When I run the program, a button sets the second JFrame visible but at (0,0) size which when undecorated is invisible, and when decorated shows only the Min/Max/Close buttons. Am I just going about this all wrong or is this a bug
I am running Java Version 1.5.0 (build 1.5.0_08-b03)
RickI have tried to use several different components but I have not been able to get them to appear as a component, undocked from the main window.
Another idea that I tried was to have the whole program run from the same frame and then just set the window as undecorated and hide the menu bar. Unfortunately decorated state cannot be changed after it is displayable or packed. Besides that, how do you then make it moveable when there is no title bar? So many questions? Any other suggestions? -
How would I set a specific image size to my photo, not an aspect ratio, but a specific image size such as 8"X9" ? I need this feature when I shoot tethered and have the specific size of a layout to adhere to an want to make sure my crop fits the layout perfectly, Thanks
Jim gave you the RIGHT answer on how Lightroom works with crop size but if you want to see a 8x9 box on the screen you can create an overlay and then you will not have to have the crop tool turned on.
Layout Overlay view > Martin Evening on Importing Photos in Adobe Photoshop Lightroom 4
Lightroom 4 Layout Overlay Options - YouTube -
How to set the minimum size of a JFrame.
I can user JFrame.setMinimumSize() method with jdk1.6.0. But I can't find this method in jdk1.4.2. How can I do this with jdk1.4.2?
Try google:
http://www.google.com/search?q=jframe+minimum+size -
Hi,
Searched the forums for the answer to these but couldn't find much.
1. Is there a way to change the image size within a cell (under print module). For example, zoom in 140% on a a specific image but still have it within the original cell size?
2. Say I create and fill in an elaborate print template with my images - is there a way to save the FILLED IN version of the template to edit at a later time? For example if I wanted to load it back up w/ all the original images layed out in the print template, but maybe change a few and resave as jpeg?
Thank you!Hi
I'm not sure but maybe you can use a rectangle to hold the .ai image, resize the rectangle and fit proportionally the image inside it
hope this help
Eli -
Do you know if it's possible on an iPad to set the image quality/size or do we just have the one size - the photos I've taken, work out at approx 8 x 6cm @300ppi - not that big!
8cm * (1 in/2.54cm) * 300 dpi = 944 pixels (should be 1280 if this is the back camera)
6cm * (1in/2.54cm) * 300 dpi = 708 pixels (should be 720 if this is the back camera)
The back camera on iPad 2 is 1280x720 = 0.92Mp. No way to increase that. -
How to set the fix size jframe window
when I run the jframe ,the jframe window size is very small
1)how to set the fix size jframe window??
2)how to set the jframe cannot change the window size??
thx~~1. You can set the size by calling JFrame's method setSize. There are two versions of this method: (1) setSize(int width, int height) and (2) setSize(Dimension d). Note, that when you use this method to set the frame size, you don't have to call JFrame's pack method.
2. JFrame has a method called setResizable(boolean resizable) which you can call with the argument false.
Without any ill intent, these questions are regarding something that is very easily answered by looking at the documentation for the JFrame class. I suggest to anyone working with swing to at least look briefly through the base classes they're extending before giving up. In my experience it is always more gratifying to figure things out on my own than asking someone. But please don't take this the wrong way, I respect people who seek out help in order to further their knowledge, instead of just giving up. -
JTextField - Setting the column size doesn't work. Help, please.
Hi,
I want to set the column size of a text field from another text field by the input from the user. However, it just doesn't work. The following is my code. Just check out the last anonymous inner class action listener. Somehow i can get the user text, but it just doesn't work.
Thanks for any helpful inputs.
* Introduction to Java Programming: Comprehensive, 6th Ed.
* Excercise 15.11 - Demonstrating JTextField properties, dynamically.
* @Kaka Kaka
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.LineBorder;
import javax.swing.border.TitledBorder;
public class Ex15_11 extends JFrame{
// Create two text fields and three radio buttons
private JTextField jtfUserText = new JTextField(10);
private JTextField jtfColumnSize = new JTextField(new Integer(10));
private JRadioButton jrbLeft = new JRadioButton("Left");
private JRadioButton jrbCenter = new JRadioButton("Center");
private JRadioButton jrbRight = new JRadioButton("Right");
public static void main(String[] args){
Ex15_11 frame = new Ex15_11();
frame.pack();
frame.setTitle("Excercise 15.11 - Text Field Property");
frame.setLocationRelativeTo(null);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
// Start of Constructor
public Ex15_11(){
// Set the the frame layout
setLayout(new BorderLayout(5, 5));
// Create three panels and two labels
JPanel jpText = new JPanel();
JPanel jpHorizontalAlignment = new JPanel();
JPanel jpColumn = new JPanel();
JLabel jlblTextField = new JLabel("Text Field");
JLabel jlblColumn = new JLabel("Column Size");
// Create a button group for the radio buttons to be grouped
ButtonGroup group = new ButtonGroup();
// Group the radio buttons
group.add(jrbLeft);
group.add(jrbCenter);
group.add(jrbRight);
// set a titled border for a panel
jpHorizontalAlignment.setBorder(new TitledBorder("Horizontal Alignment"));
// Create a line border
Border lineBorder = new LineBorder(Color.BLACK, 1);
// the all the components to their corresponding panels
jpText.add(jlblTextField);
jpText.add(jtfUserText);
jpHorizontalAlignment.add(jrbLeft);
jpHorizontalAlignment.add(jrbCenter);
jpHorizontalAlignment.add(jrbRight);
jpColumn.setBorder(lineBorder);
jpColumn.add(jlblColumn);
jpColumn.add(jtfColumnSize);
// add the panels to the frame
add(jpText, BorderLayout.NORTH);
add(jpHorizontalAlignment, BorderLayout.WEST);
add(jpColumn, BorderLayout.EAST);
jrbLeft.addActionListener(new ActionListener(){
// Handle event
public void actionPerformed(ActionEvent e) {
jtfUserText.setHorizontalAlignment(SwingConstants.LEFT);
jrbCenter.addActionListener(new ActionListener(){
// Handle event
public void actionPerformed(ActionEvent e) {
jtfUserText.setHorizontalAlignment(SwingConstants.CENTER);
jrbRight.addActionListener(new ActionListener(){
// Handle event
public void actionPerformed(ActionEvent e) {
jtfUserText.setHorizontalAlignment(SwingConstants.RIGHT);
// Register the listener for the coloum size
jtfColumnSize.addActionListener(new ActionListener(){
// Handle event
public void actionPerformed(ActionEvent e) {
System.out.println(Integer.parseInt(jtfColumnSize.getText()));
jtfUserText.setColumns(Integer.parseInt(jtfColumnSize.getText()));
}Edited by: ChangBroot on Dec 16, 2008 6:13 PMdon't forget to revalidate the JPanel after changing the components it holds:
jtfColumnSize.addActionListener(new ActionListener()
// Handle event
public void actionPerformed(ActionEvent e)
System.out.println(Integer.parseInt(jtfColumnSize.getText()));
jtfUserText.setColumns(Integer.parseInt(jtfColumnSize.getText()));
jpText.revalidate();
});This will tell the jpText JPanel's layout manager to relayout the components that this JPanel holds. It should resize your JTextField. Note that in order to call this from within the anonymous inner ActionListener jpText will need to be declared "final". Either that or declared as a class field. -
How to find out the image size?
How to find out the image size values(Width and height) in illustrator CS3 using any script. I tried but i got only the document height and width. I need to find out the image BoundingBox value of width and height. Kindly advice me.
Try this.
tell application "Adobe Illustrator"
set heightImage to get height of raster item 1 of current layer of current document
set widthImage to get width of raster item 1 of current layer of current document
display dialog (heightImage & " X " & widthImage) as string
end tell
JaiMS -
PS 6 locks up when I try to use the image size tool
My system is Windows 8.1 64 bit
All the other tools seem to be working OK.
When I try to use the image size tool PS just locks up and the only way to exit the program is using Task Manager??
Adobe Photoshop Version: 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00) x64
Operating System: Windows NT
Version: 6.2
System architecture: Intel CPU Family:6, Model:12, Stepping:3 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 4
Processor speed: 3193 MHz
Built-in memory: 8098 MB
Free memory: 5146 MB
Memory available to Photoshop: 7079 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: GeForce GTX 960/PCIe/SSE2
Display: 2
Display Bounds:= top: 0, left: 0, bottom: 1080, right: 1920
Display: 1
Display Bounds:= top: 0, left: -3840, bottom: 2160, right: 0
Video Card Number: 1
Video Card: NVIDIA GeForce GTX 960
OpenCL Unavailable
Driver Version: 9.18.13.4788
Driver Date: 20150313000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 3840 x 2160 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GTX 960
Video Card Memory: 2048 MB
Video Rect Texture Size: 16384
Serial number: 92628972888245698235
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\Owner\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 111.8G, 37.8G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/06/26-12:17:19 4.0.95 66.510504
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 13.0.1 (13.0.1.3 x001)
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0.1 (13.0.1.3 x001)
Bas Relief 13.0
BMP 13.0
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0.1 (13.0.1.3 x001)
Clouds 13.0.1 (13.0.1.3 x001)
Collada 13.0.1 (13.0.1.3 x001)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0.1 (13.0.1.3 x001)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Dicom 13.0
Difference Clouds 13.0.1 (13.0.1.3 x001)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0.1 (13.0.1.3 x001)
Embed Watermark 4.0
Entropy 13.0.1 (13.0.1.3 x001)
Extrude 13.0
FastCore Routines 13.0.1 (13.0.1.3 x001)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.0.1 (13.0.1.3 x001)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.0.1 (13.0.1.3 x001)
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Kurtosis 13.0.1 (13.0.1.3 x001)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0.1 (13.0.1.3 x001)
Maximum 13.0.1 (13.0.1.3 x001)
Mean 13.0.1 (13.0.1.3 x001)
Measurement Core 13.0.1 (13.0.1.3 x001)
Median 13.0.1 (13.0.1.3 x001)
Mezzotint 13.0
Minimum 13.0.1 (13.0.1.3 x001)
MMXCore Routines 13.0.1 (13.0.1.3 x001)
Mosaic Tiles 13.0
Multiprocessor Support 13.0.1 (13.0.1.3 x001)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0.1 (13.0.1.3 x001)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0.1 (13.0.1.3 x001)
Photocopy 13.0
Photoshop 3D Engine 13.0.1 (13.0.1.3 x001)
Picture Package Filter 13.0.1 (13.0.1.3 x001)
Pinch 13.0
Pixar 13.0.1 (13.0.1.3 x001)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0.1 (13.0.1.3 x001)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0.1 (13.0.1.3 x001)
Range 13.0.1 (13.0.1.3 x001)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0.1
Shear 13.0
Skewness 13.0.1 (13.0.1.3 x001)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0.1 (13.0.1.3 x001)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Standard Deviation 13.0.1 (13.0.1.3 x001)
Sumi-e 13.0
Summation 13.0.1 (13.0.1.3 x001)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
U3D 13.0.1 (13.0.1.3 x001)
Underpainting 13.0
Vanishing Point 13.0
Variance 13.0.1 (13.0.1.3 x001)
Variations 13.0.1 (13.0.1.3 x001)
Viveza 2 2.1.20.486
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.0.1 (13.0.1.3 x001)
WIA Support 13.0.1 (13.0.1.3 x001)
Wind 13.0
Wireless Bitmap 13.0.1 (13.0.1.3 x001)
ZigZag 13.0
Optional and third party plug-ins:
Analog Efex Pro 2 2.0.8.486
BackgroundFilter 2.2.20.486
Camera Raw 9.0
Camera Raw Filter 9.0
Color Efex Pro 4 4.3.20.486
Dfine 2 2.2.20.486
FineStructuresFilter 2.2.20.486
HDR Efex Pro 2 2.2.20.486
Hidden NO VERSION
HotPixelsFilter 2.2.20.486
Merge to HDR Efex Pro 2 2.2.20.486
Nik Collection Selective Tool 2.1.25.486
ShadowsFilter 2.2.20.486
Sharpener Pro 3: (1) RAW Presharpener 3.1.20.486
Sharpener Pro 3: (2) Output Sharpener 3.1.20.486
Silver Efex Pro 2 2.2.20.486
SkinFilter 2.2.20.486
SkyFilter 2.2.20.486
StrongNoiseFilter 2.2.20.486
Topaz Adjust 5 10.0
Topaz BW Effects 2 10.0
Topaz Clarity 10.0
Topaz Clean 3 10.0
Topaz DeJpeg 4 10.0
Topaz DeNoise 5 10.0
Topaz Detail 3 10.0
Topaz InFocus 10.0
Topaz Lens Effects 10.0
Topaz photoFXlab 10.0
Topaz ReMask 4 10.0
Topaz Simplify 4 10.0
Topaz Star Effects 10.0
Plug-ins that failed to load: NONE
Flash:
Adobe Watermark
Mini Bridge
Kuler
Installed TWAIN devices: NONEWhat images? What sizes? What does the system event log say?
Mylenium -
How to set a minimum size of a JFrame
hi freinds,
i have written a swing application which starts like this ,
public class workerclass extends JFrame implements ActionListener {
blah blah blah ..
now can you please tell me how to set a minimum size for this application once it starts so that user cant minimize it more than that minimum size.....
when i tried
setDefaultLookAndFeelDecorated(true);
it did my job by setting it to a particular size which wasnt minimizable, but this default look and feel looked ugly.
so i used system look and feel
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
but with this how do i set the minimum size..
please do help
and one thing more , like
in my main Method when i say
new workerclass().setSize(500,500); or say(100,100) or say(300,300)
new workerclass().setVisible(true);
the size (***,***) , doesnt reflect when my application starts, it always starts with some damn fixed size , what can be the issue .
waiting.........
Thankshow do i set my Jrame to a minimum size so that
minimizing beyond that can be restrictedThis is what the code is all about
don't know your code but ..
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class workerclass extends JFrame implements
ActionListener,ComponentListener {
public void initcomponenet()
setJMenuBar();
pack();
addComponentListener(this);
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new myclass.setSize(500,500);
new myclass().setVisible(true);
public void componentShown(ComponentEvent e)
public void componentResized(ComponentEvent e)
if(getWidth()<200)//restrict width to minimum 200
setSize(200,getHeight());
if(getHeight()<100)//restrict Height to minimum
um 100
setSize(getWidth(),100);
public void componentMoved(ComponentEvent e)
public void componentHidden(ComponentEvent e)
Thanks kanad , your code is working ... you desere lot more than a duke dollar but for now i can only give that :-( , please accept it :-)
Maybe you are looking for
-
I have a couple thousand pictures in iphoto divided into several folders. While working with them the images disappeared and are only represented by dotted outlines where the picture was. Events are also represented this way. When the cursor is run a
-
Zen Vision: M 30GB...proble
I had just?installed my Zen Vision: M and everything was working as it should. I then attempted to transfer almost 900 songs. It was taking a long time, but it was working. But, then it just stopped transfering. A good 600 songs were successfully tra
-
Problems with using get_file_name() in Web Forms 6i
Is there're any alternative of using get_file_name() in tree tier environment for using in middle tier or client in forms 6i. Could anyone suggest Jbean from your own collection to make it? get_file_name() : Displays the standard open file dialog box
-
System Validation task and orc status X
Hi All, we noticed on some accounts where a resource status is Enabled but the orc status is X. even when we try to force them to C the X always seems to come back somehow. the only thing we can find is that for all of these at one time the System Va
-
3F0 Error Appears when UEFI is Enabled [Please Reply Urgent]
Hi, I got this 3F0 error even though my HDD is Healthy not faulty. I brought this PC a month ago *If i boot in Legacy Mode, i dont get this error and the system boots normally *If i boot in UEFI mode, i get the 3F0 Error Please help, i really want UE