Ustawianie karety na początek przepisu/składników
This commit is contained in:
@@ -12,10 +12,6 @@
|
|||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
|
|
||||||
>>>>>>> 14475fcaec8b30c2ab4f67d516c37d8d120c74b1
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
|||||||
@@ -75,6 +75,9 @@ public class Cookbook {
|
|||||||
System.err.println("Blad przy wstawianiu przepisu");
|
System.err.println("Blad przy wstawianiu przepisu");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return false;
|
return false;
|
||||||
|
} catch (IOException e) {
|
||||||
|
System.err.println("Blad buforowania zdjecia");
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ public class RetrieveData extends FrmMain{
|
|||||||
txtDescription.setText(myRecipe.getDescription());
|
txtDescription.setText(myRecipe.getDescription());
|
||||||
txtTags.setText(myRecipe.getTags());
|
txtTags.setText(myRecipe.getTags());
|
||||||
imgRecipe.setIcon(myRecipe.getImage());
|
imgRecipe.setIcon(myRecipe.getImage());
|
||||||
|
txtDescription.setCaretPosition(0);
|
||||||
|
txtIngredients.setCaretPosition(0);
|
||||||
myCb.closeConnection();
|
myCb.closeConnection();
|
||||||
}
|
}
|
||||||
public static void addNewRecipe(){
|
public static void addNewRecipe(){
|
||||||
|
|||||||
Reference in New Issue
Block a user